summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2013-04-16 12:22:11 -0700
committerJeremy Allison <jra@samba.org>2013-06-11 10:50:41 -0700
commitda6c84aff0b4b01ae1bf3d31cbc4e8e176168a9a (patch)
treeba602917c8c4b74b1a01ec60d9e96a96ca293ad0 /source3/libsmb
parent534cf516ed17d90bbd851fd8e190811a055aa5f0 (diff)
downloadsamba-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>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/libsmb_server.c1
-rw-r--r--source3/libsmb/libsmb_xattr.c6
2 files changed, 4 insertions, 3 deletions
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;