Donn Cave wrote:
> On Oct 8, 2007, at 2:26 PM, Michael Ströder wrote:
>>
>> That says it all. Create a list of DNs to be deleted with ldapsearch,
>> grep "^dn:" and pipe that to ldapdelete.
> 
> ldapsearch's LDIF output will wrap lines at column 78, which would make
> trouble for this approach where DNs are longer than 74 characters.  There
> are dozens of possible solutions using awk etc., but a plain grep doesn't
> seem very safe to me.

Yes, right.

Ciao, Michael.

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to