ldapvi! Very interesting tool. I tried it after reading this email.

> * Gavin Henry ([EMAIL PROTECTED]) [080829 21:44]:
>> Adam Williams wrote:
>> >I have a bunch of users that have a mail entry I want to delete.  As an
>> >example:
>> >
>> >dn: uid=jdoe$,ou=Computers,dc=mdah,dc=mdah,dc=state,dc=ms,dc=us
>> >mail: [EMAIL PROTECTED]
>> >
>> >I know I can delete them one at a time with the following ldif for each
>> >user and run it manually
>> >
>> >dn: uid=jdoe$,ou=Computers,dc=mdah,dc=state,dc=ms,dc=us
>> >changetype: modify
>> >delete: mail
>> >mail: [EMAIL PROTECTED]
>> >
>> >but is there a way to automate the process or globally drop mail: from
>> >every uid in the ou=Computers?
>>
>> Script it or export the data, edit with sed and re-import etc.
>
> That's what ldapvi is for - regular expressions within the full database
> without issues.
>
>
> Cheers,
> Andi
> --
>   http://home.arcor.de/andreas-barth/
>
>
> --
> This message was scanned by ESVA and is believed to be clean.
> Click here to report this message as spam.
> http://esva.puryear-it.com/cgi-bin/learn-msg.cgi?id=
>
>
>


-- 
Dustin Puryear
President and Sr. Consultant
Puryear Information Technology, LLC
225-706-8414 x112
http://www.puryear-it.com

Author, "Best Practices for Managing Linux and UNIX Servers"
  http://www.puryear-it.com/pubs/linux-unix-best-practices/


Reply via email to