mirror of
https://github.com/samba-team/samba.git
synced 2025-12-11 08:23:49 +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 commit is contained in:
@@ -79,7 +79,7 @@ class LdbExtensionTests(TestCaseInTempDir):
|
||||
l = samba.Ldb(path)
|
||||
try:
|
||||
l.add({"dn": "foo=dc", "bar": "bla"})
|
||||
self.assertEquals("bla", l.searchone(ldb.Dn(l, "foo=dc"), "bar"))
|
||||
self.assertEquals("bla", l.searchone(basedn=ldb.Dn(l, "foo=dc"), attribute="bar"))
|
||||
finally:
|
||||
del l
|
||||
os.unlink(path)
|
||||
|
||||
Reference in New Issue
Block a user