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:
parent
81e8a18181
commit
98d94cca6f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user