1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-07 12:59:08 +03:00

Revert "s4/ldapcmp: Fix the parsing of the second set of credentials"

This reverts commit 1cbce84683.
Wrong assumption about a segmentation fault
This commit is contained in:
Anatoliy Atanasov
2011-01-05 15:32:42 +02:00
parent 3f0db2e53b
commit 2e30897503

View File

@ -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():