Hello,

On Monday September 8, 2008 23:47:19 you wrote:
> 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.

Thanks for your answer, and sorry for not being clear.

Say I (dn: uid=gnarea,ou=directors,dc=example,dc=org) also belong to 
ou=sysadmins,dc=example,dc=org and ou=betatesters,dc=example,dc=org. How can I 
get the set of all the Organizational Units I belong to?

I'm looking for something that if I give the  
"uid=gnarea,ou=directors,dc=example,dc=org" DN, it returns a tuple/list made 
up of the items: 'directors', 'sysadmins' and 'betatesters'.

I need this because I'm using group-based authentication in my application.

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
Python-LDAP-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev

Reply via email to