hello!
 
My name is Cui chengquan! I'm living in Beijing,China!
 
Can you help me in qmail-ldap setting?
 
when I setting openldap-2.0.7 and qmail-1.03 + qmail-ldap-patch-20010501,run qmail-ldaplookup display such message!
 
--------------------------------------------------------------------------------------------------------------
[root@ns1 bin]# ./qmail-ldaplookup -u cqcui
init_ldap:      passwords are not compared via rebind
                localdelivery:   on
                clustering:      off
                ldapobjectclass:
                homedirmaker:   
                defaultDotMode:  ldaponly
                defaultQuota:   
                QuotaWarning:
------
undefined
------
ldap_lookup:    searching with (uid=cqcui)
ERROR: ldap_lookup not successful: Will try a local password lookup
local_lookup:   succeeded
                user cqcui found in passwd database
                uid: 6003
                gid: 100
                home: /home/cqcui
                maildir: (null pointer) (from ~/.qmail)
No more information available
----------------------------------------------------------------------------------------------------------------
 
and openldap-2.0.7's slapd.conf file
 
----------------------------------------------------------------------------------------------------------------
include         /usr/local/ldap/etc/openldap/schema/core.schema
include         /usr/local/ldap/etc/openldap/schema/qmail.schema
pidfile         /usr/local/ldap/var/slapd.pid
argsfile        /usr/local/ldap/var/slapd.args
database        ldbm
suffix          "dc=renmin, dc=com"
rootdn          "cn=Manager, dc=renmin, dc=com"
directory       /usr/local/ldap/var/openldap-ldbm
index   objectClass     eq
-----------------------------------------------------------------------------------------------------------------
 
 
 
and ldap initial.ldif --add ldap initial entries file
-----------------------------------------------------------------------------------------------------------------
dn: dc=renmin, dc=com
objectclass: dcObject
objectclass: organization
o: renmin
dc: renmin
 
dn: cn=Manager, dc=renmin, dc=com
objectclass: organizationalRole
cn: Manager
------------------------------------------------------------------------------------------------------------------
 
 
 
and cqcui.ldif - add a qmail user file
------------------------------------------------------------------------------------------------------------------
dn: cn=cqcui, dc=renmin, dc=com
userpassword: {crypt}1u2ghk
cn: cqcui
sn: cqcui
objectclass: top
objectclass: person
objectclass: inetOrgPerson
objectclass: qmailUser
mail: [EMAIL PROTECTED]
mailhost: 202.108.229.104
mailmessagestore: /home/cqcui
uid: cqcui
accountstatus: active
mailquota: 100000000S, 1000000C
--------------------------------------------------------------------------------------------------------------------
 
can you tell me,what's wrong in my setting?
 
thank you!!!

Reply via email to