git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f6de1a0
)
make homedir work
author
Love Hörnquist Åstrand
<lha@kth.se>
Thu, 26 Mar 2009 01:09:43 +0000
(
01:09
+0000)
committer
Love Hörnquist Åstrand
<lha@kth.se>
Thu, 26 Mar 2009 01:09:43 +0000
(
01:09
+0000)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24952
ec53bebd
-3082-4978-b11e-
865c3cabbd6b
lib/krb5/context.c
patch
|
blob
|
history
diff --git
a/lib/krb5/context.c
b/lib/krb5/context.c
index 63ddf48b7ef963a368b07ab1a8a97014b25c7c74..7a9070a20e8ce042adec31e914955bf1ed3555ac 100644
(file)
--- a/
lib/krb5/context.c
+++ b/
lib/krb5/context.c
@@
-306,6
+306,8
@@
krb5_init_context(krb5_context *context)
}
HEIMDAL_MUTEX_init(p->mutex);
+ p->flags |= KRB5_CTX_F_HOMEDIR_ACCESS;
+
ret = krb5_get_default_config_files(&files);
if(ret)
goto out;
@@
-1320,7
+1322,7
@@
krb5_set_home_dir_access(krb5_context context, krb5_boolean allow)
HEIMDAL_MUTEX_lock(&homedir_mutex);
old = allow_homedir;
allow_homedir = allow;
- HEIMDAL_MUTEX_lock(&homedir_mutex);
+ HEIMDAL_MUTEX_
un
lock(&homedir_mutex);
}
return old;