python-ldap and updateref

Jens Vagelpohl jens at zope.com
Tue Dec 24 16:48:36 CET 2002


thanks a bunch, i am now getting the correct ldap.REFERRAL exception :)

jens


On Tuesday, Dec 24, 2002, at 10:34 US/Eastern, Michael Ströder wrote:

> Jens Vagelpohl wrote:
>> i know for a fact that the referral is not handled internally, the 
>> entry on the master never gets changed. at this point i am not 
>> entirely sure if my slave is indeed configured correctly.
>
> If you use
>
> conn.set_option(ldap.OPT_REFERRALS,0)
> conn.manage_dsa_it(0) # this is the default
>
> and your server is configured correctly you should get an exception of 
> class ldap.REFERRAL.
>
>> P.S.: frohe weihnachten ;)
>
> Ah, yes. :-)
>
> Merry Christmas to all the list members and a happy New Year.
>
> Ciao, Michael.
>





More information about the python-ldap mailing list