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

Re: Deleting certain attribute in all entries



Something like this works for me:

	ldapsearch attribute=* dn |
	grep -v '^$' |
	while read dn
	do
		echo "dn: $dn"
		echo "delete: attribute"
		echo ""
	done | ldapmodify -D "cn=manager,o=xx" -w secret

Regards,
	-JP

On Sun, 14 May 2000, Marian Steinbach wrote:

> I would like to know the easiest way to erase one atribute,
> disregarding it´s value, from all directory entries that have
> this attribute.