summaryrefslogtreecommitdiff
path: root/source4/scripting/python
diff options
context:
space:
mode:
authorAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2011-01-04 16:50:03 +0200
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2011-01-04 16:36:06 +0100
commit1cbce84683ef4fa49b85d87988c5e8db7057530a (patch)
tree351fc320cdedbfcf81924435a1368770cc04855c /source4/scripting/python
parent4ebf2f97459b4214748255aa1f40015f8dc511cc (diff)
downloadsamba-1cbce84683ef4fa49b85d87988c5e8db7057530a.tar.gz
samba-1cbce84683ef4fa49b85d87988c5e8db7057530a.tar.bz2
samba-1cbce84683ef4fa49b85d87988c5e8db7057530a.zip
s4/ldapcmp: Fix the parsing of the second set of credentials
We need this second set of credentials so we can do comparison between DCs in two different domains. Autobuild-User: Anatoliy Atanasov <anatoliy.atanasov@postpath.com> Autobuild-Date: Tue Jan 4 16:36:06 CET 2011 on sn-devel-104
Diffstat (limited to 'source4/scripting/python')
-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 1318457a80..1ecbda73a9 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, False)
+ creds2 = credopts.get_credentials2(lp)
if creds2.is_anonymous():
creds2 = creds
if not creds.authentication_requested():