From d0b9580893e4a9745ff9deccb032079d2e23db4d Mon Sep 17 00:00:00 2001 From: Fred Thomsen Date: Fri, 9 Apr 2021 15:44:46 -0400 Subject: [PATCH] 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 --- Doc/faq.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Doc/faq.rst b/Doc/faq.rst index 2152873b..492b95f2 100644 --- a/Doc/faq.rst +++ b/Doc/faq.rst @@ -65,6 +65,10 @@ connection.”* Alternatively, a Samba 4 AD returns the diagnostic message l = ldap.initialize('ldap://foobar') l.set_option(ldap.OPT_REFERRALS,0) + Note that setting the above option does NOT prevent search continuations + from being returned, rather only that ``libldap`` won't attempt to resolve + referrals. + **Q**: Why am I seeing a ``ldap.SUCCESS`` traceback as output? **A**: Most likely, you are using one of the non-synchronous calls, and probably