How add attribute to more than one user.
Hi.
I have long list of user, but their have no defined attribute O, OU and mailhost. I can add this attribute singly for user only separately.
I woundering that how add attributes for more user by the same time.
And who know, why though I have user in separately OU and O, the user have no attribute in Generic Editor for example. I can not use function Search in Server Console, because any user have no this attributes.
If anybody know any solution , please help me
[501 byte] By [
uniu] at [2007-11-26 7:15:41]

# 1
O, and OU are not attributes, therefore you cannot search for them on any object under such o, or ou. In order to add any atribute to a user, the best way is to extend the user, inetorguser, etc., by creating a new class that inherits from any of the classes already existing for users. Then, create any new attribute, and add it to the class....Then run a big ldif adding objectclass: newclass to al the users or only to the users you want. It is easier to do it than to explain it, believe me.
Good Luck!
Enrique.