summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 919527040d..8d7dd5c60d 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2616,6 +2616,7 @@ static BOOL handle_debug_list( char *pszParmValueIn, char **ptr )
return debug_parse_levels( pszParmValue );
}
+#ifdef WITH_LDAP_SAM
/***************************************************************************
Handle the ldap machine suffix option
***************************************************************************/
@@ -2698,6 +2699,7 @@ static BOOL handle_ldap_suffix( char *pszParmValue, char **ptr)
string_set(ptr, suffix);
return True;
}
+#endif /* WITH_LDAP_SAM */
/***************************************************************************
initialise a copymap