r26628: python: Add more documentation, simplify code in Samba3 module.
[ab/samba.git/.git] / source4 / scripting / python / samba / getopt.py
index 87cf171ca2de69f24b81da2afed01df8cfa514ab..c0e70530626eec5e1003dc82503ff613fe160eed 100644 (file)
@@ -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