[Date Prev][Date Next] [Chronological] [Thread] [Top]

deleting attribute from commandline



Hi all,

In my ldap database I have dn's with all kinds of attributes, some of these attributes are appear there multiple times per account.

Like 

dn: cn=User,ou=Unit,o=Company
	seeAlso: someoneelse,ou=Unit,o=Company
	seeAlso: anotherone,ou=Unit,o=Company
	seeAlso: yetanotherone,ou=Unit,o=Company


Now, I want to delete one of these 'seeAlso' from the commmandline, eg the second one, I cannot see how to do that with ldapdelete.
If it's impossible from a shell script with ldapdelete, how to do that in Perl?

cheers,
Jeroen.