]> git.ipfire.org Git - thirdparty/samba.git/commit
smbd: add create_conn_struct_cwd()
authorRalph Boehme <slow@samba.org>
Fri, 28 May 2021 07:25:22 +0000 (09:25 +0200)
committerRalph Boehme <slow@samba.org>
Wed, 16 Jun 2021 05:08:29 +0000 (05:08 +0000)
commit9a2d6bcfd5797dd4db764921548c8dca6dd0eb21
tree08d5f8cfcdda00650494aebf126f8bd4345043c8
parent16c39b81d6f2c7d75cfe72bbbe2f6a5bde42c7b0
smbd: add create_conn_struct_cwd()

Compared to create_conn_struct_tos_cwd() this takes a TALLOC_CTX and
tevent_context as additional arguments and the resulting connection_struct is
stable across the lifetime of mem_ctx and ev.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14740

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/msdfs.c
source3/smbd/proto.h