Re: [CentOS] Half-OT: Modify several ldap entries

2008-10-02 Thread Ralph Angenendt
Sergio Belkin wrote:
 Hi,
 
 I want to fix several entries of mail attribute mail that have an
 error something like this:
 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 and so on.
 
 I want to to change them to:
 
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 
 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


pgpyAfsPAU7JX.pgp
Description: PGP signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Half-OT: Modify several ldap entries

2008-10-02 Thread Sergio Belkin
2008/10/2 Ralph Angenendt [EMAIL PROTECTED]:
 Sergio Belkin wrote:
 Hi,

 I want to fix several entries of mail attribute mail that have an
 error something like this:

 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

 and so on.

 I want to to change them to:

 [EMAIL PROTECTED]
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

 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,

-- 
--
Open Kairos http://www.openkairos.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Half-OT: Modify several ldap entries

2008-10-02 Thread Filipe Brandenburger
Hi,

On Wed, Oct 1, 2008 at 20:56, Sergio Belkin [EMAIL PROTECTED] 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
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Half-OT: Modify several ldap entries

2008-10-01 Thread Sergio Belkin
Hi,

I want to fix several entries of mail attribute mail that have an
error something like this:

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

and so on.

I want to to change them to:

[EMAIL PROTECTED]
[EMAIL PROTECTED]
[EMAIL PROTECTED]

(Delete asterisks)

How can I perform it in one (or at least few) steps?

thanks in advance!


-- 
--
Open Kairos http://www.openkairos.com
Watch More TV http://sebelk.blogspot.com
Sergio Belkin -
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos