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

ldap



Hello,
I'm already some days busy with ldap and it still doesn't work.
This are the configurations i did

First of all ldap.conf

include		/usr/local/etc/openldap/schema/core.schema
include		/usr/local/etc/openldap/slapd.at.conf
include		/usr/local/etc/openldap/slapd.oc.conf
schemacheck	on

pidfile		/usr/local/var/slapd.pid
argsfile	/usr/local/var/slapd.args

access to *
	by self write
	by anonymous auth
	by * read

defaultaccess	read
database	ldbm
readonly 	off
suffix		"o=linuxdomain.es"
rootdn		"cn=root,o=linuxdomain.es"
rootpw		ldap
directory	/usr/local/var/openldap-ldbm

This is the slapd.at.conf file

attribute description		ces
attribute streetadres		ces
attribute postalcode		ces
attribute cellular		tel

This is the slapd.oc.conf

objectclass top
	requires
		objectclass

objectclass person
	requires sn,
		 cn,
		 mail,
		 objectclass

	allows
		 description,
		 streetadres,
		 postalcode,
		 cellular

This is the ldap.conf file

host 127.0.0.1
base o=linuxdomain.es

And last of all the core.schema file

objectclass ( 2.5.6.0 NAME 'top' ABSTRACT )
#  MUST objectClass )

objectclass ( 2.5.6.6 NAME 'person' SUP top STRUCTURAL
  MUST ( sn $ cn $ mail )
  MAY ( description $ streetadres $ postalcode $ cellular )
 )
)


When i now want to execute this:
	[root@linuxserver bin]# /usr/local/libexec/slapd
than i get an error:
	/usr/local/etc/openldap/schema/core.schema: line 7: AttributeType not
found: "sn"

I have changed already lot's of things but i don't know what i'm doing
wrong. 
Can anyone help me please?
Thank you very much

-- 
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net