[cifs-protocol] [REG113100710843173]: Question about LDAP delete operation on Administrator and other built-in accounts
bburgin at microsoft.com
Mon Oct 7 10:25:10 MDT 2013
Thank you for your question. We created SR 113100710843173 to track this issue. An engineer from the Protocols will contact you soon.
From: nivanova.samba at gmail.com [mailto:nivanova.samba at gmail.com] On Behalf Of Nadezhda Ivanova
Sent: Monday, October 7, 2013 5:55 AM
To: Interoperability Documentation Help
Cc: cifs-protocol at samba.org
Subject: Question about LDAP delete operation on Administrator and other built-in accounts
At the I/O Lab we asked about the restrictions that apply on performing a delete operation on built-in accounts. To explain the correct behavior, Edgar kindly supplied the following references:
188.8.131.52.5.1.1 Tombstone Requirements
A protected object may not be deleted and transformed into a tombstone (see Protected Objects (section <http://msdn.microsoft.com/en-us/library/cc223483.aspx> 184.108.40.206.5.3<http://msdn.microsoft.com/en-us/library/cc223483.aspx>)<http://msdn.microsoft.com/en-us/library/cc223483.aspx>).
220.127.116.11.5.3 Protected Objects
18.104.22.168.1.2 Protected Objects
o well-known security principals:
* of class user<http://msdn.microsoft.com/en-us/library/cc221822.aspx> with RID = DOMAIN_USER_RID_ADMIN
However, some testing revealed that the last reference which we hoped would explain why the Administrator should not be deleted, appears to not be relevant to the case. Delete operation on any built-in account or predefined domain rid returns LDAP error 80, and the group membership does not really affect the deletion of users or groups.
So after some digging, I found this:
Namely: If the RID of U's objectSid attribute value is less than 1000, an error MUST be returned.
Could you please confirm that this is indeed the only restriction relevant to the case?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the cifs-protocol