mirror of
https://github.com/samba-team/samba.git
synced 2025-07-06 08:59:08 +03:00
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
This commit is contained in:
@ -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():
|
||||
|
Reference in New Issue
Block a user