summaryrefslogtreecommitdiff
path: root/source4/auth/ntlmssp
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-04-06 16:08:46 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:22 -0500
commitc07125d13309cf40cf4c68884421a7c102c3494a (patch)
tree7133e906008c88210fb375d8fb6295801663db6d /source4/auth/ntlmssp
parent317c4b81a5edf18eeb7f6358ca5b508e4af80bfd (diff)
downloadsamba-c07125d13309cf40cf4c68884421a7c102c3494a.tar.gz
samba-c07125d13309cf40cf4c68884421a7c102c3494a.tar.bz2
samba-c07125d13309cf40cf4c68884421a7c102c3494a.zip
r14952: Make sure the auth subsystem gets initialized if a gensec module needs it.
(This used to be commit ecf84248b48783fb0ccbeff4d37d930b21fb96df)
Diffstat (limited to 'source4/auth/ntlmssp')
-rw-r--r--source4/auth/ntlmssp/ntlmssp.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/auth/ntlmssp/ntlmssp.c b/source4/auth/ntlmssp/ntlmssp.c
index dfef892976..fff0c9c7e9 100644
--- a/source4/auth/ntlmssp/ntlmssp.c
+++ b/source4/auth/ntlmssp/ntlmssp.c
@@ -404,6 +404,9 @@ static const struct gensec_security_ops gensec_ntlmssp_security_ops = {
NTSTATUS gensec_ntlmssp_init(void)
{
NTSTATUS ret;
+
+ auth_init();
+
ret = gensec_register(&gensec_ntlmssp_security_ops);
if (!NT_STATUS_IS_OK(ret)) {
DEBUG(0,("Failed to register '%s' gensec backend!\n",