diff options
author | Jeremy Allison <jra@samba.org> | 2013-04-16 12:22:11 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-06-11 10:50:41 -0700 |
commit | da6c84aff0b4b01ae1bf3d31cbc4e8e176168a9a (patch) | |
tree | ba602917c8c4b74b1a01ec60d9e96a96ca293ad0 | |
parent | 534cf516ed17d90bbd851fd8e190811a055aa5f0 (diff) | |
download | samba-da6c84aff0b4b01ae1bf3d31cbc4e8e176168a9a.tar.gz samba-da6c84aff0b4b01ae1bf3d31cbc4e8e176168a9a.tar.bz2 samba-da6c84aff0b4b01ae1bf3d31cbc4e8e176168a9a.zip |
Add port argument to SMBC_attr_server(). Does nothing as yet.
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: David Disseldorp <ddiss@samba.org>
-rw-r--r-- | source3/include/libsmb_internal.h | 1 | ||||
-rw-r--r-- | source3/libsmb/libsmb_server.c | 1 | ||||
-rw-r--r-- | source3/libsmb/libsmb_xattr.c | 6 |
3 files changed, 5 insertions, 3 deletions
diff --git a/source3/include/libsmb_internal.h b/source3/include/libsmb_internal.h index bd9143892c..5a3df14e36 100644 --- a/source3/include/libsmb_internal.h +++ b/source3/include/libsmb_internal.h @@ -483,6 +483,7 @@ SMBCSRV * SMBC_attr_server(TALLOC_CTX *ctx, SMBCCTX *context, const char *server, + uint16_t port, const char *share, char **pp_workgroup, char **pp_username, diff --git a/source3/libsmb/libsmb_server.c b/source3/libsmb/libsmb_server.c index 0d39245109..92a36912d3 100644 --- a/source3/libsmb/libsmb_server.c +++ b/source3/libsmb/libsmb_server.c @@ -680,6 +680,7 @@ SMBCSRV * SMBC_attr_server(TALLOC_CTX *ctx, SMBCCTX *context, const char *server, + uint16_t port, const char *share, char **pp_workgroup, char **pp_username, diff --git a/source3/libsmb/libsmb_xattr.c b/source3/libsmb/libsmb_xattr.c index 89bdd25aa5..62cf4a1e40 100644 --- a/source3/libsmb/libsmb_xattr.c +++ b/source3/libsmb/libsmb_xattr.c @@ -1775,7 +1775,7 @@ SMBC_setxattr_ctx(SMBCCTX *context, } if (! srv->no_nt_session) { - ipc_srv = SMBC_attr_server(frame, context, server, share, + ipc_srv = SMBC_attr_server(frame, context, server, port, share, &workgroup, &user, &password); if (! ipc_srv) { srv->no_nt_session = True; @@ -2070,7 +2070,7 @@ SMBC_getxattr_ctx(SMBCCTX *context, } if (! srv->no_nt_session) { - ipc_srv = SMBC_attr_server(frame, context, server, share, + ipc_srv = SMBC_attr_server(frame, context, server, port, share, &workgroup, &user, &password); if (! ipc_srv) { srv->no_nt_session = True; @@ -2207,7 +2207,7 @@ SMBC_removexattr_ctx(SMBCCTX *context, } if (! srv->no_nt_session) { - ipc_srv = SMBC_attr_server(frame, context, server, share, + ipc_srv = SMBC_attr_server(frame, context, server, port, share, &workgroup, &user, &password); if (! ipc_srv) { srv->no_nt_session = True; |