53e2d78 Add new call find_or_guess_upn()

4 files Authored by sbose 11 years ago, Committed by simo 11 years ago,
    Add new call find_or_guess_upn()
    
    With the current approach the upn was either a pointer to a const string
    in a ldb_message or a string created with the help of talloc. This new
    function always makes it a talloc'ed value.
    
    Additionally krb5_get_simple_upn() is enhanced to handle sub-domains as
    well.