Last change
on this file since 283 was
283,
checked in by mabarracus, 5 years ago
|
Copy trusty code to xenial
|
File size:
495 bytes
|
Rev | Line | |
---|
[283] | 1 | join_group=["join_group"] |
---|
| 2 | add_group=["add_group"] |
---|
| 3 | drop_group=["drop_group"] |
---|
| 4 | temp_file = open('/tmp/gesita_import','a') |
---|
| 5 | if NEVERLAND_VAR in join_group: |
---|
| 6 | # join_group |
---|
| 7 | temp_file.write("join;"+ARGV['group']['cn']+";"+ARGV['user']['uid']+"\n") |
---|
| 8 | elif NEVERLAND_VAR in add_group: |
---|
| 9 | # join_group |
---|
| 10 | temp_file.write("add;"+ARGV['group']['cn']+"\n") |
---|
| 11 | elif NEVERLAND_VAR in drop_group: |
---|
| 12 | # join_group |
---|
| 13 | temp_file.write("drop;"+ARGV['group']['cn']+";"+ARGV['user']['uid']+"\n") |
---|
| 14 | temp_file.close() |
---|
Note: See
TracBrowser
for help on using the repository browser.