summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2018-04-12 06:41:30 +1200
committerAndrew Bartlett <abartlet@samba.org>2018-05-10 20:02:23 +0200
commit5c0345ea9bb34695dcd7be6c913748323bebe937 (patch)
tree91609b666973bd053448269313e9507672f74597 /source3/modules
parentdaa7b60a60520c94367e9112246482bae71c5ccd (diff)
downloadsamba-5c0345ea9bb34695dcd7be6c913748323bebe937.tar.gz
samdb: Add remote address to connect
Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_dfs_samba4.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/modules/vfs_dfs_samba4.c b/source3/modules/vfs_dfs_samba4.c
index d7f4edf2dea..1c7b50e99c6 100644
--- a/source3/modules/vfs_dfs_samba4.c
+++ b/source3/modules/vfs_dfs_samba4.c
@@ -76,7 +76,9 @@ static int dfs_samba4_connect(struct vfs_handle_struct *handle,
data->sam_ctx = samdb_connect(data,
data->ev,
data->lp_ctx,
- system_session(data->lp_ctx), 0);
+ system_session(data->lp_ctx),
+ NULL,
+ 0);
if (!data->sam_ctx) {
DEBUG(0, ("samdb_connect failed\n"));
SMB_VFS_NEXT_DISCONNECT(handle);