summaryrefslogtreecommitdiff
path: root/source4/libcli/auth/gensec.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-01-03 09:00:37 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:08:16 -0500
commit5e94b016f06355289eabcd163678127988421a52 (patch)
treeb0b4c00955718a10c6afcc44daf67a4ba29ba635 /source4/libcli/auth/gensec.c
parent8164d2442868a2e8353ee2ae3d61f78aa9ccb226 (diff)
downloadsamba-5e94b016f06355289eabcd163678127988421a52.tar.gz
samba-5e94b016f06355289eabcd163678127988421a52.tar.bz2
samba-5e94b016f06355289eabcd163678127988421a52.zip
r4504: Setting
.enabled = True on modules we know are good (and we want on be default) seems neater. Andrew Bartlett (This used to be commit 18850c66b7c8ac5e8caf08151dbb9b72cf93230f)
Diffstat (limited to 'source4/libcli/auth/gensec.c')
-rw-r--r--source4/libcli/auth/gensec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/auth/gensec.c b/source4/libcli/auth/gensec.c
index c052f61c8c..4a328d6d1c 100644
--- a/source4/libcli/auth/gensec.c
+++ b/source4/libcli/auth/gensec.c
@@ -778,7 +778,7 @@ NTSTATUS gensec_register(const void *_ops)
{
const struct gensec_security_ops *ops = _ops;
- if (!lp_parm_bool(-1, "gensec", ops->name, !ops->disabled_by_default)) {
+ if (!lp_parm_bool(-1, "gensec", ops->name, ops->enabled)) {
DEBUG(2,("gensec subsystem %s is disabled\n", ops->name));
return NT_STATUS_OK;
}