Using modattr.pl
Use “standard” LDAP arguments (-h etc.)
Use “-n” to see what would be done (safe)
Add an attribute value
- modattr.pl -a cn=“Leif Hedstrom” (‘uid=leif)’
- modattr.pl -a mailHost=tintin ‘(uid=*)’
Deleting an entire attribute
- modattr.pl -d salary ‘(department=IS)’