diff options
Diffstat (limited to 'source4/utils/getntacl.c')
-rw-r--r-- | source4/utils/getntacl.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/source4/utils/getntacl.c b/source4/utils/getntacl.c index b17200aeb5..0d6e86bf3b 100644 --- a/source4/utils/getntacl.c +++ b/source4/utils/getntacl.c @@ -21,7 +21,16 @@ */ #include "includes.h" -#include <attr/xattr.h> + +#ifdef HAVE_NO_ACLS + +int main(int argc, char **argv) +{ + printf("ACL support not compiled in."); + return 1; +} + +#else /* Display a security descriptor in "psec" format which is as follows. @@ -114,3 +123,5 @@ int main(int argc, char **argv) print_psec(data, &sd); return 0; } + +#endif /* HAVE_NO_ACLS */ |