[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Error adding entry in ou
In my slap.conf i don't include nis.schema but i include rfc2307bis ...
rfc2307bis.schema:objectclass ( 1.3.6.1.1.1.2.2 NAME 'posixGroup' SUP top AUXILIARY
Is the slap.conf that is present in suse linux 9.1.
Is correct ?
If i include nis.schema i have an error.
Thanks.
On Jul 21, 2004 10:42 AM, malini <malini@visolve.com> wrote:
> > Bu if i add in groups ou an entry like this:
> > dn: cn=Default,ou=groups,dc=test,dc=it
> > objectClass: top
> > objectClass: posixGroup
> > cn: Default
> > gidNumber: 500
>
> Your posixGroup is in nis.schema.Include this in slap.conf
> ./nis.schema:objectclass ( 1.3.6.1.1.1.2.2 NAME 'posixGroup' SUP top
> STRUCTURAL
>
>
> Regards,
> malini@visolve.com
> www.visolve.com
>
>
> ----- Original Message -----
> From: "Cristian Del Carlo" <cristian.delcarlo@osratoscana.it>
> To: <openldap-software@OpenLDAP.org>
> Sent: Wednesday, July 21, 2004 1:46 PM
> Subject: Error adding entry in ou
>
>
> > Hi,
> > I have a problem adding entry in my ou.
> > I use openldap 2.2.6.
> > I have this ldap tree :
> > dn: dc=test,dc=it
> > objectClass: top
> > objectClass: dcObject
> > objectClass: organization
> > dc: test
> > o: Dominio
> > description: Dominio di Test
> >
> > # root, test.it
> > dn: cn=root,dc=test,dc=it
> > objectClass: organizationalRole
> > cn: root
> > description: Manager del Dominio
> >
> > # accounts, test.it
> > dn: ou=accounts,dc=test,dc=it
> > objectClass: top
> > objectClass: organizationalUnit
> > ou: accounts
> >
> > # groups, test.it
> > dn: ou=groups,dc=test,dc=it
> > objectClass: top
> > objectClass: organizationalUnit
> > ou: groups
> >
> > Bu if i add in groups ou an entry like this:
> > dn: cn=Default,ou=groups,dc=test,dc=it
> > objectClass: top
> > objectClass: posixGroup
> > cn: Default
> > gidNumber: 500
> >
> > I had the following error:
> > Enter LDAP Password:
> > adding new entry "cn=Default,ou=groups,dc=test,dc=it"
> > ldapadd: update failed: cn=Default,ou=groups,dc=test,dc=it
> > ldap_add: Object class violation (65)
> > additional info: no structural object class provided
> >
> > Why ? Where is the problem? Someone could help me?
> >
> > This is my slapd.conf :
> > include /etc/openldap/schema/core.schema
> > include /etc/openldap/schema/cosine.schema
> > include /etc/openldap/schema/inetorgperson.schema
> > include /etc/openldap/schema/rfc2307bis.schema
> > include /etc/openldap/schema/yast2userconfig.schema
> > include /etc/openldap/schema/phpgwaccount.schema
> > include /etc/openldap/schema/phpgwcontact.schema
> > pidfile /var/run/slapd/run/slapd.pid
> > argsfile /var/run/slapd/run/slapd.args
> > modulepath /usr/lib/openldap/modules
> > database bdb
> > checkpoint 1024 5
> > cachesize 10000
> > suffix "dc=test,dc=it"
> > rootdn "cn=root,dc=test,dc=it"
> > rootpw *******
> > directory /var/lib/ldap
> > index default eq
> > index objectClass,uid,uidNumber,gidNumber eq
> > index phpgwContactOwner pres,eq,sub
> > access to attr=userPassword
> > by self write
> > by anonymous auth
> > by dn.base="cn=root,dc=test,dc=it" write
> > by * none
> > access to *
> > by self write
> > by dn.base="cn=root,dc=test,dc=it" write
> > by * read
> >
> > Thanks for yours help.
> >
> >
> > Cristian Del Carlo
> >
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.713 / Virus Database: 469 - Release Date: 6/30/2004
>
Cristian Del Carlo