Claudio,
Was the patch bellow included in the newest version of qmail-ldap?
Thanks, bruno.
YES, the check for deleted is missing. The attached patch should fix the problem. Btw. qmail-lspawn has the correct check.
-- :wq Claudio
Index: checkpassword.c =================================================================== RCS file: /home/cvs-djbware/CVS/qmail-ldap/checkpassword.c,v retrieving revision 1.71 diff -u -p -r1.71 checkpassword.c --- checkpassword.c 29 Jun 2004 17:29:42 -0000 1.71 +++ checkpassword.c 22 Oct 2004 21:19:47 -0000 @@ -136,7 +136,8 @@ check_ldap(stralloc *login, stralloc *au
r = qldap_get_status(q, &status); if (r != OK) goto fail; - if (status == STATUS_BOUNCE || status == STATUS_NOACCESS) { + if (status == STATUS_BOUNCE || status == STATUS_NOACCESS || + status == STATUS_DELETE) { qldap_free(q); return ACC_DISABLED; }
