summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-09-02 02:04:41 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:39:46 -0500
commitd62c3cff518ffd701b967bb12b487f097b550c38 (patch)
tree2a6fc6f46c2716118f9daef564bd5c56cf314d34 /source3/libads
parentef92f91cd7fa7c6dfa3c805882083c951cb3add6 (diff)
downloadsamba-d62c3cff518ffd701b967bb12b487f097b550c38.tar.gz
samba-d62c3cff518ffd701b967bb12b487f097b550c38.tar.bz2
samba-d62c3cff518ffd701b967bb12b487f097b550c38.zip
r17997: Ensure lockdir exists for winbindd. Store tmp
krb5.conf files under lockdir, not privatedir. Jeremy. (This used to be commit c59eff3e53f5bfae3a9fb136e8566628339863ad)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/kerberos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index 4ddbf0abc5..a077ce1fce 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -474,7 +474,7 @@ int kerberos_kinit_password(const char *principal,
BOOL create_local_private_krb5_conf_for_domain(const char *realm, const char *domain, struct in_addr ip)
{
XFILE *xfp = NULL;
- char *dname = talloc_asprintf(NULL, "%s/smb_krb5", lp_private_dir());
+ char *dname = talloc_asprintf(NULL, "%s/smb_krb5", lp_lockdir());
char *fname = NULL;
char *file_contents = NULL;
size_t flen = 0;