Vince Tingey
2009-Nov-03 00:18 UTC
[389-users] Easy way to add an object class value to all users
Hi Everyone, Is there an easy way to add an object class value to all the users in my 389 Directory Server? Thank you, -- Vince
Michael Ströder
2009-Nov-03 06:47 UTC
Re: [389-users] Easy way to add an object class value to all users
Vince Tingey wrote:> Is there an easy way to add an object class value to all the users in my > 389 Directory Server?I''d say yes. But what "easy" means to you depends on your skills. You could generate a LDIF file containing change records for all your entries. Or even better use your favourite scripting language to do the modifications with the help of a decent LDAP module. Ciao, Michael. -- Michael Ströder E-Mail: michael@stroeder.com http://www.stroeder.com
Vince Tingey
2009-Nov-03 17:34 UTC
Re: [389-users] Easy way to add an object class value to all users
Michael Ströder
2009-Nov-03 19:41 UTC
Re: [389-users] Easy way to add an object class value to all users
Vince Tingey wrote:>> Michael Ströder wrote: >> Vince Tingey wrote: >> >>> Is there an easy way to add an object class value to all the users in my >>> 389 Directory Server? >>> >> I''d say yes. But what "easy" means to you depends on your skills. >> >> You could generate a LDIF file containing change records for all your entries. >> Or even better use your favourite scripting language to do the modifications >> with the help of a decent LDAP module. > > Yeh I thought I would have to resort to something like that. Generating > a huge LDIF file containing change records for each user was what I was > hoping to avoid or find some shortcut for...It''s not that hard.> I guess I''m going to have to look at writing a PHP script now or > something. Too bad I can''t just select all the users in the Java > console and add the class...Depending on the schema you might have to add some attributes too... Ciao, Michael.