1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

s4-ldapcmp.py: Don't guess credentials for second Credentials object

This allow us to fallback to first credentials given.

Autobuild-User: Kamen Mazdrashki <kamenim@samba.org>
Autobuild-Date: Sat Oct  2 23:05:20 UTC 2010 on sn-devel-104
This commit is contained in:
Kamen Mazdrashki 2010-10-01 03:30:50 +03:00 committed by Kamen Mazdrashki
parent da0f3bd229
commit 197a1514d6

View File

@ -764,7 +764,7 @@ if __name__ == "__main__":
lp = sambaopts.get_loadparm()
creds = credopts.get_credentials(lp)
creds2 = credopts.get_credentials2(lp)
creds2 = credopts.get_credentials2(lp, False)
if creds2.is_anonymous():
creds2 = creds