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

Re: [ldap] hopefully simple ldapdelete issue

On Tuesday 10 August 2004 21:25, James Craig wrote:
> I can delete this entry thusly:
> ldapdelete -Z -x -D "cn=Manager,dc=cs,dc=rit,dc=edu" -W \
>    'cn=grad,dc=cs,dc=rit,dc=edu'
> however if I try it like this:
> ldapdelete -Z -x -D "cn=Manager,dc=cs,dc=rit,dc=edu" -W -f delete.ldif
> delete.ldif looks like:
> dn: cn=grad,dc=cs,dc=rit,dc=edu

ldapdelete doesn't take LDIF as the input file format. The file just needs to 
contain one DN per line, without any "dn:" in front of it. 

Ralf Haferkamp
SUSE LINUX AG, Maxfeldstrasse 5, D-90409 Nuernberg
T: +49-911-74053-0
F: +49-911-74053575 - Ralf.Haferkamp@suse.com