سؤال

We need to create a custom attribute in Active Directory that will contains lookup values and the user object will need to choose one or multiple values in this lookup. The lookup values will be defined in this custom attribute. Our application will be able to read this custom attribute.

User is related to a Campus.

  • Campus 1
  • Campus 2
  • Campus 3

And just one campus can be selected. The list of campus is managed in the Active Directory.

How we can acheive this by extending the schema?

هل كانت مفيدة؟

المحلول

You should really NOT do this. Extending the schema to store something like that is like using a nuclear bomb to open a packet of cheezeits.

Active Directory has plenty of attributes that never get used, in this case I suggest the location attribute (l), division or department.

نصائح أخرى

You can add your own attribute changing the Active-Directory Schema, or using an existing attribute that is not exploited in your organization.


Edited

You can create your own class derivated from user, but for me, a Camppus is more an organizationalUnit (OU), and then link user to the nouw object using an attribute of with the unique-name syntax in fact a DN which keep referencial integrity.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top