orion / freeipa

Forked from freeipa 5 years ago
Clone

b238fc1 Avoid internal error when user is not Trust admin

2 files Authored by mkosek 11 years ago, Committed by rcritten 11 years ago,
    Avoid internal error when user is not Trust admin
    
    When user tries to perform any action requiring communication with
    trusted domain, IPA server tries to retrieve a trust secret on his
    behalf to be able to establish the connection. This happens for
    example during group-add-member command when external user is
    being resolved in the AD.
    
    When user is not member of Trust admins group, the retrieval crashes
    and reports internal error. Catch this exception and rather report
    properly formatted ACIError. Also make sure that this exception is
    properly processed in group-add-member post callback.
    
    https://fedorahosted.org/freeipa/ticket/3390
    
        
file modified
+1 -1
file modified
+23 -4