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-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

Problem using ldaps with two different CA cert files

2008-09-10 Thread Rich Megginson
The following code does not work in a couple of different places: import sys import ldap, ldap.ldapobject ldap.set_option(ldap.OPT_DEBUG_LEVEL, 255) ldap.set_option(ldap.OPT_X_TLS_CACERTFILE, '/path/to/ca1.pem') conn1 = ldap.ldapobject.LDAPObject('ldaps://server1.domain:636') #conn1.set_option(lda