How to get a user's OUs
Hello, How can I retrieve the Organizational Units a user belongs to via python-ldap? I couldn't find this information in the docs, and search_s() doesn't seem to work for this. Thanks in advance. -- Gustavo Narea. http://gustavonarea.net/ Get rid of unethical constraints! Switch to Freedomware: http://softwareliberty.com/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Python-LDAP-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
Re: How to get a user's OUs
Gustavo Narea wrote: > > How can I retrieve the Organizational Units a user belongs to via python-ldap? This question is not very clear. Do you mean the attribute 'ou' of the user's entry or the ou-Container the user's entry is in? If you're working with AD it's probably the latter. Then it's the DN of the user's entry parent entry. Ciao, Michael. - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Python-LDAP-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
