This extra check isn't needed, we can only get here if secuirty=domain
[ira/wip.git] / source3 / auth / auth_domain.c
index f20da196076bbe72d3e2d8894848c3dd0651882b..4ada7d4a56ecaf65e5890dbc205860086900fc88 100644 (file)
@@ -36,9 +36,6 @@ NTSTATUS check_domain_security(const auth_usersupplied_info *user_info,
        unsigned char trust_passwd[16];
        time_t last_change_time;
 
-       if(lp_security() != SEC_DOMAIN)
-               return NT_STATUS_LOGON_FAILURE;
-
        become_root();
 
        /*