Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixed chown/chgrp setting from smbcacls. | Jeremy Allison | 2000-12-16 | 1 | -0/+2 |
| | | | | Jeremy. | ||||
* | Added -C username and -G username that allow a user (usually Administrator) | Jeremy Allison | 2000-12-16 | 1 | -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. | ||||
* | Documented -C and -G options to smbcacls. | Jeremy Allison | 2000-12-16 | 1 | -0/+17 |
| | | | | Jeremy. | ||||
* | Never free anything in the rpc_parse/prs_XXX functions. Do it in the enclosing | Jeremy Allison | 2000-12-15 | 3 | -26/+21 |
| | | | | | | | function. lib/util_unistr.c: Check lengths *before* reading source - prevent uninitialised memory reads. Jeremy. | ||||
* | Added lock backouts on fail. | Jeremy Allison | 2000-12-15 | 5 | -65/+43 |
| | | | | | | | | | | When chaining together long lines of bloody "if" statements, which should logically be separated, and one of them allocates memory, remember to *free* it *WHETHER OR NOT THE IF STATEMENTS SUCCEEDED* !!!! Yes I do consider this a bug in the coding style of Tridge, Rusty, Tim et al. :-). I'm just pissed 'cos this took 4 hours to track down even with an insure error report stating me in the face and also Ben Woodward looking over the code with me :-). Jeremy. | ||||
* | lib/util_unistr.c: | Jean-François Micouleau | 2000-12-15 | 7 | -45/+89 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | rewrote unistr2_to_ascii() to correct a bug seen on SGI boxes. rpc_parse/parse_misc.c: rpc_parse/parse_prs.c: rewrote of BUFFER5 handling to NOT byteswap when it was already in network byte order. rpc_parse/parse_samr.c: cleanup of samr_io_q_lookup_domain(), remove the over-parsing by 2 bytes. rpc_server/srv_lsa.c: UNISTR2 strings need to be NULL terminated to pleased W2K. rpc_server/srv_spoolss_nt.c: use snprintf instead of safe_strcpy as we want the string truncated at 32 chars. That should fix SUN and SGI box not able to act as printserver and the problem with joining from a W2K wks. J.F. | ||||
* | Fixed memory leak in JOB_INFO_2 code. | Jeremy Allison | 2000-12-15 | 1 | -3/+2 |
| | | | | Jeremy. | ||||
* | Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. Merged | Jeremy Allison | 2000-12-15 | 16 | -87/+148 |
| | | | | | | in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open problem. Jeremy. | ||||
* | Changes from APPLIANCE_HEAD: | David O'Neill | 2000-12-14 | 1 | -1/+9 |
| | | | | | - add some debugs for comparing two security descriptors. (source/rpc_parse/parse_sec.c) | ||||
* | Updates from appliance-head. | Jeremy Allison | 2000-12-14 | 1 | -8/+47 |
| | | | | Jeremy. | ||||
* | Renamed parameters and variables called acl to the_acl as it conflicts | Tim Potter | 2000-12-14 | 3 | -28/+28 |
| | | | | with a Solaris system call. | ||||
* | Updated smbcacls documentation. | Tim Potter | 2000-12-14 | 3 | -28/+237 |
| | |||||
* | Cache lsa connection and policy handle for resolving names and sids. | Tim Potter | 2000-12-14 | 1 | -48/+56 |
| | |||||
* | inverted dword value | Gerald Carter | 2000-12-13 | 1 | -1/+1 |
| | | | | jerry | ||||
* | Changes from APPLIANCE_HEAD: | David O'Neill | 2000-12-13 | 2 | -15/+20 |
| | | | | | | | | | - trivial typo in definition of enum_printing[] (source/param/loadparm.c) - fixed printer status display bug. When no jobs existed in queue, the clients were not properly notified of printer status. This caused native tools for pausing/unpausing a print queue to not work. (source/printing/printing.c) | ||||
* | Added proto definition for new RPC calls. | Jeremy Allison | 2000-12-13 | 3 | -33/+31 |
| | | | | | Added printing fix from appliance-head. Jeremy. | ||||
* | I think it's time to go home. | Tim Potter | 2000-12-13 | 1 | -5/+6 |
| | |||||
* | OK so I shouldn't have added cli_pipe.o to LIBSMB_OBJ. | Tim Potter | 2000-12-13 | 1 | -2/+3 |
| | |||||
* | Add libsmb/cli_lsarpc.o and rpc_client/cli_pipe.o to LIBSMB_OBJ. Not so | Tim Potter | 2000-12-13 | 1 | -2/+3 |
| | | | | | | sure about the latter... Modified SMBCACLS_OBJ | ||||
* | Convert names to sids when modifying ACLs. Convert sids to names when | Tim Potter | 2000-12-13 | 1 | -10/+68 |
| | | | | displaying ACLs. | ||||
* | Lightweight rpc client library. Uses only routines in libsmb and | Tim Potter | 2000-12-13 | 1 | -0/+370 |
| | | | | | | | rpc_client/cli_pipe.c Only cli_lsa_open_policy(), cli_lsa_close(), cli_lsa_lookup_names() and cli_lsa_lookup_sids() implemented so far. | ||||
* | Server side changes for dynamic names in lsa_lookup_names | Tim Potter | 2000-12-13 | 2 | -20/+10 |
| | |||||
* | make proto | Tim Potter | 2000-12-13 | 3 | -19/+37 |
| | | | | Updates for dynamic sized lookup names/sids | ||||
* | Wrong length for unistr2 in init_q_lookup_names() | Tim Potter | 2000-12-13 | 2 | -27/+36 |
| | | | | | Removed some more static arrays and replaced with tallocated memory blocks. | ||||
* | Two tdb bugfixes. First one - ensure that traverse lock is moved before deleting | Jeremy Allison | 2000-12-13 | 1 | -45/+58 |
| | | | | | | | dead records, else the record is just marked for deletion, not actually deleted. Second, ensure allocated record is marked as "in use" before free list lock is released, else other processes in the freelist merge code may try and merge it. Jeremy. | ||||
* | Added support for SERVICESF shared variable to change configuration file | Tim Potter | 2000-12-13 | 1 | -1/+4 |
| | | | | used in lp_load(). | ||||
* | Fixed bug noticed by JF. se_access_check needs user SID as first in token. | Jeremy Allison | 2000-12-12 | 1 | -10/+23 |
| | | | | Jeremy. | ||||
* | Fixed processing of dfree script (was truncating). | Jeremy Allison | 2000-12-12 | 1 | -2/+0 |
| | | | | Jeremy. | ||||
* | Brief documentation on using the virtual printer code | David O'Neill | 2000-12-12 | 1 | -2/+35 |
| | |||||
* | more fixes from Simo. Also fixed the password expiration field | Gerald Carter | 2000-12-12 | 1 | -134/+59 |
| | | | | | | | | | in the tdbsam to never expire (we don't support this yet). jerry | ||||
* | Don't print out the security descriptor type as it is automatically | Tim Potter | 2000-12-12 | 1 | -7/+1 |
| | | | | calculated by the new make_sec_desc() function. | ||||
* | Better error checking for ACL parsing. | Tim Potter | 2000-12-12 | 1 | -7/+21 |
| | | | | Print an error when attempting to delete a non-existent ACL. | ||||
* | Fix error string. | Tim Potter | 2000-12-12 | 1 | -1/+1 |
| | |||||
* | Fixed some accidentally reversed patches. | Tim Potter | 2000-12-12 | 1 | -115/+411 |
| | |||||
* | Compile fix for new arg to create_nt_token() | Tim Potter | 2000-12-12 | 2 | -3/+7 |
| | |||||
* | Merged in Tim's changes : Removed static limit of MAX_LOOKUP_SIDS in rpc ↵ | Jeremy Allison | 2000-12-12 | 6 | -486/+276 |
| | | | | | | | server and client lsa_lookup_names() and lsa_lookup_sids(). Jeremy. | ||||
* | Removed the special casing of SIDs in se_access_check. This is now done ↵ | Jeremy Allison | 2000-12-12 | 6 | -434/+555 |
| | | | | | | | (correctly) when the NT_USER_TOKEN is *created*. Jeremy. | ||||
* | Owner always has READ_CONTROL and WRITE_DAC access. | Jeremy Allison | 2000-12-12 | 1 | -1/+3 |
| | | | | Jeremy. | ||||
* | Sorry Gerald, I think the original code was better (plus safer as I'm sure | Jeremy Allison | 2000-12-12 | 1 | -7/+10 |
| | | | | | it's working :-). Jeremy. | ||||
* | Extra part of fix that Gerald missed (sorry). | Jeremy Allison | 2000-12-12 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | subtle bug where files which missed the stat_cache but were added | Gerald Carter | 2000-12-11 | 1 | -10/+7 |
| | | | | | | | | | | | | to the cache during the look returned a blank stat struct. Made weird occurrences such as... $ smbclient //pogo/print$ smb:\ > cd w32x86 ERROR: Invalid path smb:\ > cd w32x86 smb:\w32x86\ > | ||||
* | Fix for short names not being returned correctly with non-mangled shares. | Jeremy Allison | 2000-12-11 | 1 | -1/+2 |
| | | | | Jeremy. | ||||
* | Fixed very subtle bug returning correct error on an open, when we have | Jeremy Allison | 2000-12-11 | 2 | -10/+91 |
| | | | | | | | a choice of invalid share mode and access denied. We must return the access denied by preference, but also remember to break the oplocks... This is needed for multi-user MS-Access. Jeremy. | ||||
* | Adding in debug for SD's. | Jeremy Allison | 2000-12-11 | 2 | -0/+48 |
| | | | | Jeremy. | ||||
* | code review of rpcclient | Gerald Carter | 2000-12-11 | 1 | -159/+140 |
| | | | | | | | | | | o added some comments o abstracted a few code bits o cleaned up some code by removing unused code paths -- jerry | ||||
* | type for client_info struct | Gerald Carter | 2000-12-11 | 1 | -2/+2 |
| | |||||
* | new version of Get_Pwnam() | Gerald Carter | 2000-12-11 | 1 | -52/+50 |
| | | | | | | | | | o check the username in all lowercase o check the username as transmitted if this would be a different case o check the username in all upper case if this is a new version -- jerry | ||||
* | return NULL instead of return False in char *prs_mem_get(); | Tim Potter | 2000-12-11 | 1 | -1/+1 |
| | |||||
* | Added Tim's fix for read-only crashes. | Jeremy Allison | 2000-12-11 | 1 | -0/+2 |
| | | | | Jeremy. | ||||
* | new prototypes | Andrew Tridgell | 2000-12-11 | 2 | -482/+384 |
| |