summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-11-07 07:23:37 +0000
committerTim Potter <tpot@samba.org>2002-11-07 07:23:37 +0000
commitfdfed5abe8b2c03d050da023f6a7d54b4f1be4ef (patch)
treee1e291b610d59488c13a973fc7cb2e3aff5cff3c /source3/nsswitch
parentd1e10b797199312614117b7ca67ca15838fb4f43 (diff)
downloadsamba-fdfed5abe8b2c03d050da023f6a7d54b4f1be4ef.tar.gz
samba-fdfed5abe8b2c03d050da023f6a7d54b4f1be4ef.tar.bz2
samba-fdfed5abe8b2c03d050da023f6a7d54b4f1be4ef.zip
Remove lp_security() checks for winbindd as this is how we act as a PDC.
Keep the rest of the cleanups though. (This used to be commit f0a1177acf82fceb174df1852d87a6e16d63fd63)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_util.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c
index a14ed96c67..1d18e8fda7 100644
--- a/source3/nsswitch/winbindd_util.c
+++ b/source3/nsswitch/winbindd_util.c
@@ -382,12 +382,6 @@ void free_getent_state(struct getent_state *state)
BOOL winbindd_param_init(void)
{
- if (lp_security() != SEC_DOMAIN && lp_security() != SEC_ADS) {
- DEBUG(0, ("must be in security = domain or security = ads mode to run winbindd\n"));
- return False;
- }
-
-
/* Parse winbind uid and winbind_gid parameters */
if (!lp_winbind_uid(&server_state.uid_low, &server_state.uid_high)) {