The following issue has been RESOLVED. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=747 
====================================================================== 
Reported By:                Toast
Assigned To:                Toast
====================================================================== 
Project:                    DBMail
Issue ID:                   747
Category:                   Authentication layer
Reproducibility:            always
Severity:                   feature
Priority:                   none
Status:                     resolved
target:                      
Resolution:                 fixed
Fixed in Version:           2.3.5
====================================================================== 
Date Submitted:             15-Dec-08 15:51 CET
Last Modified:              28-Dec-08 17:50 CET
====================================================================== 
Summary:                    PATCH: authldap.c - custom ldap query
Description: 
It's sometimes necessary to exclude records within a ldap query, e.g. when
an account is disabled. This patch adds a new config option, query_string.
If query_string is not found, the ldap query will be build as usual. 

Config example:
[LDAP]
....
query_string = (&(mail=%s)(someMailAliasAttribute=%s)(active=TRUE))
...

The format string %s will be replaced with the input address of
auth_check_user_ext().


====================================================================== 

---------------------------------------------------------------------- 
 paul - 28-Dec-08 17:50  
---------------------------------------------------------------------- 
patch accepted with small modification.

Alex, please provide patches generated with 'git-format-patch' next time,
if you will. Thanks.
 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
15-Dec-08 15:51 Toast          New Issue                                    
15-Dec-08 15:51 Toast          File Added: query.patch                      
28-Dec-08 17:50 paul           Note Added: 0002723                          
28-Dec-08 17:50 paul           Assigned To               => Toast           
28-Dec-08 17:50 paul           Status                   new => resolved     
28-Dec-08 17:50 paul           Resolution               open => fixed       
28-Dec-08 17:50 paul           Fixed in Version          => 2.3.5           
======================================================================

_______________________________________________
Dbmail-dev mailing list
[email protected]
http://twister.fastxs.net/mailman/listinfo/dbmail-dev

Reply via email to