summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-10-01 03:30:50 +0300
committerKamen Mazdrashki <kamenim@sn-devel-104.sn.samba.org>2010-10-02 23:05:20 +0000
commit197a1514d62494cc8b862d169c841a26e04b8925 (patch)
tree5146290b2c4289555fe3c91e0700cd48a43d9bdd /source4
parentda0f3bd2291e561fd8b6f0fafd4bf6cb52dad722 (diff)
downloadsamba-197a1514d62494cc8b862d169c841a26e04b8925.tar.gz
samba-197a1514d62494cc8b862d169c841a26e04b8925.tar.bz2
samba-197a1514d62494cc8b862d169c841a26e04b8925.zip
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
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/devel/ldapcmp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/devel/ldapcmp b/source4/scripting/devel/ldapcmp
index 58b187a039..fdb87e8d28 100755
--- a/source4/scripting/devel/ldapcmp
+++ b/source4/scripting/devel/ldapcmp
@@ -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