7ba361e Be more verbose when logging errors in info LDAP plugin

2 files Authored by rcritten 8 years ago, Committed by puiterwijk 8 years ago,
    Be more verbose when logging errors in info LDAP plugin
    
    The infoldap plugin was logging raw exceptions but not providing
    any context to them.
    
    This breaks some of the calls into separate try/except to provide
    more precise failure reasons.
    
    Also fix a typo in the authldap plugin and handle ValueError
    when validating the template syntax.
    
    https://fedorahosted.org/ipsilon/ticket/39
    
    Signed-off-by: Rob Crittenden <rcritten@redhat.com>
    Reviewed-by: Simo Sorce <simo@redhat.com>
    Reviewed-by: John Dennis <jdennis@redhat.com>
    
        
file modified
+28 -5
file modified
+7 -1