Now we have SeSystemSecurity, remove the source3-only #ifdef.
authorJeremy Allison <jra@samba.org>
Thu, 21 Oct 2010 00:51:13 +0000 (17:51 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 21 Oct 2010 01:35:00 +0000 (01:35 +0000)
Jeremy.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Thu Oct 21 01:35:00 UTC 2010 on sn-devel-104

libcli/security/access_check.c

index a00e42b5206d9bed68816535356df5d3bcc311fc..b0d4f4a1a7fb99d09a4a53bb165eb8b15fc7555a 100644 (file)
@@ -179,7 +179,6 @@ NTSTATUS se_access_check(const struct security_descriptor *sd,
                        bits_remaining));
        }
 
-#if (_SAMBA_BUILD_ >= 4)
        /* s3 had this with #if 0 previously. To be sure the merge
           doesn't change any behaviour, we have the above #if check
           on _SAMBA_BUILD_. */
@@ -190,7 +189,6 @@ NTSTATUS se_access_check(const struct security_descriptor *sd,
                        return NT_STATUS_PRIVILEGE_NOT_HELD;
                }
        }
-#endif
 
        /* a NULL dacl allows access */
        if ((sd->type & SEC_DESC_DACL_PRESENT) && sd->dacl == NULL) {