diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-02-24 09:53:44 +1300 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2014-05-07 19:49:16 +0200 |
commit | f4d7f12986057cc35cf4ca60f6dc8ec7611e0c31 (patch) | |
tree | f4f3590e5f778fbd9e692e67e1f4fef819a0d97b /lib | |
parent | 64eb98545762bb94a285f8dd30c17361118859d2 (diff) | |
download | samba-f4d7f12986057cc35cf4ca60f6dc8ec7611e0c31.tar.gz samba-f4d7f12986057cc35cf4ca60f6dc8ec7611e0c31.tar.xz samba-f4d7f12986057cc35cf4ca60f6dc8ec7611e0c31.zip |
param: have a single handle_ldap_debug_level function
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/param/loadparm.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index 8bff6ecc82b..b7afea64768 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -81,7 +81,6 @@ static bool defaults_saved = false; * non-source3 code */ #define handle_netbios_aliases NULL -#define handle_ldap_debug_level NULL #define handle_idmap_backend NULL #define handle_idmap_uid NULL #define handle_idmap_gid NULL @@ -1288,6 +1287,15 @@ bool handle_printing(struct loadparm_context *lp_ctx, int snum, return true; } +bool handle_ldap_debug_level(struct loadparm_context *lp_ctx, int snum, const char *pszParmValue, char **ptr) +{ + lp_ctx->globals->ldap_debug_level = lp_int(pszParmValue); + + if (lp_ctx->s3_fns) { + lp_ctx->s3_fns->init_ldap_debugging(); + } + return true; +} /*************************************************************************** Initialise a copymap. |