kipc is not necessarily built
ticket: new
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20663
dc483132-0cff-0310-8789-
dd5450dbe970
environment_ccache); }
} else {
+#ifdef USE_CCAPI
kim_string type = NULL;
kim_string name = NULL;
cc_context_t cc_context = NULL;
err = kim_ccache_get_type (io_ccache, &type);
if (!err && strcmp (type, "API")) {
+#endif
kim_string display_name = NULL;
/* Not a CCAPI ccache; can't set to default */
}
kim_string_free (&display_name);
+#ifdef USE_CCAPI
}
if (!err) {
if (cc_ccache ) { cc_ccache_release (cc_ccache); }
kim_string_free (&name);
kim_string_free (&type);
+#endif
}
}
*/
#include <pwd.h>
-#include <Kerberos/kipc_session.h>
+#include <unistd.h>
#include "kim_os_private.h"
if (!err && !out_identity) { err = param_error (1, "out_identity", "NULL"); }
if (!err) {
- struct passwd *pw = getpwuid (kipc_session_get_session_uid ());
+ struct passwd *pw = getpwuid (getuid ());
if (pw) {
err = kim_identity_create_from_string (out_identity, pw->pw_name);
} else {