1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-24 02:04:21 +03:00

s4-ldbtest: fixed message element in modify

a flags value of zero is not valid
This commit is contained in:
Andrew Tridgell 2009-12-29 11:41:19 +11:00
parent 81e8a18181
commit 98d94cca6f

View File

@ -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