Hi,
I want to fix several entries of mail attribute mail that have an error something like this:
*john@domain.com *joe@domain.com *mary@domain.com
and so on.
I want to to change them to:
john@domain.com joe@domain.com mary@domain.com
(Delete asterisks)
How can I perform it in one (or at least few) steps?
thanks in advance!
Sergio Belkin wrote:
Hi,
I want to fix several entries of mail attribute mail that have an error something like this:
*john@domain.com *joe@domain.com *mary@domain.com
and so on.
I want to to change them to:
john@domain.com joe@domain.com mary@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
2008/10/2 Ralph Angenendt ra+centos@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@domain.com *joe@domain.com *mary@domain.com
and so on.
I want to to change them to:
john@domain.com joe@domain.com mary@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
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Thanks, I know about ldapmodify, but I wonder if someone knows other way yo do that,
Hi,
On Wed, Oct 1, 2008 at 20:56, Sergio Belkin sebelk@gmail.com wrote:
I want to fix several entries of mail attribute mail that have an error something like this:
I use "ldapvi" that opens your whole LDAP database in an editor and allows you to do the changes using the editor. Once you are done with it, it will see which entries were modified, create the LDIF appropriately and apply it to the LDAP server. It's really easy to do this kind of global changes.
See here: http://www.lichteblau.com/ldapvi/
And Dag has RPMs: http://dag.wieers.com/rpm/packages/ldapvi/
HTH, Filipe