From 545932fda590d4c888c0f60fed7a36c1659f0018 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Wed, 8 Dec 2010 08:20:54 +1100 Subject: samba-tools: more reasonable defaults for samba-tool commands - fallback to machine account where possible - default to local hostname where this is reasonable --- source4/scripting/python/samba/netcmd/ldapcmp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4/scripting/python/samba/netcmd/ldapcmp.py') diff --git a/source4/scripting/python/samba/netcmd/ldapcmp.py b/source4/scripting/python/samba/netcmd/ldapcmp.py index 8bb1c8a8c72..1318457a80a 100755 --- a/source4/scripting/python/samba/netcmd/ldapcmp.py +++ b/source4/scripting/python/samba/netcmd/ldapcmp.py @@ -770,7 +770,7 @@ class cmd_ldapcmp(Command): two=False, quiet=False, verbose=False, descriptor=False, view="section", credopts=None, sambaopts=None, versionopts=None): lp = sambaopts.get_loadparm() - creds = credopts.get_credentials(lp) + creds = credopts.get_credentials(lp, fallback_machine=True) creds2 = credopts.get_credentials2(lp, False) if creds2.is_anonymous(): creds2 = creds -- cgit