[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Modifying every entry in an LDAP address book



> -----Original Message-----
> From: Jarbas Peixoto Júnior [mailto:jarbas.junior@gmail.com] 
> Sent: 15 July 2008 01:51
> To: Carr, Chris
> Cc: openldap-technical@openldap.org
> Subject: Re: Modifying every entry in an LDAP address book
> 
> 2008/7/14 Carr, Chris <Chris.Carr@camden.gov.uk>:
> > Hi All,
> >
> > Apologies if this is a stupid question, but I can't find the answer 
> > via Google.
> >
> > I need to make the same modification to every entry in my 
> > address book.
> > Can I do this with a single ldapmodify command? If so, what is the 
> > syntax for the mod file? I'm assuming something like this:
> >
> > dn: ??
> > changetype: modify
> > add: objectClass
> > objectClass: evolutionPerson
> 
> One alternative solution is utilize on client ldap  browser 
> with this feature. What you want may be encontred in:
>    * "Apache  Directory Studio" - http://directory.apache.org/studio/
> - need java to work - have version for Windows and Linux;
>    * "Ldap Admin" - http://ldapadmin.sourceforge.net/ - 
> standalone client - only have version for Windows - but works 
> with "wine" in Linux.

Thanks Jarbas. Someone on Usenet recommended ldapvi, which is a simple standalone unix program which opens your entire addressbook (or indeed any set of search results) in your default text editor, lets you edit and then commits the changes. Works like a dream - just thought others might like to know if they have changes to make to multiple entries. 

CC 

This e-mail may contain information which is confidential, legally privileged and/or copyright protected. This e-mail is intended for the addressee only. If you receive this in error, please contact the sender and delete the material from your computer