.
>
> 1. Create a new class and list it as an auxilary to the 'user' class.
>
> 2. Add the attributes to the 'user' class.
>
> I think #1 is the appropriate way to go, but #2 might be easier if it'll
> work.
>

Well, there are many ways to extend the Schema: LDAP, ADSI or LDIF. I've
used LDAP and LDIF, and works.

I'm not an expert on AD, but I think that if you add the attributes to the
user class, and you make them mandatory, all the user's created in the
system will need to have this attributes set, which may not be desirable.

Creating a new class has his own problems, too. You need a OID, like in the
attributes, but you need an SchemaGUID too. The program code is not much
more difficult than what you need to create attributes, but perhaps you find
more problems to define the parameters.

Once the classes and attributes are created, add new objects is very simple,
no matter if you use LDAP, LDIF or ADSI.

If you find problems, I may send you some program sources that I used to
expand the Schema creating new classes, attributes and objects.

David

List info   : http://www.activedir.org/mail_list.htm
List FAQ    : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/

Reply via email to