Jeremy Allison
8325948287
Added -C username and -G username that allow a user (usually Administrator)
...
to change the ownership or group ownership of a file to any arbitrary user
from the UNIX command line.
This will show the people who quote NT manuals at us about how this is
"impossible" how their operating system really works :-).
Jeremy.
(This used to be commit 12f88c9ba7
)
2000-12-16 00:08:05 +00:00
Jeremy Allison
369f5fd1d7
Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. Merged
...
in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open
problem.
Jeremy.
(This used to be commit 0a40bc83e1
)
2000-12-15 01:02:11 +00:00
Tim Potter
624431c98b
Renamed parameters and variables called acl to the_acl as it conflicts
...
with a Solaris system call.
(This used to be commit 5e547ddcb5
)
2000-12-14 05:38:05 +00:00
Tim Potter
237e74730c
Cache lsa connection and policy handle for resolving names and sids.
...
(This used to be commit 09d2d972fd
)
2000-12-14 03:27:53 +00:00
Tim Potter
56ee3e2e2f
Convert names to sids when modifying ACLs. Convert sids to names when
...
displaying ACLs.
(This used to be commit 5001bbc64b
)
2000-12-13 12:53:42 +00:00
Tim Potter
76dca9c1fb
Don't print out the security descriptor type as it is automatically
...
calculated by the new make_sec_desc() function.
(This used to be commit 6fd5dc8145
)
2000-12-12 06:14:01 +00:00
Tim Potter
cbddae005f
Better error checking for ACL parsing.
...
Print an error when attempting to delete a non-existent ACL.
(This used to be commit d119782d0d
)
2000-12-12 06:06:10 +00:00
Tim Potter
34402b75b5
Added undocumented -t command for testing parsing of acl entries.
...
Print out hex value for ace mask if we can't decode it.
We can now parse FULL,CHANGE,READ as well as combos of RWXDPO as ace mask
values.
Clarified usage message.
Bomb out if excess args are given.
(This used to be commit ed5bda119a
)
2000-12-07 06:05:57 +00:00
Andrew Tridgell
3eee7625b1
added a comment
...
(This used to be commit 032442802f
)
2000-12-04 07:38:06 +00:00
Andrew Tridgell
723c9b87e7
fixed the parsing again and got setting acls working with w2k
...
(This used to be commit 374d08be64
)
2000-12-04 07:27:35 +00:00
Tim Potter
54100bac69
Added some cli_errstr() calls.
...
(This used to be commit faaa71a032
)
2000-12-04 06:46:52 +00:00
Tim Potter
92abcbc040
Removed lsa lookup warnings (I'll remember).
...
Print an error if -M refers to a non-existent ACL.
(This used to be commit ee6f5a9672
)
2000-12-04 06:43:36 +00:00
Andrew Tridgell
3d43b2db28
fixed setting ACLs on directories
...
(This used to be commit 117956ecb1
)
2000-12-04 06:39:31 +00:00
Tim Potter
252e3ba128
Mask value now displayed as READ/CHANGE/FULL for standard permissions, or
...
RWXDPO for special permissions.
Append 0x to values printed as hex.
Spruced up the help message.
(This used to be commit 8a20318c56
)
2000-12-04 06:14:28 +00:00
Andrew Tridgell
5092ad82ba
removed SACL support (as it doesn't work with w2k if you ask for
...
SACLs)
(This used to be commit 52b27d75e1
)
2000-12-04 04:58:40 +00:00
Andrew Tridgell
576a106d03
signed/unsigned warning fixed
...
(This used to be commit 71adecd163
)
2000-12-04 03:27:02 +00:00
Andrew Tridgell
6399b62175
fixed acls set bug
...
(This used to be commit 44524958ed
)
2000-12-04 02:01:57 +00:00
Andrew Tridgell
0884d6ab52
fixed SACL bug
...
(This used to be commit 077ee4a7ac
)
2000-12-04 00:35:31 +00:00
Andrew Tridgell
a4c11729b2
- with -D only delete first match
...
- fixed delete bug
(This used to be commit 1e0d5f0695
)
2000-12-04 00:33:08 +00:00
Andrew Tridgell
0cb1c512f1
- added help
...
- added add/modify/delete/set as separate operations
(This used to be commit cb324b53c6
)
2000-12-03 12:41:28 +00:00
Andrew Tridgell
dc3251b460
cleaner parsing and default handling
...
(This used to be commit f8dbd2b799
)
2000-12-03 11:05:11 +00:00
Andrew Tridgell
3b22b74f9d
- better parsing
...
- started to add non-numeric support
(This used to be commit fd4c03aef6
)
2000-12-03 08:35:11 +00:00
Andrew Tridgell
4fee254d67
getting/setting acls now works. The SIDs are still numeric, the next
...
step is to support usernames etc
(This used to be commit 6cea1647fc
)
2000-12-03 07:36:15 +00:00
Andrew Tridgell
c93f686f01
added basic ability to dump remote file acls
...
(This used to be commit c6c90dc8e1
)
2000-12-03 05:24:16 +00:00
Andrew Tridgell
83bd929883
a prootype program for querying/setting a security decsriptor on a
...
remote machine
it is by no means complete, expect more commits soon
(This used to be commit f2f9859b70
)
2000-12-03 02:19:27 +00:00