Re: [389-users] Easy way to add an object class value to all users

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

--
389 users mailing list
389-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux