[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Server is unwilling to perform (53)
Hello
I have been able to install and run slapd using mysql as a backend, but am
using the sample databases.
I am using unixodbc and myodbc.
When I try to add an entry I get these errors:
ldap_add: Server is unwilling to perform (53)
additional info: operation not permitted within namingContext
Could someone point to where I could be going wrong please?
Thanks
Hari
my slapd.conf file:
=========================================================================
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
# Define global ACLs to disable default read access.
# Do not enable referrals until AFTER you have a working directory
# service AND an understanding of referrals.
#referral ldap://root.openldap.org
pidfile /usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
#######################################################################
# sql database definitions
#######################################################################
database sql
suffix "dc=artofliving, dc=org"
rootdn "dc=artofliving, dc=org"
rootpw secret
dbname aol
dbuser root
dbpasswd rootpw
subtree_cond "ldap_entries.dn LIKE CONCAT('%',?)"
insentry_query "INSERT INTO ldap_entries (dn,oc_map_id,parent,keyval)
VALUES (?,?,?,?)"
at_query "SELECT
name,sel_expr,from_tbls,join_where,add_proc,delete_proc,param_order,expect_r
eturn FROM ldap_attr_mappings WHERE oc_map_id=?"
============================================================================
==============
My ldif file that I am attempting to add:
-------------------------------------------------
seed:~ # cat dir.ldif
dn: dc=artofliving, dc=org
objectClass: top
objectClass: dcObject
objectClass: organization
dc: artofliving
o: Artofliving
description: Art of Living Foundation
dn: ou=addressbook, dc=artofliving, dc=org
objectClass: top
objectClass: organizationalUnit
ou: addressbook
dn: ou=us, ou=addressbook, dc=artofliving, dc=org
objectClass: top
objectClass: organizationalUnit
ou: us
----------------------------------------------------------
-------------------------------------------------------------
ldapadd -x -d 5 -D "dc=artofliving, dc=org" -W -f /root/dir.ldif
--------------------------------------------------------------
These are the last lines of the output
-------------------------------------------------------
ldap_add_ext
ldap_send_initial_request
ldap_send_server_request
ber_flush: 166 bytes to sd 4
ldap_result msgid 2
ldap_chkResponseList for msgid=2, all=1
ldap_chkResponseList returns NULL
wait4msg (infinite timeout), msgid 2
wait4msg continue, msgid 2, all 1
** Connections:
* host: localhost port: 389 (default)
refcnt: 2 status: Connected
last used: Thu Jun 12 00:37:56 2003
** Outstanding Requests:
* msgid 2, origid 2, status InProgress
outstanding referrals 0, parent count 0
** Response Queue:
Empty
ldap_chkResponseList for msgid=2, all=1
ldap_chkResponseList returns NULL
ldap_int_select
read1msg: msgid 2, all 1
ber_get_next
ber_get_next: tag 0x30 len 56 contents:
ldap_read: message type add msgid 2, original id 2
ber_scanf fmt ({iaa) ber:
read1msg: 0 new referrals
read1msg: mark request completed, id = 2
request 2 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 2, msgid 2)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_scanf fmt (}) ber:
ldap_msgfree
ldapadd: update failed: dc=artofliving, dc=org
ldap_perror
ldap_add: Server is unwilling to perform (53)
additional info: operation not permitted within namingContext
ldap_unbind
ldap_free_connection
ldap_send_unbind
ber_flush: 7 bytes to sd 4
ldap_free_connection: actually freed
============================================================================
====