summaryrefslogtreecommitdiff
path: root/source4/utils/setntacl.c
diff options
context:
space:
mode:
authorMatthieu Patou <mat@matws.net>2009-10-24 15:34:31 +0400
committerAndrew Bartlett <abartlet@samba.org>2010-01-21 07:11:18 +1300
commita4b01dd59c386c84776367b46b0fa726918dbebc (patch)
treee54b28c40be2ded3e29b54e693b1b6e4b53225a7 /source4/utils/setntacl.c
parent1a143b8a590f5173ccacb7368f3cf36a8785da33 (diff)
downloadsamba-a4b01dd59c386c84776367b46b0fa726918dbebc.tar.gz
samba-a4b01dd59c386c84776367b46b0fa726918dbebc.tar.bz2
samba-a4b01dd59c386c84776367b46b0fa726918dbebc.zip
s4: utils recreate in python setntacl and getntacl
setntacl is able to set NTACL attribute from command line getntacl now use getopt for parsing command line option and is also able to dump the acl in the SDDL format.
Diffstat (limited to 'source4/utils/setntacl.c')
-rw-r--r--source4/utils/setntacl.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/source4/utils/setntacl.c b/source4/utils/setntacl.c
deleted file mode 100644
index 3a008a4c37..0000000000
--- a/source4/utils/setntacl.c
+++ /dev/null
@@ -1,28 +0,0 @@
-/*
- Unix SMB/CIFS implementation.
-
- Set NT ACLs on UNIX files.
-
- Copyright (C) Tim Potter <tpot@samba.org> 2004
-
- This program is free software; you can redistribute it and/or modify
- it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 3 of the License, or
- (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU General Public License for more details.
-
- You should have received a copy of the GNU General Public License
- along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#include "includes.h"
-
-int main(int argc, char **argv)
-{
- printf("This utility disabled until rewritten\n");
- return 1;
-}