summaryrefslogtreecommitdiff
path: root/source4/auth/gensec/gensec.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-16 09:57:03 -0400
committerSimo Sorce <idra@samba.org>2010-07-16 09:57:03 -0400
commit378e4d5b8d30733f0f28cc2bceb28d9b9b594707 (patch)
tree9f6faebdcf58c73e0297bfdf3b905ef256f8e478 /source4/auth/gensec/gensec.c
parent2f249538ac8f2a54d9c8f8dbf0107db2f33bfe16 (diff)
parent6b266b85cf34145ac1f03d8f787b81121e4ec92b (diff)
downloadsamba-378e4d5b8d30733f0f28cc2bceb28d9b9b594707.tar.gz
samba-378e4d5b8d30733f0f28cc2bceb28d9b9b594707.tar.bz2
samba-378e4d5b8d30733f0f28cc2bceb28d9b9b594707.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source4/auth/gensec/gensec.c')
-rw-r--r--source4/auth/gensec/gensec.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/auth/gensec/gensec.c b/source4/auth/gensec/gensec.c
index b166d238de..3520585c95 100644
--- a/source4/auth/gensec/gensec.c
+++ b/source4/auth/gensec/gensec.c
@@ -47,7 +47,7 @@ _PUBLIC_ struct gensec_security_ops **gensec_security_all(void)
bool gensec_security_ops_enabled(struct gensec_security_ops *ops, struct gensec_security *security)
{
- return lp_parm_bool(security->settings->lp_ctx, NULL, "gensec", ops->name, ops->enabled);
+ return lpcfg_parm_bool(security->settings->lp_ctx, NULL, "gensec", ops->name, ops->enabled);
}
/* Sometimes we want to force only kerberos, sometimes we want to
@@ -1397,12 +1397,12 @@ static int sort_gensec(struct gensec_security_ops **gs1, struct gensec_security_
int gensec_setting_int(struct gensec_settings *settings, const char *mechanism, const char *name, int default_value)
{
- return lp_parm_int(settings->lp_ctx, NULL, mechanism, name, default_value);
+ return lpcfg_parm_int(settings->lp_ctx, NULL, mechanism, name, default_value);
}
bool gensec_setting_bool(struct gensec_settings *settings, const char *mechanism, const char *name, bool default_value)
{
- return lp_parm_bool(settings->lp_ctx, NULL, mechanism, name, default_value);
+ return lpcfg_parm_bool(settings->lp_ctx, NULL, mechanism, name, default_value);
}
/*