summaryrefslogtreecommitdiffstats
path: root/source/utils/smbcacls.c
Commit message (Collapse)AuthorAgeFilesLines
* sync with SAMBA_2_2 for 2.2.6rc1Gerald Carter2002-10-091-2/+3
|
* Start of merge to 2_2_RELEASE branch for release.Jeremy Allison2002-04-301-34/+63
| | | | Jeremy.
* Move over to RELEASE branch.Jeremy Allison2002-02-011-24/+16
| | | | Jeremy.
* Sync-up with SAMBA_2_2 branch.Jeremy Allison2001-10-111-3/+3
| | | | Jeremy.
* Syncup getting ready for release.Jeremy Allison2001-07-061-15/+8
| | | | Jeremy.
* - remove template from smbrun(). Now uses /tmp and mkstempAndrew Tridgell2001-04-131-1/+1
| | | | | | | - fixed some uninitialised variable warnings - removed smbrun utility (never used) - removed some incorrect varargs usage - removed smbrun smb.conf option
* Added SMB_ prefix to enums that clash with Solaris ACL definitions.Jeremy Allison2001-04-111-9/+9
| | | | Jeremy.
* Dead code elimination from SGI compiler.Jeremy Allison2001-03-091-3/+0
| | | | Jeremy.
* Fairly big (but needed) change. Move to per-pipe POLICY handles.Jeremy Allison2001-03-081-3/+3
| | | | | | | | | | | | | | | | | | | | All policy handles will be destroyed on pipe close. No bitmap used, and all handles allocated/deleted in the same way. The ugly, handle specific code in srv_lsa_hnd.c has been removed, now each handle type can store a private data field along with a function that will free the private data on handle close. This means the linked list of printer handles has been removed, as all the info has been added into the pipes_struct. The only issue was enumerating all printers across all open pipes on a change message receipt. This was acheived by adding an enumerate pipes function. This will be a little difficult to move to HEAD due to the samr changes, and probably needs a little more testing with insure. However, even if it turns out that handles are persistent between NT pipes in the same smbd I can fix this by transferring the handle linked list to another pipe of the same type on handle close if this turns out to be the case. Jeremy.
* Makefile.in: Build smbcacls by default.Jeremy Allison2001-02-231-93/+92
| | | | | | | | utils/smbcacls.c: Andrew's fixes from HEAD. include/rpc_secdes.h: rpc_parse/parse_sec.c: Change undoc to ptr 'cos that's what it is. lib/util_sid.c: Andrew's fixes from HEAD. Jeremy.
* But Doctor, I had to kill the patient in order to save him....Jeremy Allison2001-02-211-21/+10
| | | | | | | | | | | | | | | | | | | This will probably break 2.2 for a while. Do *NOT* checkout unless you like core dumps. This is the first merge of the TNG SAMR code into 2.2. It will eventually give us a wonderful PDC, but maybe painful in the short term. It had to be done however, and this touches almost every file (mostly just removing the OLD_NT_DOMAIN) stuff. I removed some SAMR functionality from rpcclient that would no longer compile. Also changed fstring to 256 bytes to better match an NT pathname. Jeremy.
* Merge changes from HEAD.Jeremy Allison2001-02-111-1/+5
| | | | Jeremy.
* Big merge to sync up appliance-head and 2.2.Jeremy Allison2001-01-081-45/+158
| | | | Jeremy.
* Added -C username and -G username that allow a user (usually Administrator)Jeremy Allison2000-12-161-5/+61
| | | | | | | | 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.
* Fixup the lsa_io_r_lookup_names call not to need an external TALLOC_CTX.Jeremy Allison2000-12-141-0/+7
| | | | | | | | Sync up lib/time.c from HEAD. Fix error return from cli_initialise(). Allow cli_trans to cope with a smbd "STATUS_BUFFER_OVERFLOW" return as well as the old style ERRmoredata return (now smbcacls can get names from a Samba server too). Fix memory leaks in smbcacls. Jeremy.
* Raft of fixes - many of these will be merged into HEAD/appliance-head.Jeremy Allison2000-12-141-68/+79
| | | | | | Fixed many memory leaks in new parse_lsa.c code (TIM - ALWAYS USE INSURE !!!!). Fixed smbcacls leaks. Jeremy.
* Merges from appliance-head (for the printing fix) and from HEAD (for theJeremy Allison2000-12-131-33/+206
| | | | | srv_lsa and new smbcacls fixes). Jeremy.
* added a commentAndrew Tridgell2000-12-041-0/+2
|
* fixed the parsing again and got setting acls working with w2kAndrew Tridgell2000-12-041-3/+3
|
* Added some cli_errstr() calls.Tim Potter2000-12-041-4/+4
|
* Removed lsa lookup warnings (I'll remember).Tim Potter2000-12-041-4/+19
| | | | Print an error if -M refers to a non-existent ACL.
* fixed setting ACLs on directoriesAndrew Tridgell2000-12-041-2/+2
|
* Mask value now displayed as READ/CHANGE/FULL for standard permissions, orTim Potter2000-12-041-27/+66
| | | | | | | | RWXDPO for special permissions. Append 0x to values printed as hex. Spruced up the help message.
* removed SACL support (as it doesn't work with w2k if you ask forAndrew Tridgell2000-12-041-52/+7
| | | | SACLs)
* signed/unsigned warning fixedAndrew Tridgell2000-12-041-2/+3
|
* fixed acls set bugAndrew Tridgell2000-12-041-13/+18
|
* fixed SACL bugAndrew Tridgell2000-12-041-8/+3
|
* - with -D only delete first matchAndrew Tridgell2000-12-041-12/+23
| | | | - fixed delete bug
* - added helpAndrew Tridgell2000-12-031-12/+118
| | | | - added add/modify/delete/set as separate operations
* cleaner parsing and default handlingAndrew Tridgell2000-12-031-17/+22
|
* - better parsingAndrew Tridgell2000-12-031-64/+123
| | | | - started to add non-numeric support
* getting/setting acls now works. The SIDs are still numeric, the nextAndrew Tridgell2000-12-031-9/+155
| | | | step is to support usernames etc
* added basic ability to dump remote file aclsAndrew Tridgell2000-12-031-6/+52
|
* a prootype program for querying/setting a security decsriptor on aAndrew Tridgell2000-12-031-0/+233
remote machine it is by no means complete, expect more commits soon