mirror of
https://github.com/samba-team/samba.git
synced 2025-02-15 05:57:49 +03:00
Correctly initialize winbind auth method.
This commit is contained in:
parent
83e3d4b4e7
commit
55cdb6b878
@ -132,6 +132,9 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
|
|||||||
/* module initialisation */
|
/* module initialisation */
|
||||||
NTSTATUS auth_init_winbind(struct auth_context *auth_context, const char *param, auth_methods **auth_method)
|
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)->name = "winbind";
|
||||||
(*auth_method)->auth = check_winbind_security;
|
(*auth_method)->auth = check_winbind_security;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user