mirror of
https://github.com/samba-team/samba.git
synced 2025-12-17 04: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:
@@ -130,7 +130,7 @@ NTSTATUS auth_init_unix(struct auth_context *auth_context, const char* param, au
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
int auth_unix_init(void)
|
||||
NTSTATUS auth_unix_init(void)
|
||||
{
|
||||
return smb_register_auth("unix", auth_init_unix, AUTH_INTERFACE_VERSION);
|
||||
return smb_register_auth(AUTH_INTERFACE_VERSION, "unix", auth_init_unix);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user