Could not create Object- WebADM

423 views
Skip to first unread message

Moofwd

unread,
Apr 11, 2014, 5:21:45 PM4/11/14
to rcdevs-t...@googlegroups.com
Hi,

   When i try to create WebAdm users , i am getting an error "Could not create object". Please help me to solve this issue

  In webadm logs the error log is
================================================================================
  "2014-04-11 13:04:48] [192.168.1.111] [Admin_D9E99FD1] Could not list LDAP object in 'dc=com' (No such object)
[2014-04-11 13:07:46] [192.168.1.111] [Admin_D9E99FD1] Could not create LDAP object 'cn=test,ou=super_admins,dc=example,dc=com' (Insufficient access)
=================================================================================
  In ldap logs , the error is
==================================================================================
  "pr 11 13:07:46 saml slapd[2263]: conn=1035 fd=13 ACCEPT from IP=[::1]:37051 (IP=[::]:389)
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=0 BIND dn="cn=admin,ou=super_admins,dc=example,dc=com" method=128
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=0 BIND dn="cn=admin,ou=super_admins,dc=example,dc=com" mech=SIMPLE ssf=0
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=0 RESULT tag=97 err=0 text=
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=1 SRCH base="cn=test,ou=super_admins,dc=example,dc=com" scope=0 deref=0 filter="(objectClass=*)"
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=1 SRCH attr=dn
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=1 SEARCH RESULT tag=101 err=32 nentries=0 text=
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=2 SRCH base="ou=super_admins,dc=example,dc=com" scope=0 deref=0 filter="(objectClass=*)"
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=2 SRCH attr=dn
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=2 SEARCH RESULT tag=101 err=0 nentries=1 text=
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=3 ADD dn="cn=test,ou=super_admins,dc=example,dc=com"
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=3 RESULT tag=105 err=50 text=no write access to parent
Apr 11 13:07:46 saml slapd[2263]: conn=1035 op=4 UNBIND
Apr 11 13:07:46 saml slapd[2263]: conn=1035 fd=13 close"

=============================================================================

My slapd.conf is 

database config
access to *
        by dn.exact="cn=Manager,dc=example,dc=com" write
        by dn.exact="cn=admin,ou=super_admins,dc=example,dc=com" write
        by dn.exact="cn=webadm,dc=example,dc=com" write
        by dn.exact="gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth" manage
        by * none

# enable server status monitoring (cn=monitor)
database monitor
access to *
        by dn.exact="cn=Manager,dc=example,dc=com" read
        by * none

#######################################################################
# database definitions
#######################################################################

database        bdb
suffix          "dc=example,dc=com"
checkpoint      1024 15
rootdn          "cn=Manager,dc=example,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoided.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
# rootpw                secret
# rootpw                {crypt}ijFYNcSNctBYg
rootpw                  pasword

============================================================================
My ldif is

=============================================================================

dn:dc=example,dc=com
objectClass:dcObject
objectClass:organization
dc:example
o :example

dn:ou=super_admins,dc=example,dc=com
objectClass: organizationalUnit
ou:super_admins

dn:ou=other_admins,dc=example,dc=com
objectClass: organizationalUnit
ou:other_admins

dn:cn=admin,ou=super_admins,dc=example,dc=com
cn:admin
sn:admin
objectClass:inetOrgPerson
userPassword:example
uid:sadmin

dn:cn=webadm,dc=example,dc=com
cn:webadm
sn:webadm
objectClass:inetOrgPerson
userPassword:example
uid:swebadm

dn: dc=Domains,dc=example,dc=com
dc: Domains
objectClass: top
objectClass: domain

dn: dc=option,dc=example,dc=com
dc: option
objectClass: top
objectClass: domain

dn: dc=WebApps,dc=example,dc=com
dc: WebApps
objectClass: top
objectClass: domain

dn: dc=WebSrvs,dc=example,dc=com
dc: WebSrvs
objectClass: top
objectClass: domain

dn: dc=Clients,dc=example,dc=com
dc: Clients
objectClass: top
objectClass: domain

dn: dc=MountPoints,dc=example,dc=com
dc: MountPoints
objectClass: top
objectClass: domain

dn: dc=OptionSets,dc=example,dc=com
dc: OptionSets
objectClass: top
objectClass: domain

=====================================================================

Moofwd

unread,
Apr 17, 2014, 6:30:12 AM4/17/14
to rcdevs-t...@googlegroups.com
Please help me with this

Administrators

unread,
Apr 18, 2014, 8:57:20 AM4/18/14
to rcdevs-t...@googlegroups.com
Hy,

we need more information to help you:
   - what is your OS?
   - what's your openLDAP version?

Could you check if you have a config.d folder in your openldap?
If yes, your Directory stores its configuration in LDAP partition,
and no longer uses configuration file.

A solution could be to use our OpenLDAP directory (RCDevs Directory)
Reply all
Reply to author
Forward
0 new messages