[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: [ldap] hopefully simple ldapdelete issue
- To: openldap-software@OpenLDAP.org
- Subject: Re: [ldap] hopefully simple ldapdelete issue
- From: Ralf Haferkamp <rhafer@suse.de>
- Date: Wed, 11 Aug 2004 12:33:35 +0200
- Content-disposition: inline
- In-reply-to: <LYRIS-362489-830639-2004.08.10-15.25.20--rhafer#suse.de@listserver.itd.umich.edu>
- References: <LYRIS-362489-830639-2004.08.10-15.25.20--rhafer#suse.de@listserver.itd.umich.edu>
- User-agent: KMail/1.6.2
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