s3:winbind tidy up connecting the winbind sockets.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 17 May 2010 09:34:32 +0000 (19:34 +1000)
committerStefan Metzmacher <metze@samba.org>
Mon, 31 May 2010 19:36:55 +0000 (21:36 +0200)
commit61eb56be4ea1f4eb26f63b985aeb52cdb1183328
tree22df8a98d7a653c8a94e1d0aa19e3bf1e7556c61
parente5ebc52e9fd45346a74e2c421f2471b5e6cab998
s3:winbind tidy up connecting the winbind sockets.

By putting this code inline in winbindd_setup_listeners() we remove 2
static variables and simplify the code.

By putting the get_winbind_priv_pipe_dir() in the same file, we allow
it to be reimplemented in s3compat.

Andrew Bartlett

Signed-off-by: Stefan Metzmacher <metze@samba.org>
source3/winbindd/winbindd.c
source3/winbindd/winbindd_proto.h
source3/winbindd/winbindd_util.c