From: Gustavo N. <me...@gu...> - 2008-09-09 11:25:29
|
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/ |