summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python/samba/getopt.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-29 18:14:15 -0600
committerStefan Metzmacher <metze@samba.org>2007-12-29 12:21:04 -0600
commit6817c5d885a75a1af0e646827c3fa8220df8c7a5 (patch)
treed49c297734cf82bfc1fed1f8d742d13a885e4771 /source4/scripting/python/samba/getopt.py
parentac65321a46e93dbcfb95a4ec6361e7451e12d64c (diff)
downloadsamba-6817c5d885a75a1af0e646827c3fa8220df8c7a5.tar.gz
samba-6817c5d885a75a1af0e646827c3fa8220df8c7a5.tar.xz
samba-6817c5d885a75a1af0e646827c3fa8220df8c7a5.zip
r26628: python: Add more documentation, simplify code in Samba3 module.
(This used to be commit 3c329ee73d9979236313c37e51750ec06b8dd69e)
Diffstat (limited to 'source4/scripting/python/samba/getopt.py')
-rw-r--r--source4/scripting/python/samba/getopt.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/getopt.py b/source4/scripting/python/samba/getopt.py
index 87cf171ca2d..c0e70530626 100644
--- a/source4/scripting/python/samba/getopt.py
+++ b/source4/scripting/python/samba/getopt.py
@@ -58,7 +58,7 @@ class CredentialsOptions(optparse.OptionGroup):
self.creds.set_password(arg)
def set_simple_bind_dn(self, option, opt_str, arg, parser):
- self.creds.set_simple_bind_dn(arg)
+ self.creds.set_bind_dn(arg)
def get_credentials(self):
return self.creds