mirror of
https://github.com/samba-team/samba.git
synced 2025-01-22 22:04:08 +03:00
s4:dsdb/tests: use changetype: modify in order to delete a single attribute
'changetype: delete' is used to delete a whole object! Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
01400b5980
commit
c35ae5a77d
@ -150,7 +150,7 @@ otherLoginWorkstations: AFTER"
|
|||||||
|
|
||||||
self.ldb.modify_ldif("""
|
self.ldb.modify_ldif("""
|
||||||
dn: """ + self.user_sid_dn + """
|
dn: """ + self.user_sid_dn + """
|
||||||
changetype: delete
|
changetype: modify
|
||||||
delete: otherLoginWorkstations
|
delete: otherLoginWorkstations
|
||||||
""")
|
""")
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user