summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-20 10:13:09 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-20 14:05:32 +1000
commitee90e0103094cd0289c42cc1f25fe4960b3c436b (patch)
treed49cacdfc39b2d46de67a9bf1f315c31a691dd7a /source3
parent6c9a78074a429773cefd1a3c798b7e3ad7d4c325 (diff)
downloadsamba-ee90e0103094cd0289c42cc1f25fe4960b3c436b.tar.gz
samba-ee90e0103094cd0289c42cc1f25fe4960b3c436b.tar.bz2
samba-ee90e0103094cd0289c42cc1f25fe4960b3c436b.zip
s3-winbind Move winbind privileged socket dir into state_path()
On default installs, this will be the same as the old lock_path(), but lock_path() is now a directory that can safely be mapped to /var/locks and removed by the OS on reboot. It is important that the directory permissions of this directory be preserved, as they may be customised. Andrew Bartlett
Diffstat (limited to 'source3')
-rw-r--r--source3/winbindd/winbindd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index 3d29e3fd51..1646821a1f 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -951,7 +951,7 @@ const char *get_winbind_pipe_dir(void)
char *get_winbind_priv_pipe_dir(void)
{
- return lock_path(WINBINDD_PRIV_SOCKET_SUBDIR);
+ return state_path(WINBINDD_PRIV_SOCKET_SUBDIR);
}
static bool winbindd_setup_listeners(void)