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:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user