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.