diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-07-31 10:07:35 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-07-31 10:07:35 +0000 |
commit | c3c5347601651dc0f46763d068f4c524390318ca (patch) | |
tree | 0b6352e895473153d24dd24dca1039f6687f5e83 /source3/param/loadparm.c | |
parent | d7f77b5a65362cb2c8d6e9fa15787967be558121 (diff) | |
download | samba-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/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 2 |
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} }; |