Only allow 'security=ads' when we HAVE_ADS.
authorAndrew Bartlett <abartlet@samba.org>
Wed, 31 Jul 2002 10:07:35 +0000 (10:07 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 31 Jul 2002 10:07:35 +0000 (10:07 +0000)
Andrew Bartlett
(This used to be commit f77335b6f86c736e72b66eab6a2aee046ddbee41)

source3/param/loadparm.c

index 40f59076dae8551d1f61405efca763527a81326d..d649b421c9da67ef23ebad97f81f31ed64e6a9cb 100644 (file)
@@ -551,7 +551,9 @@ static struct enum_list enum_security[] = {
        {SEC_USER, "USER"},
        {SEC_SERVER, "SERVER"},
        {SEC_DOMAIN, "DOMAIN"},
+#ifdef HAVE_ADS
        {SEC_ADS, "ADS"},
+#endif
        {-1, NULL}
 };