shb
02.05.04, 19:10
hi ich versuche einen ldap server zu konfiguieren aber ich glaub ich bin zu doof ich habe ein buch "Ldap unter Linux" und webmin und wenn ich die conf files erstelle will er nicht mehr starten. bitte helft mit ich habe ein conf file und 2 include files ich werde die mal hier posten und ich hoffe ihr könnt mir helfen
die sldap.conf
include /etc/openldap/sldap.at.conf
include /etc/openldap/sldap.oc.conf
pidfile /var/run/sldap.pid
argsfile /var/run/sldap.args
loglevel 256
schemacheck on
sizelimit 500
timelimit 3600
#
#Datenbank
#
database ldbm
lastmod off
cachsize 1000
dbcachesize 100000
directory /var/lib/ldap
suffix "o=Intern"
rootdn "cn=Admin, o=Intern"
rootpw {CRYPT}zs0QLoUVZvS6E
#
#Replica
#
#
#Rechte
#
defaulttaccess read
access to attr=userPassword by self write by * none
access to attr=telephoneNumber by self write by * read
access to dn="cn=Admin,o=Intern" by * none
access to * by * read
#eof
die slapd.at.conf
attribute photo bin
attribute personalsignature bin
attribute jpegphoto bin
attribute audio bin
attribute labeleurl ces
attribute ref ces
attribute userpassword ces
attribute telephonenumber tel
attribute facsimiletelephonenumber fax tel
attribute pagertelefonenumber pager tel
attribute homephone tel
attribute mobiletelefonenumber handy tel
attribute aliasedObjectName dn
attribute member dn
attribute owner dn
attribute seealso dn
attribute manager dn
attribute documentauthor dn
attribute secretary dn
attribute lastmodifiedby dn
attribute associatedname dn
attribute naminglink dn
attribute reciprocalnaminglink dn
und hier noch die slapd.oc.conf
objectclass organization
requires
objectClass,
o
allows
businessCategory,
description
objectclass organizationUnit
requires
objectClass,
ou
allows
businessCategory
objectclass person
requires
objectClass,
sn,
cn
allows
description,
seeAlso,
telephonenumber,
userPassword
objectclass referral
requires
ref,
objectClass
ich hoffe ihr könnt mir helfen, ich verzeifle bald.
cu SHB
die sldap.conf
include /etc/openldap/sldap.at.conf
include /etc/openldap/sldap.oc.conf
pidfile /var/run/sldap.pid
argsfile /var/run/sldap.args
loglevel 256
schemacheck on
sizelimit 500
timelimit 3600
#
#Datenbank
#
database ldbm
lastmod off
cachsize 1000
dbcachesize 100000
directory /var/lib/ldap
suffix "o=Intern"
rootdn "cn=Admin, o=Intern"
rootpw {CRYPT}zs0QLoUVZvS6E
#
#Replica
#
#
#Rechte
#
defaulttaccess read
access to attr=userPassword by self write by * none
access to attr=telephoneNumber by self write by * read
access to dn="cn=Admin,o=Intern" by * none
access to * by * read
#eof
die slapd.at.conf
attribute photo bin
attribute personalsignature bin
attribute jpegphoto bin
attribute audio bin
attribute labeleurl ces
attribute ref ces
attribute userpassword ces
attribute telephonenumber tel
attribute facsimiletelephonenumber fax tel
attribute pagertelefonenumber pager tel
attribute homephone tel
attribute mobiletelefonenumber handy tel
attribute aliasedObjectName dn
attribute member dn
attribute owner dn
attribute seealso dn
attribute manager dn
attribute documentauthor dn
attribute secretary dn
attribute lastmodifiedby dn
attribute associatedname dn
attribute naminglink dn
attribute reciprocalnaminglink dn
und hier noch die slapd.oc.conf
objectclass organization
requires
objectClass,
o
allows
businessCategory,
description
objectclass organizationUnit
requires
objectClass,
ou
allows
businessCategory
objectclass person
requires
objectClass,
sn,
cn
allows
description,
seeAlso,
telephonenumber,
userPassword
objectclass referral
requires
ref,
objectClass
ich hoffe ihr könnt mir helfen, ich verzeifle bald.
cu SHB