This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
sogodovecotldapandgroups [2016/02/02 22:08] – Add blank line. jim | sogodovecotldapandgroups [2016/02/05 12:44] (current) – Fix Python script. jim | ||
---|---|---|---|
Line 82: | Line 82: | ||
| | ||
for dn, entry in res: | for dn, entry in res: | ||
- | for g in entry[' | + | |
- | # Returns ' | + | |
- | # Fish out 'All UK staff' as group name. | + | # Returns ' |
- | groups.append(g.split(',', | + | # Fish out 'All UK staff' as group name. |
- | + | groups.append(g.split(',', | |
+ | | ||
+ | pass # User in no groups. | ||
+ | | ||
os.environ[" | os.environ[" | ||
try: | try: |