diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-01-25 03:54:33 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-01-25 03:54:33 +0100 |
commit | dcb04065cda7fc7f23c494ec138af6b882651f20 (patch) | |
tree | 0117d543ffa8ba23b1ba1637cbe55c5ab09a4b4d /source4/scripting/python/samba/samdb.py | |
parent | c28c683208aad1a136c8c6decc3297bf1995aa90 (diff) | |
download | samba-dcb04065cda7fc7f23c494ec138af6b882651f20.tar.gz samba-dcb04065cda7fc7f23c494ec138af6b882651f20.tar.xz samba-dcb04065cda7fc7f23c494ec138af6b882651f20.zip |
python: Fix representation of UUIDs as strings in zone files rather than binary blobs, fix escaping of LDAP URL's in PHP LDAP admin configuration.
Pair-programmed with Andrew, but git doesn't appear to support multiple --author arguments. :-(
(This used to be commit dff54ff043563f93b86361039c46e662045f62cc)
Diffstat (limited to 'source4/scripting/python/samba/samdb.py')
-rw-r--r-- | source4/scripting/python/samba/samdb.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/samdb.py b/source4/scripting/python/samba/samdb.py index b757330ecb3..c11fabf553d 100644 --- a/source4/scripting/python/samba/samdb.py +++ b/source4/scripting/python/samba/samdb.py @@ -105,7 +105,7 @@ userAccountControl: %u assert(len(res) == 1 and res[0].defaultNamingContext is not None) domain_dn = res[0]["defaultNamingContext"][0] assert(domain_dn is not None) - dom_users = self.searchone(domain_dn, "dn", "name=Domain Users") + dom_users = self.searchone(basedn=domain_dn, attribute="dn", expression="name=Domain Users") assert(dom_users is not None) user_dn = "CN=%s,CN=Users,%s" % (username, domain_dn) |