int uam_setup(const char *path) { if (uam_register(UAM_SERVER_LOGIN_EXT, path, "Client Krb v2", gss_login, gss_logincont, gss_logout, gss_login_ext) < 0) if (uam_register(UAM_SERVER_LOGIN, path, "Client Krb v2", gss_login, gss_logincont, gss_logout) < 0) return -1; return 0; }
static int uam_setup(const char *path) { if (uam_register(UAM_SERVER_LOGIN, path, "PGPuam 1.0", pgp_login, pgp_logincont, NULL) < 0) return -1; return 0; }
static int uam_setup(void *handle, const char *path) { AFPObj *obj = (AFPObj *)handle; if (gss_create_principal(obj) != 0) return -1; return uam_register(UAM_SERVER_LOGIN_EXT, path, "Client Krb v2", gss_login, gss_logincont, gss_logout, gss_login_ext); }
static int uam_setup(const char *path) { return uam_register(UAM_SERVER_LOGIN_EXT, path, "Client Krb v2", gss_login, gss_logincont, gss_logout, gss_login_ext); }