git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
81e8a18
)
s4-ldbtest: fixed message element in modify
author
Andrew Tridgell
<tridge@samba.org>
Tue, 29 Dec 2009 00:41:19 +0000
(11:41 +1100)
committer
Andrew Tridgell
<tridge@samba.org>
Fri, 1 Jan 2010 21:16:55 +0000
(08:16 +1100)
a flags value of zero is not valid
source4/lib/ldb/tests/python/ldap.py
patch
|
blob
|
history
diff --git
a/source4/lib/ldb/tests/python/ldap.py
b/source4/lib/ldb/tests/python/ldap.py
index c2920c009e1f3f32832c0dae27613fbbd1ad02e0..36514f126203a17de779f05993c0b82e43de6bed 100755
(executable)
--- a/
source4/lib/ldb/tests/python/ldap.py
+++ b/
source4/lib/ldb/tests/python/ldap.py
@@
-704,7
+704,8
@@
objectClass: container
# Make group 1 secondary
m = Message()
m.dn = Dn(ldb, "cn=ldaptestgroup,cn=users," + self.base_dn)
- m["member"] = "cn=ldaptestuser,cn=users," + self.base_dn
+ m["member"] = MessageElement("cn=ldaptestuser,cn=users," + self.base_dn,
+ FLAG_MOD_REPLACE, "member")
ldb.modify(m)
# Make group 1 primary