[Bug 1583] User principal name in AIX

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Thu Oct 29 23:58:01 EST 2009


https://bugzilla.mindrot.org/show_bug.cgi?id=1583

--- Comment #11 from Miguel Sanders <miguel.sanders at arcelormittal.com> 2009-10-29 23:58:00 EST ---
Hi Darren

I made some changes to the patch you provided earlier on.
Since enduserdb() will free all allocations made by the getuserattr()
call, it must be located before the actual return.
I also renamed the functions to platform_krb5_get_principal_name and
aix_krb5_get_principal_name.
Finally, since the two user attributes are standard AIX user
attributes, there is no need for an additional configure check. I
changed the platform_krb5_get_principal_name function to

char *
platform_krb5_get_principal_name(const char *pw_name)
{
#ifdef _AIX
    return aix_krb5_get_principal_name(pw_name);
#else
    return NULL;
#endif
}

Could you review the patch?

-- 
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.


More information about the openssh-bugs mailing list