Re: How to get a user's OUs

2008-09-10 Thread Gustavo Narea
Hello, On Wednesday September 10, 2008 09:21:24 Michael Ströder wrote: > > I need this because I'm using group-based authentication in my > > application. > >                                             ^^ > Authorization I guess. Right, sorry. > Please make yourself familiar with gr

Re: How to get a user's OUs

2008-09-10 Thread Michael Ströder
Gustavo Narea wrote: > > 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 >> en

Re: How to get a user's OUs

2008-09-09 Thread Gustavo Narea
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. Tha

Re: How to get a user's OUs

2008-09-08 Thread Michael Ströder
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