[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
a few issues
- To: openldap-software@OpenLDAP.org
- Subject: a few issues
- From: Mohammad Halawah <mhalawah@gmail.com>
- Date: Mon, 11 Apr 2005 17:47:10 +0200
- Content-disposition: inline
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:from:to:subject:date:user-agent:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=ixcDDy6HA0DGXcqeT9IU7aIJOZLa1liZePD1L+Qk+gBK/2BQrcCiRm4VUL1f2WLfSaayZc/rcQWVUpoKOmIPA/XXArLgQmtKKWfAtAe3PxpwEn+LTP0NUyypPT6hA/XsLTn1X8bEOO0sazDt78hUcZeX1xa92hTdZ6hDnDBahz8=
- User-agent: KMail/1.7.2
Hello ,
I have questions
1)when I use the gq as gui to admin my LDAP server, I get the following
message "could not bind to LDAP connection to 'example.com' .Invalid DN
syntax".
Does any one have an idea what is wrong here.?
2)when I add
dn: ou=Group,dc=example,dc=com
ou: Group
objectClass: organizationalUnit
objectClass: top
dn: cn=root,ou=Group,dc=example,dc=com
cn: root
objectClass: posixGroup
objectClass: top
gidNumber: 0
memberUid: 0
dn: cn=users,ou=Group,dc=example,dc=com
cn: users
objectClass: posixGroup
objectClass: top
gidNumber: 5000
memberUid: asuffield
memberUid: test
memberUid: test2
dn: cn=admin,ou=Group,dc=example,dc=com
cn: admin
objectClass: posixGroup
objectClass: top
gidNumber: 5001
memberUid: asuffield
&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&&
the slapd -t command would give the following
/etc/ldap/slapd.conf: line 36: unknown directive "dn:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 37: unknown directive "ou:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 38: unknown directive "objectClass:" in bdb
database definition (ignored)
/etc/ldap/slapd.conf: line 39: unknown directive "objectClass:" in bdb
database definition (ignored)
/etc/ldap/slapd.conf: line 41: unknown directive "dn:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 42: unknown directive "cn:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 43: unknown directive "objectClass:" in bdb
database definition (ignored)
/etc/ldap/slapd.conf: line 44: unknown directive "objectClass:" in bdb
database definition (ignored)
/etc/ldap/slapd.conf: line 45: unknown directive "gidNumber:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 46: unknown directive "memberUid:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 48: unknown directive "dn:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 49: unknown directive "cn:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 50: unknown directive "objectClass:" in bdb
database definition (ignored)
/etc/ldap/slapd.conf: line 51: unknown directive "objectClass:" in bdb
database definition (ignored)
/etc/ldap/slapd.conf: line 52: unknown directive "gidNumber:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 53: unknown directive "memberUid:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 54: unknown directive "memberUid:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 55: unknown directive "memberUid:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 57: unknown directive "dn:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 58: unknown directive "cn:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 59: unknown directive "objectClass:" in bdb
database definition (ignored)
/etc/ldap/slapd.conf: line 60: unknown directive "objectClass:" in bdb
database definition (ignored)
/etc/ldap/slapd.conf: line 61: unknown directive "gidNumber:" in bdb database
definition (ignored)
/etc/ldap/slapd.conf: line 62: unknown directive "memberUid:" in bdb database
definition (ignored)
%%%%%%%%%%%%%%%%%%%%%%%%%%
my slapd.conf
%%%%%%%%%%%%%%%%%%%%%%%%%%
# slapd 2.1.30
include /etc/ldap/schema/core.schema
include /etc/ldap/schema/cosine.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/inetorgperson.schema
include /etc/ldap/schema/misc.schema
include /etc/ldap/schema/java.schema
include /etc/ldap/schema/corba.schema
include /etc/ldap/schema/openldap.schema
pidfile /var/run/slapd/slapd.pid
argsfile /var/run/slapd.args
loglevel 0
schemacheck on
modulepath /usr/lib/ldap
moduleload back_bdb
binddn "cn=admin,dc=example,dc=com"
bindpw secret
########## now we define the db directory directives ############
backend bdb
database bdb
readonly off
suffix "dc=example,dc=com"
directory "/var/lib/ldap"
index cn,sn,uid pres,eq,sub
index objectclass eq
lastmod on
rootdn "cn=admin,dc=example,dc=com"
rootpw secret
access to attribute=userPassword
by dn.base="cn=admin,dc=example,dc=com" write
by anonymous auth
by self write
by * none
access to dn.base="cn=admin,dc=example,dc=com" by * read
access to *
by self write
by dn.base="cn=admin,dc=example,dc=com" write
by * read
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
thanx in advance
Mohammad