[cifs-protocol] Question about LDAP delete operation on Administrator and other built-in accounts

Nadezhda Ivanova nivanova at samba.org
Mon Oct 7 06:55:00 MDT 2013

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:
" 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> <http://msdn.microsoft.com/en-us/library/cc223483.aspx>)<http://msdn.microsoft.com/en-us/library/cc223483.aspx>
). Protected Objects

http://msdn.microsoft.com/en-us/library/cc223483.aspx Protected Objects



o   well-known security principals:
§  of class user
<http://msdn.microsoft.com/en-us/library/cc221822.aspx>with RID =


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?

Best Regards,
Nadezhda Ivanova
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20131007/0d9586fe/attachment.html>

More information about the cifs-protocol mailing list