summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/auth/auth_util.c2
-rw-r--r--source3/auth/proto.h2
-rw-r--r--source3/smbd/server.c2
-rw-r--r--source3/winbindd/winbindd.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index ca38e321e1..f270ccd413 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -1247,7 +1247,7 @@ NTSTATUS make_session_info_guest(TALLOC_CTX *mem_ctx,
static struct auth_session_info *system_info = NULL;
-NTSTATUS init_system_info(void)
+NTSTATUS init_system_session_info(void)
{
if (system_info != NULL)
return NT_STATUS_OK;
diff --git a/source3/auth/proto.h b/source3/auth/proto.h
index d383f38cdc..a35a804d35 100644
--- a/source3/auth/proto.h
+++ b/source3/auth/proto.h
@@ -218,7 +218,7 @@ NTSTATUS make_session_info_from_username(TALLOC_CTX *mem_ctx,
struct auth_session_info *copy_session_info(TALLOC_CTX *mem_ctx,
const struct auth_session_info *src);
bool init_guest_info(void);
-NTSTATUS init_system_info(void);
+NTSTATUS init_system_session_info(void);
bool session_info_set_session_key(struct auth_session_info *info,
DATA_BLOB session_key);
NTSTATUS make_server_info_guest(TALLOC_CTX *mem_ctx,
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 363203e515..d6c7874fb8 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1424,7 +1424,7 @@ extern void build_options(bool screen);
exit(1);
}
- status = init_system_info();
+ status = init_system_session_info();
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("ERROR: failed to setup system user info: %s.\n",
nt_errstr(status)));
diff --git a/source3/winbindd/winbindd.c b/source3/winbindd/winbindd.c
index a3b21425a0..22056e26ca 100644
--- a/source3/winbindd/winbindd.c
+++ b/source3/winbindd/winbindd.c
@@ -1474,7 +1474,7 @@ int main(int argc, char **argv, char **envp)
winbindd_register_handlers(!Fork);
- status = init_system_info();
+ status = init_system_session_info();
if (!NT_STATUS_IS_OK(status)) {
DEBUG(1, ("ERROR: failed to setup system user info: %s.\n",
nt_errstr(status)));