From 78af4738e7bd6f73469dd990d0f444a04afbc709 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 14 May 2012 10:37:59 +0200 Subject: [PATCH] s3-auth: Rename to init_system_session_info(). Autobuild-User: Andreas Schneider Autobuild-Date: Tue May 15 13:56:00 CEST 2012 on sn-devel-104 --- source3/auth/auth_util.c | 2 +- source3/auth/proto.h | 2 +- source3/smbd/server.c | 2 +- source3/winbindd/winbindd.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index ca38e321e14..f270ccd413e 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 d383f38cdcf..a35a804d353 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 363203e5158..d6c7874fb81 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 a3b21425a00..22056e26caf 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))); -- 2.11.4.GIT