* 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/
