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

Re: Adding first entry in openldap on solaris

"santosh" <skanade@mahindrabt.com> writes:

> Hi..
> Give me proper solution according to my problem.
> I am facing this problem last 2 weeks .
> openldap server configuration is ok .slapd server is started.
> on solaris any other seeting required as per my problem.
> I am trying to add a new entry in openldap on solaris.
> I run command as below
> ldapadd -D "cn=Manager,dc=example,dc=com" -w secret -f group.ldif
> Its gives following error
> bash-2.03# ldapadd -D "cn=Manager,dc=example,dc=com" -w secret -f group.ldif
> adding new entry cn=Users,ou=group,dc=example,dc=com
> ldap_add_s: Undefined attribute type
> This is My Ldif file which i am trying to Add .
> bash-2.03# cat group.ldif
> dn: cn=Users,ou=group,dc=example,dc=com
> cn: Users
> gidNumber: 102
> objectClass: top
> objectClass: posixGroup

> include		/usr/local/etc/openldap/schema/core.schema
> # Define global ACLs to disable default read access.

object class posixgroup is not available, thus the attribute gidnumber
is not known. Include nis.schema in slapd.conf


Dieter Klünter | Systemberatung
GPG Key ID:01443B53