diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2004-07-11 12:15:58 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:56:57 -0500 |
commit | 396a729686644838468d06c2b011c33705e731cb (patch) | |
tree | 8ad2fe87c6001f8b474108e9ecfa1d648c385fdf /source4/libcli/auth | |
parent | f9ddbad0067606cf2aca0ee62e701ed21491cdec (diff) | |
download | samba-396a729686644838468d06c2b011c33705e731cb.tar.gz samba-396a729686644838468d06c2b011c33705e731cb.tar.bz2 samba-396a729686644838468d06c2b011c33705e731cb.zip |
r1449: Use the config system somewhat better in libcli/auth
(This used to be commit 69de0d95c585c1a73072e921884cbd427c160176)
Diffstat (limited to 'source4/libcli/auth')
-rw-r--r-- | source4/libcli/auth/gensec.c | 9 | ||||
-rw-r--r-- | source4/libcli/auth/spnego.c | 2 |
2 files changed, 3 insertions, 8 deletions
diff --git a/source4/libcli/auth/gensec.c b/source4/libcli/auth/gensec.c index 83738109c6..f4abfd00e5 100644 --- a/source4/libcli/auth/gensec.c +++ b/source4/libcli/auth/gensec.c @@ -498,7 +498,7 @@ BOOL gensec_init(void) static BOOL initialised; NTSTATUS status; - /* this is *completly* the wrong way to do this */ + /* this is *completely* the wrong way to do this */ if (initialised) { return True; } @@ -508,12 +508,7 @@ BOOL gensec_init(void) return False; } - /* FIXME: Perhaps panic if a basic backend, such as NTLMSSP, fails to initialise? */ - gensec_ntlmssp_init(); -#if 0 - gensec_krb5_init(); -#endif - gensec_spnego_init(); + static_init_gensec; gensec_dcerpc_schannel_init(); initialised = True; diff --git a/source4/libcli/auth/spnego.c b/source4/libcli/auth/spnego.c index c9d0c6f97d..7e0cda42ba 100644 --- a/source4/libcli/auth/spnego.c +++ b/source4/libcli/auth/spnego.c @@ -579,7 +579,7 @@ static const struct gensec_security_ops gensec_spnego_security_ops = { .end = gensec_spnego_end }; -NTSTATUS gensec_spengo_init(void) +NTSTATUS gensec_spnego_init(void) { NTSTATUS ret; ret = register_backend("gensec", &gensec_spnego_security_ops); |