Hello everybody,
I installed the latest qmail-ldap patch on our server. After adding an user
in LDAP, I tried to check the system. This is what I get
-----------Output of telnet to port 110 ----------------
telnet 10.5.2.11 110
Trying 10.5.2.11...
Connected to 10.5.2.11.
Escape character is '^]'.
+OK <[EMAIL PROTECTED]>
user mailadmin
+OK
pass password
-ERR user record incorrect <------------------ the ERROR
Connection closed by foreign host.
------Output of qmail-ldaplookup - u --------------
./qmail-ldaplookup -u mailadmin
init_ldap: passwords are not compared via rebind
localdelivery: off
clustering: off
ldapobjectclass: qmailuser
homedirmaker: /var/qmail/control/makesdir.sh
defaultDotMode: ldaponly
defaultQuota: 2000000S, 1000C
QuotaWarning:
------
Your mailbox is almost full
------
qldap_lookup: searching with (&(objectclass=qmailuser)(uid=mailadmin))
qldap_lookup: succeeded, found:
uid: mailadmin
qmailUID: 11184
qmailGID: 2110
accountStatus: undefined
mailMessageStore: mailadmin/
homeDirectory: /var/qmail/maildirs
mailHost: sr2.railnet.gov.in
mail: [EMAIL PROTECTED]
mailAlternateAddress: no entry in the database
mailQuotaSize: no entry in the database
mailQuotaCount: no entry in the database
mailQuota: no entry in the database
mailForwardingAddress: no entry in the database
deliveryProgramPath: no entry in the database
qmailDotMode: no entry in the database
deliveryMode: no entry in the database
mailReplyText: no entry in the database
mailSizeMax: no entry in the database
------Output of qmail-ldaplookup - m --------------
./qmail-ldaplookup -m [EMAIL PROTECTED]
init_ldap: passwords are not compared via rebind
localdelivery: off
clustering: off
ldapobjectclass: qmailuser
homedirmaker: /var/qmail/control/makesdir.sh
defaultDotMode: ldaponly
defaultQuota: 2000000S, 1000C
QuotaWarning:
------
Your mailbox is almost full
------
qldap_lookup: searching with
(&(objectclass=qmailuser)(|([EMAIL PROTECTED])(mailAlternate
[EMAIL PROTECTED])))
qldap_lookup: succeeded, found:
uid: mailadmin
qmailUID: 11184
qmailGID: 2110
accountStatus: undefined
mailMessageStore: mailadmin/
homeDirectory: /var/qmail/maildirs
mailHost: sr2.railnet.gov.in
mail: [EMAIL PROTECTED]
mailAlternateAddress: no entry in the database
mailQuotaSize: no entry in the database
mailQuotaCount: no entry in the database
mailQuota: no entry in the database
mailForwardingAddress: no entry in the database
deliveryProgramPath: no entry in the database
qmailDotMode: no entry in the database
deliveryMode: no entry in the database
mailReplyText: no entry in the database
mailSizeMax: no entry in the database
------------LDAP record of user ---------------------
dn: cn=mailadmin, ou=S&T-HQ, O=Southern Railway
sn: admin
mail: [EMAIL PROTECTED]
objectClass: top
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: radiusprofile
objectClass: qmailUser
uid: mailadmin
cn: mailadmin
qmailUID: 11184
qmailGID: 2110
homeDirectory: /var/qmail/maildirs
mailMessageStore: mailadmin/
mailHost: sr2.railnet.gov.in
-----END-------------
What could be wrong ? Please help
Regards,
Michael Fuller,
Network Administrator - RAILNET,
Signal and Telecommunication Department,
Southern Railway,
Park Town, Chennai - 600 003.
Phone: +91-44-25331962, +91-44-25348123 / 627
E-Mail : [EMAIL PROTECTED]