[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
		echo "dn: $dn"
		echo "delete: attribute"
		echo ""
	done | ldapmodify -D "cn=manager,o=xx" -w secret


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.