From d62c3cff518ffd701b967bb12b487f097b550c38 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 2 Sep 2006 02:04:41 +0000 Subject: r17997: Ensure lockdir exists for winbindd. Store tmp krb5.conf files under lockdir, not privatedir. Jeremy. (This used to be commit c59eff3e53f5bfae3a9fb136e8566628339863ad) --- source3/nsswitch/winbindd.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/nsswitch/winbindd.c') diff --git a/source3/nsswitch/winbindd.c b/source3/nsswitch/winbindd.c index f6e742ac20..df8f821c8b 100644 --- a/source3/nsswitch/winbindd.c +++ b/source3/nsswitch/winbindd.c @@ -963,6 +963,10 @@ int main(int argc, char **argv) exit(1); } + if (!directory_exist(lp_lockdir(), NULL)) { + mkdir(lp_lockdir(), 0755); + } + /* Setup names. */ if (!init_names()) -- cgit