Adding attributes to the existing users.
I am using Iplanet directory server 5.2. I have some existing users . We have some custom schema files through which we added object classes and attributes.
If i want to add additional attributes to the existing users how can i make it. ( I don't want to delete the users and add them again ).
# 1
> I am using Iplanet directory server 5.2. I have some
> existing users . We have some custom schema files
> through which we added object classes and
> attributes.
>
>
> If i want to add additional attributes to the
> existing users how can i make it. ( I don't want to
> delete the users and add them again ).
You have to modify the schema frist.
then use ldapmodify to add the new objectclasses and the attributes with the values for this atributes, you can use a file with all the changes that you want to do.
Please check:
http://docs.sun.com/source/816-6696-10/cmdline.html#14896
Ram
# 3
1. You can't modify inetorgPerson objectclass. What you can do is to create an ObjectClass to extend inetOrgPerson and include the attributes you want (of course you have to make sure those attributes existe first).
2. You can just modify the 99user.ldif file under ...../config/schema
3. Regarding the details on how to create schema, you can refer to the Admin guide.
# 4
Thank you. I've been looking for the 99user.ldif file but I don't actually have a .../config/schema directory. There are plenty of ldif files in the config directory, but not the 99user. Any ideas of where that might be? or do I need to create this for the first time? is there some other file? We're running IMS 5.1 and Dir 4.x - does that change things?
Also, can you point me to instructions on how I make the attributes please?
Thanks for your help - Forrest