[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldapadd help!
Are you including cosine.schema?
That schema contains the "Audio" attribute
On Thu, 2003-07-31 at 10:50, Octavio Ramirez Rojas wrote:
> [root@azteca openldap]# su root -c /usr/local/libexec/slapd
> /usr/local/etc/openldap/schema/inetorgperson.schema: line 142:
> AttributeType not found: "audio"
> [root@azteca openldap]#
>
>
> Le jeu 31/07/2003 à 17:46, Gustavo Lozano a écrit :
> > What is the error slapd produces when you run it including the schema?
> >
> >
> > On Thu, 2003-07-31 at 10:21, Octavio Ramirez Rojas wrote:
> > > Hi,
> > >
> > > I have the file example.ldif
> > > ---
> > >
> > > dn: dc=prism,dc=fr
> > > objectclass: dcObject
> > > objectclass: organization
> > > o: Prism Laboratoire
> > > dc: prism
> > >
> > > dn: cn=Manager,dc=prism,dc=fr
> > > objectclass: organizationalRole
> > > cn: Manager
> > > ---
> > > [root]#ldapadd -x -D "cn=Manager,dc=prism,dc=fr" -W -f example.ldif
> > >
> > > it's ok!!
> > >
> > > Now I trying add an user, i made another_user.ldif file:
> > >
> > > ----
> > > dn: ou=MemberGroupA,dc=prism,dc=fr
> > > ou: MemberGroupA
> > > objectclass: top
> > > objectclass: organizationalUnit
> > > objectclass: inetOrgPerson
> > > description: Members of MemberGroupA
> > >
> > > # on va ajouter un nouveau utilisateur
> > >
> > > dn: cn=octavio,ou=MemberGroupA,dc=prism,dc=fr
> > > cn: octavio
> > > objectclass: top
> > > objectclass: person
> > > objectclass: organizationalPerson
> > > objectclass: inetOrgPerson
> > > mail: ora@mailhost.prism.uvsq.fr
> > > sn: Ramirez
> > > ou: MemberGroupA
> > > telephoneNumber: 0623804754
> > > userpassword: octaviosecret
> > >
> > >
> > > ---
> > > [root@azteca openldap]# ldapadd -x -D "cn=Manager,dc=prism,dc=fr" -W -f
> > > another_user.ldif
> > > Enter LDAP Password:
> > > adding new entry "ou=MemberGroupA,dc=prism,dc=fr"
> > > ldapadd: update failed: ou=MemberGroupA,dc=prism,dc=fr
> > > ldap_add: Object class violation (65)
> > > additional info: unrecognized objectClass 'inetOrgPerson'
> > >
> > > ---
> > > I must modify slapd.conf file, adding:
> > >
> > > include /usr/local/etc/openldap/schema/inetorgperson.schema ??????
> > >
> > > If i do this, slapd daemon not works!
> > >
> > > ---
> > >
> > > any idea?
> > >
> > > thanks
> > >
> > --
> > Gustavo A. Lozano Noldata Corporation
> > glozano@noldata.com Calle 46 No. 40-19
> > CTO Bogota D.C. Colombia
> > Noldata Corporation http://noldata.com
> >
> > I know not with what weapons World War III will be fought,
> > but World War IV will be fought with sticks and stones.
> > Albert Einstein
> >
> >
> >
> >
> >
>
--
Gustavo A. Lozano Noldata Corporation
glozano@noldata.com Calle 46 No. 40-19
CTO Bogota D.C. Colombia
Noldata Corporation http://noldata.com
I know not with what weapons World War III will be fought,
but World War IV will be fought with sticks and stones.
Albert Einstein