[cifs-protocol] Questions about Validated-SPN validated write

Nadezhda Ivanova nivanova at samba.org
Fri Dec 17 04:07:56 MST 2010

Does Validated-SPN validated write allow an account to set an object's SPN
to the following values:
HOST/samAccountName (without the "$")
if the object is a regular computer object and NOT a DC?

The algorithm described in MS-DRSR 5.5 AccessCheckWriteToSpnAttribute seems
to indicate that yes, this should be allowed. Ot the other hand, MS-ADTS servicePrincipalName leads me to believe that the object
being a DC is mandatory constraint: "The SPN is a syntactically correct
two-part SPN, or it is a syntactically correct three-part SPN (see
Mutual Authentication (section and the object is a DC’s domain
controller object (see
sections7. and "

In addition, I did the following test:
Gave Validated-SPN right to a user on a regular computer object, and got
CONSTRAINT_VIOLATION when setting its servicePrincipalName with the above
described values.
Gave Validated-SPN right to a user on a DC object, and these values were set

So my questions are:
Is the behaviour of setting servicePrincipalName supposed to be different
between LDAP and DRS?
Does servicePrincipalName modification depend on things other then the
syntax restrictions described in MS-DRSR and MS-ADTS?
If an object does not have Validated-SPN on Principal-Self, should the
account still be allowed to set the above values via DRS?

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

More information about the cifs-protocol mailing list