[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldap_add problem
Hi,
I need to barrow your brains.This subject has lot entries in list but could not
get my problem solved from it.
Thanks for your time.
I went through online documents and configure LDAP.
I get this error of parent does not exist.Or in sufficient access.I can't trace
the problem.This is output I get for the commads.
Please shed some light,Thanks in Advance
################################################################################
##
COMMAND >>ldapsearch -x -b '' -s base '(objectclass=*)'
OUTPUT>>
version: 2
#
# filter: (objectclass=*)
# requesting: namingContexts
#
#
dn:
namingContexts: dc=example,dc=com
# search result
search: 2
result: 0 Success
# numResponses: 2
# numEntries: 1
################################################################################
###
COMMAND >> ldapadd -x -h localhost -D "cn=root,dc=example,dc=com" -f just2.ldif
with this matter in ldif does give error
-----just2.ldif-----
dn: dc=example,dc=com
objectClass: domain
dc: example
-------------------
OUTPUT >>
adding new entry "dc=example,dc=com"
ldap_add:Insufficient access
ldif_record()=50
################################################################################
#####
COMMAND >> ldapadd -x -h localhost -D "cn=root,dc=example,dc=com" -f just2.ldif
-------just2.ldif--------
dn: ou=people,dc=example,dc=com
ou: people
objectClass: top
objectClass: organizationalUnit
---------------------------
OUTPUT >>
adding new entry "ou=people,dc=example,dc=com"
ldapadd: No such object
additional info:parent does not exist
ldif_record()=32
################################################################################
#######
LOGFILE >>
This is the lof for runnign the above commands
Mar 25 17:47:20 partha slapd[5140]: daemon: conn=11 fd=9 connection from
IP=192.168.0.106:33033 (IP=0.0.0.0:34049) accepted.
Mar 25 17:47:21 partha slapd[5204]: conn=11 op=0 BIND dn="" method=128
Mar 25 17:47:21 partha slapd[5204]: conn=11 op=0 RESULT tag=97 err=0 text=
Mar 25 17:47:21 partha slapd[5206]: conn=11 op=1 SRCH base="" scope=0
filter="(objectClass=*)"
Mar 25 17:47:21 partha slapd[5206]: conn=11 op=1 RESULT tag=101 err=0 text=
Mar 25 17:47:21 partha slapd[5205]: conn=11 op=2 UNBIND
Mar 25 17:47:21 partha slapd[5205]: conn=-1 fd=9 closed
Mar 25 17:50:27 partha slapd[5140]: daemon: conn=12 fd=9 connection from
IP=127.0.0.1:33034 (IP=0.0.0.0:34049) accepted.
Mar 25 17:50:27 partha slapd[5204]: conn=12 op=0 BIND
dn="CN=ROOT,DC=example,DC=COM" method=128
Mar 25 17:50:27 partha slapd[5204]: conn=12 op=0 RESULT tag=97 err=0 text=
Mar 25 17:50:27 partha slapd[5206]: conn=12 op=1 ADD dn="DC=example,DC=COM"
Mar 25 17:50:27 partha slapd[5206]: conn=12 op=1 RESULT tag=105 err=50 text=
Mar 25 17:50:27 partha slapd[5205]: conn=12 op=2 UNBIND
Mar 25 17:50:27 partha slapd[5205]: conn=-1 fd=9 closed
Mar 25 17:56:32 partha slapd[5140]: daemon: conn=13 fd=9 connection from
IP=127.0.0.1:33035 (IP=0.0.0.0:34049) accepted.
Mar 25 17:56:32 partha slapd[5204]: conn=13 op=0 BIND
dn="CN=ROOT,DC=example,DC=COM" method=128
Mar 25 17:56:32 partha slapd[5204]: conn=13 op=0 RESULT tag=97 err=0 text=
Mar 25 17:56:32 partha slapd[5206]: conn=13 op=1 ADD
dn="OU=PEOPLE,DC=example,DC=COM"
Mar 25 17:56:32 partha slapd[5206]: conn=13 op=1 RESULT tag=105 err=32
text=parent does not exist
Mar 25 17:56:32 partha slapd[5205]: conn=13 op=2 UNBIND
Mar 25 17:56:32 partha slapd[5205]: conn=-1 fd=9 closed
################################################################################
##################
-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/