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?



Reply via email to