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

ldap problem(3)



Thanks WES QUINN, I changed the description attributes

but I have a new problem,

I  execute:
ldapadd -f test.ldif -cx -D "cn=root,o=serv.info"
and i get this message:

    ldap_initialize(<DEFAULT>)
    add objectclass:
            top
            dcObject
            organization
    add dc:
 		info
    add o:
            serv.info
    add description
               UNSA
    adding new entry "dc=info"
    ldap_add: Insufficient access
    ldif_record()=50


_____________________________________________________

But I am executing it as root,
what's wrong, please?



    My slapd.conf file :
    _________________________


include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/nis.schema include/etc/openldap/schema/redhat/rfc822-MailMember.schema include /etc/openldap/schema/redhat/autofs.schema include/etc/openldap/schema/redhat/kerberosobject.schema

    pidfile /var/run/slapd.pid
    argsfile /var/run/slapd.args

    database ldbm
    suffix "o=serv.info"
    suffix "dc=info"
    rootdn "cn=root,o=serv.info"
    rootpw informatica
    directory /var/lib/ldap/info
    defaultaccess   read
    schemacheck     on
    lastmod         on
    index objectClass,uid,uidNumber,gidNumber eq
    index cn,mail,surname,givenname eq,subinitial

    _____________________________________________
    My test.ldif file:
    _____________________________________________

    dn: dc=info
    objectclass: top
    objectclass:dcObject
    objectclass: organization
    o:serv.info
    description: UNSA

    dn: o=serv.info
    objectclass: top
    objectclass: organization
    o:serv.info
    description: UNSA

    dn: cn=root, o=serv.info
    objectclass: organizationalRole
    cn: Manager
    description: Administrador Ldap

    dn: ou=MemberGroupA,o=serv.info
    ou: MemberGroupA
    objectclass: top
    objectclass: organizationalUnit
    description: Members of MemberGroupA

    ____________________________________________________
Could someone help me please?

Regards.

Albert Medina Banda
 Arequipa-Peru

_________________________________________________________________
Descargue GRATUITAMENTE MSN Explorer en http://explorer.msn.es/intl.asp