On Tuesday 07 October 2008 17.55.30 Pierangelo Masarati wrote:
LÉVAI Dániel wrote:
$ ldapdelete -ZZWx -vf ldap_delete.ldif ldap_initialize( <DEFAULT> ) Enter LDAP Password: deleting entry "dn:: Y249w5x6ZW1lbHRldMO1IEJyaWfDoWQsY249ZGFuaWVsbCxjbj1hZGRyZXNzYm9va3M sZGM9ZWNlbnRydW0sZGM9aHU=" ldap_delete: Invalid DN syntax (34) additional info: invalid DN
I think I'm missing something? What could be wrong?
According to the ldapdelete(1) man page, ldapdelete takes the DN to be deleted as an argument. So you cannot put a "dn:" prefix, and
[...] and On Tuesday 07 October 2008 17.58.20 Hallvard B Furuseth wrote:
Whoops... forgot that ldapdelete just takes a list of DNs, not an LDIF file. See the manpage.
[...]
Indeed.. Thanks to both of you. I don't know what would I do w/o the community :)
Daniel