[PATCH] Fix LDAP connection timeout during large join
Stefan Metzmacher
metze at samba.org
Thu Oct 18 06:57:31 UTC 2018
Hi Tim,
> + def refresh_ldb_connection(ctx):
> + try:
> + # query the rootDSE to check the connection
> + ctx.samdb.search(scope=ldb.SCOPE_ONELEVEL, attrs=["dn"])
> + except ldb.LdbError as e4:
> + (enum, estr) = e4.args
Shouldn't this use SCOPE_BASE?
metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20181018/02b08b6f/signature.sig>
More information about the samba-technical
mailing list