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 ).

[307 byte] By [pratap-putcha] at [2007-11-26 6:19:15]
# 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

ram@qedcommx at 2007-7-6 14:02:46 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
With this same version, can you tell me how I go about modifying the schema please?I want to add another attribute to the inetOrgPerson objectclass - no Directory Server console available.Thanks.
fr_bakerwwcc at 2007-7-6 14:02:46 > top of Java-index,Web & Directory Servers,Directory Servers...
# 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.

sun_iplanet at 2007-7-6 14:02:46 > top of Java-index,Web & Directory Servers,Directory Servers...
# 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

fr_bakerwwcc at 2007-7-6 14:02:46 > top of Java-index,Web & Directory Servers,Directory Servers...
# 5
Yes, Directory 4.1x does schema differently than Directory 5.x Directory 4.x is also unsupported. IMS 5.1 is probably unsupported as well - it still does dirsync. *shudders*
Capitan_Holy_Hippie at 2007-7-6 14:02:46 > top of Java-index,Web & Directory Servers,Directory Servers...