summaryrefslogtreecommitdiff
path: root/source3/libsmb/cli_dfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libsmb/cli_dfs.c')
-rw-r--r--source3/libsmb/cli_dfs.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source3/libsmb/cli_dfs.c b/source3/libsmb/cli_dfs.c
index 7fc27b9c3b..312275926c 100644
--- a/source3/libsmb/cli_dfs.c
+++ b/source3/libsmb/cli_dfs.c
@@ -20,6 +20,14 @@
#include "includes.h"
+/* Opens a SMB connection to the netdfs pipe */
+
+struct cli_state *cli_dfs_initialise(struct cli_state *cli, char *system_name,
+ struct ntuser_creds *creds)
+{
+ return cli_pipe_initialise(cli, system_name, PIPE_NETDFS, creds);
+}
+
/* Query DFS support */
NTSTATUS cli_dfs_exist(struct cli_state *cli, TALLOC_CTX *mem_ctx,