Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 25d0ca0

Browse files
authored
Add note to FAQ regarding search referrals
Several posts across the web in regards to this issue, so an additional note in the answer to this question seems warranted. Basing this answer on message this message in the mailing list: https://mail.python.org/pipermail/python-ldap/2014q1/003350.html #409
1 parent 2fb97af commit 25d0ca0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Doc/faq.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ connection.”* Alternatively, a Samba 4 AD returns the diagnostic message
6565
l = ldap.initialize('ldap://foobar')
6666
l.set_option(ldap.OPT_REFERRALS,0)
6767

68+
Note that setting the above option does NOT prevent search continuations
69+
from being returned, rather only that ``libldap`` won't attempt to resolve
70+
referrals.
71+
6872
**Q**: Why am I seeing a ``ldap.SUCCESS`` traceback as output?
6973

7074
**A**: Most likely, you are using one of the non-synchronous calls, and probably

0 commit comments

Comments
 (0)