mirror of
https://github.com/samba-team/samba.git
synced 2025-07-06 08:59:08 +03:00
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 dff54ff043
)
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user