smbd: Split create_conn_struct into a fn that does not change the working dir
authorAndrew Bartlett <abartlet@samba.org>
Wed, 10 Oct 2012 02:47:49 +0000 (13:47 +1100)
committerJeremy Allison <jra@samba.org>
Tue, 8 Jan 2013 00:09:39 +0000 (16:09 -0800)
commit6c80cf747d75e648a1d88d477bcf476e6874c4b3
treece9aef0f15d9c9588eb0cd4b0a12c347591a8e86
parent6a5afa244203c42265207c56e95783ec740ee89e
smbd: Split create_conn_struct into a fn that does not change the working dir

The python bindings do not want the current working directory changed
during operations, so we provide two functions, one providing the
original behaviour, and other providing the python bindings with just
the memory allocation and initilisation stuff.

Andrew Bartlett

Reviewed-by: Jeremy Allison <jra@samba.org>
source3/printing/nt_printing.c
source3/rpc_server/srvsvc/srv_srvsvc_nt.c
source3/smbd/msdfs.c
source3/smbd/proto.h