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




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux