AD Custom Attribute with unique value
Posted
by
Zilog
on Server Fault
See other posts from Server Fault
or by Zilog
Published on 2012-11-10T23:19:12Z
Indexed on
2012/11/11
5:04 UTC
Read the original article
Hit count: 401
windows-server-2003
|active-directory
I have custom AD attribute added to my AD schema. Attribute's syntax is Unicode String. It is added to user class and the purpose of it is to store user ID of corporate ERP system. Problem is, that I can have two or more user objects with the same value stored in that attribute, which is something that I would like to avoid. Is there a way to configure AD attribute so it is unique within the domain boundary? (The same behavior as SAMAccountName
attribute.)
i.e :
If there already exists user object in AD with this attribute set to "JSmith" and I try to set that attribute with the same value for another user, Direcory Services will refuse to update that object and give me "already exists" error.
Domain functional level is windows 2003.
© Server Fault or respective owner