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

Error 53: operation not permitted within namingContext



Hi,

I'm running OpenLDAP 2.2.8 on FreeBSD 5.2.1 with PostgreSQL 7.4.2. I've used 
this HOWTO: http://www.samse.fr/GPL/ldap_pg/HOWTO/

When I add this information the the database:

--
dn: dc=thekrofties,dc=net
objectclass: dcObject
objectclass: organization
o: thekrofties
dc: thekrofties

dn: cn=Manager,dc=thekrofties,dc=net
objectclass: organizationalRole
cn: Manager
--

I get the following error with slapd debugging mode:

oc_check_allowed type "modifyTimestamp"
  backsql_add(): cannot determine objectclass of entry -- aborting
send_ldap_result: conn=0 op=1 p=3
send_ldap_result: err=53 matched="" text="operation not permitted within 
namingContext"
send_ldap_response: msgid=2 tag=105 err=53

This is my slapd.conf:

--
database        sql
suffix          "dc=thekrofties,dc=net"
rootdn          "cn=Manager,dc=thekrofties,dc=net"
rootpw          *******
dbname          pg_ldap
dbuser          pg_ldap
dbpasswd        pg_ldap
subtree_cond    "ldap_entries.dn LIKE CONCAT('%',?)"
insentry_query  "INSERT INTO ldap_entries (dn,oc_map_id,parent,keyval) VALUES 
(?
,?,?,?)"
has_ldapinfo_dn_ru      no
--

What could be wrong?

Greetings,

René
The Netherlands