[vchkpw] Problem : Starting LDAP With Configuration IN README.LDAP at vpopmail tarball

2002-09-09 Thread Tun Gnergun




Hi

i have some problems in starting ldap server.. I 
red the README.ldap

And made changes in slapd.conf

My slapd.conf 
---

###include 
/etc/openldap/schema/qmailUser.schemaschemacheck 
off 
ldbm database 
definitions###

database 
ldbmsuffix 
"o=vpop"rootdn "cn=Manager, 
o=vpop"rootpw probadirectory 
/var/lib/ldapindex 
objectClass 
pres,eqindex 
cn,sn,uid 
eqindex qmailUID,qmailGID eqaccess to 
* by self 
write by dn="cn=manager,o=vpop" 
write by * 
write##


My qmailuser.schema

---qmailUser.schema---

attributetype ( 
1.3.6.1.4.1.8868.3.1.2 NAME 
'qmailGID' DESC 'qmail group 
id' EQUALITY 
caseIgnoreIA5Match SYNTAX 
1.3.6.1.4.1.1466.115.121.1.26{100} 
SINGLE-VALUE )

attributetype ( 
1.3.6.1.4.1.8868.3.1.3 NAME 
'qmailUID' DESC 'qmail 
userid' EQUALITY 
caseIgnoreIA5Match SYNTAX 
1.3.6.1.4.1.1466.115.121.1.26{100} 
SINGLE-VALUE )

attributetype ( 
1.3.6.1.4.1.8868.3.1.4 NAME 
'qmaildomain' DESC 'qmail 
Domain' EQUALITY 
caseIgnoreIA5Match SYNTAX 
1.3.6.1.4.1.1466.115.121.1.26{100} 
SINGLE-VALUE )attributetype ( 
1.3.6.1.4.1.8868.3.1.6 NAME 
'mailQuota' DESC 'qmail 
quota' EQUALITY 
caseIgnoreIA5Match SYNTAX 
1.3.6.1.4.1.1466.115.121.1.26{100} 
SINGLE-VALUE )attributetype ( 
1.3.6.1.4.1.8868.3.1.7 NAME 
'mailMessageStore' DESC 'qmail 
Store' EQUALITY 
caseIgnoreIA5Match SYNTAX 
1.3.6.1.4.1.1466.115.121.1.26{100} 
SINGLE-VALUE )

objectclass ( 
1.3.6.1.4.1.8868.3.1 NAME 
'qmailUser' DESC 'qmail local mail 
recipient' SUP ( top $ person $ 
organizationalPerson ) MAY ( 
qmailGID $ qmailUID $ qmaildomain 
$ 
mailQuota $ mailMessageStore $ name $ sn $ cn $ userPassword) 
)---qmailUser.schema---


Then when i am starting LDAP, i get this 
error

[root@mailnx schema]# 
/etc/rc.d/init.d/ldap startStarting slapd: 
/etc/openldap/schema/qmailUser.schema: line 41: ObjectClass not found: 
"top" 
[FAILED]

I need a little 
help

THANX IN 
ADVANCE

Best Regards
Tunc Gunergun
[EMAIL PROTECTED]



[vchkpw] Problem : Starting LDAP With Configuration IN README.LDAP at vpopmail tarball (ITS IN PLAIN TEXT FORMAT)

2002-09-09 Thread Tunc Gunergun


i have some problems in starting ldap server.. I red the README.ldap

And made changes in slapd.conf

My slapd.conf ---

###
include /etc/openldap/schema/qmailUser.schema
schemacheck off
###
# ldbm database definitions
###

database ldbm
suffix  o=vpop
rootdn  cn=Manager, o=vpop
rootpw  proba
directory   /var/lib/ldap
index   objectClass pres,eq
index   cn,sn,uid   eq
index   qmailUID,qmailGID   eq
access to *
by self write
by dn=cn=manager,o=vpop write
by * write

##


My qmailuser.schema

---qmailUser.schema---

attributetype ( 1.3.6.1.4.1.8868.3.1.2
NAME 'qmailGID'
DESC 'qmail group id'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.8868.3.1.3
NAME 'qmailUID'
DESC 'qmail userid'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100}
SINGLE-VALUE )

attributetype ( 1.3.6.1.4.1.8868.3.1.4
NAME 'qmaildomain'
DESC 'qmail Domain'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100}
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.8868.3.1.6
NAME 'mailQuota'
DESC 'qmail quota'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100}
SINGLE-VALUE )
attributetype ( 1.3.6.1.4.1.8868.3.1.7
NAME 'mailMessageStore'
DESC 'qmail Store'
EQUALITY caseIgnoreIA5Match
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{100}
SINGLE-VALUE )

objectclass ( 1.3.6.1.4.1.8868.3.1
NAME 'qmailUser'
DESC 'qmail local mail recipient'
SUP ( top $ person $ organizationalPerson )
MAY ( qmailGID $ qmailUID $ qmaildomain $
mailQuota $ mailMessageStore $ name $ sn $ cn $
userPassword) )
---qmailUser.schema---


Then when i am starting LDAP, i get this error

[root@mailnx schema]# /etc/rc.d/init.d/ldap start
Starting slapd: /etc/openldap/schema/qmailUser.schema: line 41: ObjectClass
not found: top
   [FAILED]

I need a little help

THANX IN ADVANCE

Best Regards
Tunc Gunergun
[EMAIL PROTECTED]






Re: [vchkpw] Problem : Starting LDAP With Configuration IN README.LDAP at vpopmail tarball (ITS IN PLAIN TEXT FORMAT)

2002-09-09 Thread Sunagawa Koji / 砂川 孝児


Hi, Tunc


Tunc Gunergun [EMAIL PROTECTED] wrote:
My slapd.conf ---

###
include /etc/openldap/schema/qmailUser.schema
schemacheck off

Here is my a part of slapd.conf.
---
#
include /usr/local/etc/openldap/schema/core.schema
include /usr/local/etc/openldap/schema/cosine.schema
include /usr/local/etc/openldap/schema/inetorgperson.schema
include /usr/local/etc/openldap/schema/nis.schema
include /usr/local/etc/openldap/schema/qmailUser.schema
schemacheck off
---


---
Sunagawa Koji[EMAIL PROTECTED]
 Okinawa FreeBSD Users Group  http://www.ofug.net/~koj/