Remove lp_security() checks for winbindd as this is how we act as a PDC.
authorTim Potter <tpot@samba.org>
Thu, 7 Nov 2002 07:23:37 +0000 (07:23 +0000)
committerTim Potter <tpot@samba.org>
Thu, 7 Nov 2002 07:23:37 +0000 (07:23 +0000)
Keep the rest of the cleanups though.

source/nsswitch/winbindd_util.c

index a14ed96c675ebd283e19142fe6dbfa44c4687952..1d18e8fda798a9f945a17acb1c8180f3a6a0219a 100644 (file)
@@ -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)) {