summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2011-01-05 15:32:42 +0200
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2011-01-05 16:14:14 +0200
commit2e308975037560a7493620d9bd7dd604cff4e2a8 (patch)
tree0881486c2d8049fdeaa18e9544a55233d04db44e /source4
parent3f0db2e53bf0f30bf1e10b19d1493f3f94ec7433 (diff)
downloadsamba-2e308975037560a7493620d9bd7dd604cff4e2a8.tar.gz
samba-2e308975037560a7493620d9bd7dd604cff4e2a8.tar.bz2
samba-2e308975037560a7493620d9bd7dd604cff4e2a8.zip
Revert "s4/ldapcmp: Fix the parsing of the second set of credentials"
This reverts commit 1cbce84683ef4fa49b85d87988c5e8db7057530a. Wrong assumption about a segmentation fault
Diffstat (limited to 'source4')
-rwxr-xr-xsource4/scripting/python/samba/netcmd/ldapcmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/netcmd/ldapcmp.py b/source4/scripting/python/samba/netcmd/ldapcmp.py
index 1ecbda73a9..1318457a80 100755
--- a/source4/scripting/python/samba/netcmd/ldapcmp.py
+++ b/source4/scripting/python/samba/netcmd/ldapcmp.py
@@ -771,7 +771,7 @@ class cmd_ldapcmp(Command):
credopts=None, sambaopts=None, versionopts=None):
lp = sambaopts.get_loadparm()
creds = credopts.get_credentials(lp, fallback_machine=True)
- creds2 = credopts.get_credentials2(lp)
+ creds2 = credopts.get_credentials2(lp, False)
if creds2.is_anonymous():
creds2 = creds
if not creds.authentication_requested():