[CentOS] Half-OT: Modify several ldap entries

Thu Oct 2 09:10:50 UTC 2008
Ralph Angenendt <ra+centos at br-online.de>

Sergio Belkin wrote:
> Hi,
> 
> I want to fix several entries of mail attribute mail that have an
> error something like this:
> 
> *john at domain.com
> *joe at domain.com
> *mary at domain.com
> 
> and so on.
> 
> I want to to change them to:
> 
> john at domain.com
> joe at domain.com
> mary at domain.com
> 
> How can I perform it in one (or at least few) steps?

Write a correct ldif file and use ldapmodify to make modifcations. See
the ldapmodify manual page for examples on how to use that.

Cheers,

Ralph
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20081002/e02f9243/attachment-0005.sig>