Hi Stuart, 

This is certainly a bug. Thanks a lot for the patch. This is certainly a
bug. It has been merged.

http://bugzilla.mkgnu.net/show_bug.cgi?id=1370

Kristis

On Thu, 2009-06-25 at 13:06 +0100, Stuart Auchterlonie wrote:
> Hi All,
> 
> We've a situation where the majority of our users have a                      
>                   
> mapping that we can retrieve via LDAP. This works just fine.                  
>                   
>                                                                               
>                   
> However we have a number of users that we can't get a                         
>                   
> Bugzilla <-> svn username mapping from LDAP. For these                        
>                   
> users, we've defined the explicit mappings in daemon.conf                     
>                   
> under the "mapping_values" section.                                           
>                   
>                                                                               
>                   
> What i found was that if an error is raised in the username                   
>                   
> lookup in the AD section of the code, a successful lookup                     
>                   
> via mapping_values didn't reset the error code, resulting                     
>                   
> in a failure to lookup the username mapping.                                  
>                   
>                                                                               
>                   
> So i've put together a little patch that resets the error                     
>                   
> condition if the user is successfully looked up via                           
>                   
> mapping_values.                                                               
>                   
>                                                                               
>                   
> Please find the patch attached....                                            
>                   
> 
> 
> Stuart
> _______________________________________________
> scmbug-users mailing list
> [email protected]
> http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
scmbug-users mailing list
[email protected]
http://lists.mkgnu.net/cgi-bin/mailman/listinfo/scmbug-users

Reply via email to