1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-06 08:23:50 +03:00

Use NTSTATUS as return value for smb_register_*() functions and init_module()

function. Patch by metze with some minor modifications.
This commit is contained in:
Jelmer Vernooij
-
parent e112dc1641
commit bc4b51bcb2
38 changed files with 164 additions and 127 deletions

View File

@@ -147,7 +147,7 @@ NTSTATUS auth_init_winbind(struct auth_context *auth_context, const char *param,
return NT_STATUS_OK;
}
int auth_winbind_init(void)
NTSTATUS auth_winbind_init(void)
{
return smb_register_auth("winbind", auth_init_winbind, AUTH_INTERFACE_VERSION);
return smb_register_auth(AUTH_INTERFACE_VERSION, "winbind", auth_init_winbind);
}