summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/smb_server/smb/reply.c10
-rw-r--r--source4/smb_server/smb/service.c2
-rw-r--r--source4/smb_server/smb/sesssetup.c6
3 files changed, 8 insertions, 10 deletions
diff --git a/source4/smb_server/smb/reply.c b/source4/smb_server/smb/reply.c
index cbfd3fac98..a5665d3525 100644
--- a/source4/smb_server/smb/reply.c
+++ b/source4/smb_server/smb/reply.c
@@ -102,7 +102,7 @@ void smbsrv_reply_tcon(struct smbsrv_request *req)
}
/* call backend */
- status = tcon_backend(req, &con);
+ status = smbsrv_tcon_backend(req, &con);
if (!NT_STATUS_IS_OK(status)) {
req_reply_error(req, status);
@@ -155,7 +155,7 @@ void smbsrv_reply_tcon_and_X(struct smbsrv_request *req)
}
/* call backend */
- status = tcon_backend(req, &con);
+ status = smbsrv_tcon_backend(req, &con);
if (!NT_STATUS_IS_OK(status)) {
req_reply_error(req, status);
@@ -1989,7 +1989,7 @@ static void reply_sesssetup_old(struct smbsrv_request *req)
p += req_pull_string(req, &sess.old.in.lanman, p, -1, STR_TERMINATE);
/* call the generic handler */
- status = sesssetup_backend(req, &sess);
+ status = smbsrv_sesssetup_backend(req, &sess);
if (!NT_STATUS_IS_OK(status)) {
req_reply_error(req, status);
@@ -2055,7 +2055,7 @@ static void reply_sesssetup_nt1(struct smbsrv_request *req)
p += req_pull_string(req, &sess.nt1.in.lanman, p, -1, STR_TERMINATE);
/* call the generic handler */
- status = sesssetup_backend(req, &sess);
+ status = smbsrv_sesssetup_backend(req, &sess);
if (!NT_STATUS_IS_OK(status)) {
req_reply_error(req, status);
@@ -2111,7 +2111,7 @@ static void reply_sesssetup_spnego(struct smbsrv_request *req)
p += req_pull_string(req, &sess.spnego.in.workgroup, p, -1, STR_TERMINATE);
/* call the generic handler */
- status = sesssetup_backend(req, &sess);
+ status = smbsrv_sesssetup_backend(req, &sess);
if (!NT_STATUS_IS_OK(status) &&
!NT_STATUS_EQUAL(status, NT_STATUS_MORE_PROCESSING_REQUIRED)) {
diff --git a/source4/smb_server/smb/service.c b/source4/smb_server/smb/service.c
index f5ba1254d8..49c2384e98 100644
--- a/source4/smb_server/smb/service.c
+++ b/source4/smb_server/smb/service.c
@@ -152,7 +152,7 @@ static NTSTATUS make_connection(struct smbsrv_request *req,
/*
backend for tree connect call
*/
-NTSTATUS tcon_backend(struct smbsrv_request *req, union smb_tcon *con)
+NTSTATUS smbsrv_tcon_backend(struct smbsrv_request *req, union smb_tcon *con)
{
NTSTATUS status;
diff --git a/source4/smb_server/smb/sesssetup.c b/source4/smb_server/smb/sesssetup.c
index a90f709a12..916224b26e 100644
--- a/source4/smb_server/smb/sesssetup.c
+++ b/source4/smb_server/smb/sesssetup.c
@@ -357,8 +357,8 @@ failed:
/*
backend for sessionsetup call - this takes all 3 variants of the call
*/
-NTSTATUS sesssetup_backend(struct smbsrv_request *req,
- union smb_sesssetup *sess)
+NTSTATUS smbsrv_sesssetup_backend(struct smbsrv_request *req,
+ union smb_sesssetup *sess)
{
NTSTATUS status = NT_STATUS_INVALID_LEVEL;
@@ -380,5 +380,3 @@ NTSTATUS sesssetup_backend(struct smbsrv_request *req,
return status;
}
-
-