s3: "== false" looks wrong :-)
authorVolker Lendecke <vl@samba.org>
Wed, 8 Sep 2010 13:29:32 +0000 (15:29 +0200)
committerVolker Lendecke <vl@samba.org>
Wed, 8 Sep 2010 22:31:33 +0000 (15:31 -0700)
source3/winbindd/winbindd_pam.c

index f9b1ab925a2274af998720e87f56ad01b16754ae..86d9e6d0c388dddd6a8bd11d3f45ee693cfc4fcf 100644 (file)
@@ -1459,7 +1459,7 @@ enum winbindd_result winbindd_dual_pam_auth(struct winbindd_domain *domain,
                             sizeof(state->request->data.auth.user)-1 );
        }
 
-       if (domain->online == false) {
+       if (!domain->online) {
                result = NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND;
                if (domain->startup) {
                        /* Logons are very important to users. If we're offline and