fixing domain join and domain login problems
[samba.git] / source / smbd / server.c
index e064b52dfa9c7a71e2acb7b680dcc83c15a88881..acde9eebf351afbbef3b21c45fc82e4e27e414a0 100644 (file)
@@ -663,7 +663,7 @@ static void usage(char *pname)
                exit(1);
        }
 
-       if (lp_security() == SEC_DOMAIN && !get_member_domain_sid())
+       if (!get_member_domain_sid())
        {
                DEBUG(0,("ERROR: Samba cannot obtain PDC SID from PDC(s) %s.\n",
                          lp_passwordserver()));