A NOTE has been added to this issue. 
====================================================================== 
http://www.dbmail.org/mantis/view.php?id=427 
====================================================================== 
Reported By:                lkneschke
Assigned To:                
====================================================================== 
Project:                    DBMail
Issue ID:                   427
Category:                   Authentication layer
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
target:                      
====================================================================== 
Date Submitted:             09-Oct-06 00:38 CEST
Last Modified:              20-Oct-06 23:10 CEST
====================================================================== 
Summary:                    client_idnr gets not fetched from ldap
Description: 
I have this line in dbmail.conf:
FIELD_CID=dbmailGID

But any autocreated user has as value of
65535
in the dbmail_users table(column client_idnr).

It would be nice if could fetch the correct value from ldap.
====================================================================== 

---------------------------------------------------------------------- 
 aaron - 09-Oct-06 01:36  
---------------------------------------------------------------------- 
I guess so? But I'd prefer not.

The client_idnr is looked up from LDAP whenever it is needed. I am not
comfortable caching the client_idnr because it could change in the LDAP
directory at any time.

Is there some value to having this information available in the database? 

---------------------------------------------------------------------- 
 lkneschke - 09-Oct-06 11:05  
---------------------------------------------------------------------- 
I was not aware that the value from LDAP is used directly.
Having this value in the sql table would be nice, as it would allow to
summarize quota by customer easily. But that's also possible if you filter
by a login name suffix([EMAIL PROTECTED]) for exapmle.

Feel free to ignore my request. :-) 

---------------------------------------------------------------------- 
 aaron - 20-Oct-06 23:10  
---------------------------------------------------------------------- 
It occurs to me that we can update the cached client_idnr on every LOGIN. I
will think about how to do this and see if it can be done just a little bit
of code. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
09-Oct-06 00:38 lkneschke      New Issue                                    
09-Oct-06 01:36 aaron          Note Added: 0001483                          
09-Oct-06 11:05 lkneschke      Note Added: 0001489                          
20-Oct-06 23:10 aaron          Note Added: 0001507                          
======================================================================

Reply via email to