Group Membership in Active Directory Query

kooch54 at gmail.com kooch54 at gmail.com
Wed Feb 7 13:27:04 EST 2007


On Feb 7, 11:56 am, Uwe Hoffmann <q... at tiscali.de> wrote:
> kooc... at gmail.com schrieb:
>
> > ldap_obj = ldap_obj.simple_bind_s('usern... at domain.company.com',
> >                                   'password')
>
> > AttributeError: 'NoneType' object has no attribute 'search_Ext_s'
>
> dummy = ldap_obj.simple_bind_s('usern... at domain.company.com',
>                                    'password')
> or better simply
> ldap_obj.simple_bind_s('usern... at domain.company.com',
>                                    'password')

First and foremost thanks for the feedback.  Although I don't
appreciate the slight dig at me.
dummy = ldap_obj.simple_bind......

I tried your second recommendation of using
 ldap_obj.simple_bind_s('usern... at domain.company.com','password')

Now I get the following error even after the bind operation seems to
complete successfully.
result = func(*args,**kwargs)
OPERATIONS_ERROR: {'info': '00000000: LdapErr: DSID-0C0905FF, comment:
In order to perform this operation a successful bind must be completed
on the connection., data 0, vece', 'desc': 'Operations error'}

Thanks again...




More information about the Python-list mailing list