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

Bryan Burgin bburgin at microsoft.com
Mon Oct 7 10:25:10 MDT 2013

[-dochelp; +casemail]

Hi Nadezhda,

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:
" 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 = 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?
Best Regards,
Nadezhda Ivanova
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.samba.org/pipermail/cifs-protocol/attachments/20131007/e4b75d5f/attachment.html>

More information about the cifs-protocol mailing list