summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-07-31 10:07:35 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-07-31 10:07:35 +0000
commitc3c5347601651dc0f46763d068f4c524390318ca (patch)
tree0b6352e895473153d24dd24dca1039f6687f5e83 /source3/param
parentd7f77b5a65362cb2c8d6e9fa15787967be558121 (diff)
downloadsamba-c3c5347601651dc0f46763d068f4c524390318ca.tar.gz
samba-c3c5347601651dc0f46763d068f4c524390318ca.tar.bz2
samba-c3c5347601651dc0f46763d068f4c524390318ca.zip
Only allow 'security=ads' when we HAVE_ADS.
Andrew Bartlett (This used to be commit f77335b6f86c736e72b66eab6a2aee046ddbee41)
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 40f59076da..d649b421c9 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -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}
};