FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Directory

 
 
LinkBack Thread Tools
 
Old 11-02-2009, 11:18 PM
Vince Tingey
 
Default 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




--
389 users mailing list
389-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users
 
Old 11-03-2009, 05:47 AM
Michael Ströder
 
Default 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

--
389 users mailing list
389-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users
 
Old 11-03-2009, 04:34 PM
Vince Tingey
 
Default Easy way to add an object class value to all users

Hi Michael,



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



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



Thanks,


- Vince



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.

Ciao, Michael.





--
389 users mailing list
389-users@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-directory-users
 
Old 11-03-2009, 06:41 PM
Michael Ströder
 
Default 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.

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

Thread Tools




All times are GMT. The time now is 04:09 PM.

VBulletin, Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org