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