mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
Correctly initialize winbind auth method.
This commit is contained in:
parent
2267a66687
commit
b9e7ce9d85
@ -132,6 +132,9 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
|
||||
/* module initialisation */
|
||||
NTSTATUS auth_init_winbind(struct auth_context *auth_context, const char *param, auth_methods **auth_method)
|
||||
{
|
||||
if (!make_auth_methods(auth_context, auth_method)) {
|
||||
return NT_STATUS_NO_MEMORY;
|
||||
}
|
||||
|
||||
(*auth_method)->name = "winbind";
|
||||
(*auth_method)->auth = check_winbind_security;
|
||||
|
Loading…
Reference in New Issue
Block a user