diff options
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_util.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 1c036ff124..a30a36f9aa 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -918,13 +918,12 @@ NTSTATUS make_server_info_guest(TALLOC_CTX *mem_ctx, static struct auth_serversupplied_info *system_info = NULL; -bool init_system_info(void) +NTSTATUS init_system_info(void) { if (system_info != NULL) - return True; + return NT_STATUS_OK; - return NT_STATUS_IS_OK(make_new_server_info_system(NULL, - &system_info)); + return make_new_server_info_system(NULL, &system_info); } NTSTATUS make_server_info_system(TALLOC_CTX *mem_ctx, |