From: Sean O'C. <oco...@so...> - 2005-05-20 23:46:07
|
On Fri, 2005-05-20 at 17:09 -0500, Deepak Giridharagopal wrote: > On Thu, 2005-05-19 at 15:24 -0700, Sean O'Connell wrote: > > The results are invariably: > > > > initializing .. > > binding .. > > Sucessfully bound to AD > > searching .. > > {'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'} > > I was getting the exact same error. I fixed the problem by explicitly > disabling referral chasing in the OpenLDAP client libraries (for my > purposes, I didn't care about referrals). > > Before you call ldap.initialize, try: > > ldap.set_option(ldap.OPT_REFERRALS, 0) > > Cheers! > deepak > > -- > Deepak Giridharagopal Deepak- You rock! That definitely solved the problem (of course, it now means I have more work to do :). -- Sean |