[prev in list] [next in list] [prev in thread] [next in thread] 

List:       qmail-ldap
Subject:    Re: Strange: deleted accounts can still POP in
From:       Bruno_Negrão <vpopmail () engepel ! com ! br>
Date:       2004-11-22 12:00:10
Message-ID: 002701c4d08b$cac73160$5100a8c0 () egp
[Download RAW message or body]

> Claudio,
> Was the patch bellow included in the newest version of qmail-ldap?
People,  Claudio privately answered me "-Yes.", so this patch was added to 
qmail-ldap.

bruno.

>>
>> 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;
>>  }
>>
> 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic