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

Re: ldapmodify returns "No such object (32)" for user besides ROOTDN



John Ziniti writes:

Any calls to ldampodify from any user besides the
ROOTDN returns:


ldap_modify: No such object

ldif_record() = 32

even though I know the object is there, and I am
pretty sure my ACLs are good (they are very simple
and very broad for testing). The same user can
ldapsearch without problem, and the ROOTDN can
perform the ldapmodify.


None of the regex_matches in acl.c seem to match,
even though they are a straightforward, well-formed
DN.

It means the PARENT does not exist. Looks like you're
trying to add an entry BEFORE adding the entry corresponding
to the suffix of your database.


Pierangelo

Dr. Pierangelo Masarati | voice: +39 02 2399 8309
Dip. Ing. Aerospaziale | fax: +39 02 2399 8334
Politecnico di Milano | mailto:pierangelo.masarati@polimi.it
via La Masa 34, 20156 Milano, Italy | http://www.aero.polimi.it/~masarati