git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
83e3d4b
)
Correctly initialize winbind auth method.
author
Volker Lendecke
<vlendec@samba.org>
Mon, 26 May 2003 16:38:48 +0000
(16:38 +0000)
committer
Volker Lendecke
<vlendec@samba.org>
Mon, 26 May 2003 16:38:48 +0000
(16:38 +0000)
source/auth/auth_winbind.c
patch
|
blob
|
history
diff --git
a/source/auth/auth_winbind.c
b/source/auth/auth_winbind.c
index 76b5c3418369b5673e505e695e1989bd187a1767..79395a99c9cc5d2b828066dcaacd2ab9d46b5354 100644
(file)
--- a/
source/auth/auth_winbind.c
+++ b/
source/auth/auth_winbind.c
@@
-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;