summaryrefslogtreecommitdiffstats
path: root/src/kim/lib/mac
diff options
context:
space:
mode:
authorAlexandra Ellwood <lxs@mit.edu>2008-08-15 22:17:09 +0000
committerAlexandra Ellwood <lxs@mit.edu>2008-08-15 22:17:09 +0000
commit2b88f3ab8a09d818ae4b38d90da4f2fadae78ae2 (patch)
tree8d0ff682edbbffa16a753e2f390cccafe17e9c3e /src/kim/lib/mac
parent6ac687b64e61a5ab5a0874d32105d03a12304d30 (diff)
downloadkrb5-2b88f3ab8a09d818ae4b38d90da4f2fadae78ae2.tar.gz
krb5-2b88f3ab8a09d818ae4b38d90da4f2fadae78ae2.tar.xz
krb5-2b88f3ab8a09d818ae4b38d90da4f2fadae78ae2.zip
mac port of kim should not depend on kipc
kipc is not necessarily built ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20663 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kim/lib/mac')
-rw-r--r--src/kim/lib/mac/kim_os_identity.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kim/lib/mac/kim_os_identity.c b/src/kim/lib/mac/kim_os_identity.c
index 02f953d6c0..8088be1838 100644
--- a/src/kim/lib/mac/kim_os_identity.c
+++ b/src/kim/lib/mac/kim_os_identity.c
@@ -25,7 +25,7 @@
*/
#include <pwd.h>
-#include <Kerberos/kipc_session.h>
+#include <unistd.h>
#include "kim_os_private.h"
@@ -38,7 +38,7 @@ kim_error kim_os_identity_create_for_username (kim_identity *out_identity)
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 {