1
0
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:
Stefan Metzmacher 2023-02-23 17:01:55 +01:00 committed by Andrew Bartlett
parent 01400b5980
commit c35ae5a77d

View File

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