summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix typos in new group sid check.Jeremy Allison2000-12-181-2/+2
| | | | | Jeremy. (This used to be commit c48e95297e63c8b6f0c6686e5bcfa52229710dbc)
* Added query info policy call.Tim Potter2000-12-181-0/+86
| | | | (This used to be commit dcea2a4bc0503822667b73d19c4f0a59b15715a5)
* Merged Tim's fixes from appliance-head.Jeremy Allison2000-12-183-107/+160
| | | | | Jeremy. (This used to be commit 26f873540c2299600cb80eb059fcdaf70ec82473)
* Streamlined exit path.Tim Potter2000-12-181-24/+27
| | | | | | Allow NULL to be passed to cli_lsa_initialise() which creates an anonymous connection to the server. (This used to be commit 8ccd06ee9635e81bdefa8ae58a88c39f132b371c)
* Fixed chown/chgrp setting from smbcacls.Jeremy Allison2000-12-161-0/+2
| | | | | Jeremy. (This used to be commit 43ca0d991cc6489be16722a7ea89e01a42f2ca2f)
* 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. (This used to be commit 12f88c9ba731bdded626b9d011cfc8d2ba09010e)
* Documented -C and -G options to smbcacls.Jeremy Allison2000-12-161-0/+17
| | | | | Jeremy. (This used to be commit 89708be73ad8829ee2e9637db2e2be6493493396)
* Never free anything in the rpc_parse/prs_XXX functions. Do it in the enclosingJeremy Allison2000-12-153-26/+21
| | | | | | | | function. lib/util_unistr.c: Check lengths *before* reading source - prevent uninitialised memory reads. Jeremy. (This used to be commit ce4f461965c872fbfc9fe5f6b98aed58bb3dd67a)
* Added lock backouts on fail.Jeremy Allison2000-12-155-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. (This used to be commit 506b5e34c3ba16768dbc82ba21044787de160c45)
* lib/util_unistr.c:Jean-François Micouleau2000-12-157-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. (This used to be commit 69fe739303b105f2c488f266f13977da1b6b201d)
* Fixed memory leak in JOB_INFO_2 code.Jeremy Allison2000-12-151-3/+2
| | | | | Jeremy. (This used to be commit d0d31eead3367485bbac684d881839029010975d)
* Fixed memory leaks in lsa_XX calls. Fixed memory leaks in smbcacls. MergedJeremy Allison2000-12-1516-87/+148
| | | | | | | in fixes from appliance-head and 2.2. Fixed multiple connection.tdb open problem. Jeremy. (This used to be commit 0a40bc83e14c69a09948ec09bb6fc5026c4f4c14)
* Changes from APPLIANCE_HEAD:David O'Neill2000-12-141-1/+9
| | | | | | - add some debugs for comparing two security descriptors. (source/rpc_parse/parse_sec.c) (This used to be commit 505a8a2277f2bc761bd2b170fafbcb3afd982d92)
* Updates from appliance-head.Jeremy Allison2000-12-141-8/+47
| | | | | Jeremy. (This used to be commit 15ae2c335b52e34c06d8f4f9ebad28078292b208)
* Renamed parameters and variables called acl to the_acl as it conflictsTim Potter2000-12-143-28/+28
| | | | | with a Solaris system call. (This used to be commit 5e547ddcb526be5562db9213c5b36e505e735a2e)
* Updated smbcacls documentation.Tim Potter2000-12-143-28/+237
| | | | (This used to be commit bd87398b5a9421add8db8b455d02ccd6b2624f58)
* Cache lsa connection and policy handle for resolving names and sids.Tim Potter2000-12-141-48/+56
| | | | (This used to be commit 09d2d972fd6f70bdf62f25936494968ef597b98b)
* inverted dword valueGerald Carter2000-12-131-1/+1
| | | | | jerry (This used to be commit 0e5c1df2841ee0dd44bb5c52af90ca98649a4d55)
* Changes from APPLIANCE_HEAD:David O'Neill2000-12-132-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) (This used to be commit c533e77f1912618230a938458980a9339924fe06)
* Added proto definition for new RPC calls.Jeremy Allison2000-12-133-33/+31
| | | | | | Added printing fix from appliance-head. Jeremy. (This used to be commit f4c7f9ddb906b67ee4397e7707309356085476d1)
* I think it's time to go home.Tim Potter2000-12-131-5/+6
| | | | (This used to be commit fde66badf143cde40af35e86d55acb48dc754cdd)
* OK so I shouldn't have added cli_pipe.o to LIBSMB_OBJ.Tim Potter2000-12-131-2/+3
| | | | (This used to be commit a724850eb83e61450f112c0b2e6e3492c2a72863)
* Add libsmb/cli_lsarpc.o and rpc_client/cli_pipe.o to LIBSMB_OBJ. Not soTim Potter2000-12-131-2/+3
| | | | | | | sure about the latter... Modified SMBCACLS_OBJ (This used to be commit c130d5b0f6a23b4fe19accad8a49ac58a1a8b0b1)
* Convert names to sids when modifying ACLs. Convert sids to names whenTim Potter2000-12-131-10/+68
| | | | | displaying ACLs. (This used to be commit 5001bbc64be62af1597eb334e5b530b415d62a6b)
* Lightweight rpc client library. Uses only routines in libsmb andTim Potter2000-12-131-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. (This used to be commit 129d5a155a73d926868d74f8447c1e93b429388d)
* Server side changes for dynamic names in lsa_lookup_namesTim Potter2000-12-132-20/+10
| | | | (This used to be commit 5c5c3a8a08efe8c2f36a55b1383e9d3dd9eca4a5)
* make protoTim Potter2000-12-133-19/+37
| | | | | Updates for dynamic sized lookup names/sids (This used to be commit 34743c157632b1784bd15e3ca97380b1f9754e46)
* Wrong length for unistr2 in init_q_lookup_names()Tim Potter2000-12-132-27/+36
| | | | | | Removed some more static arrays and replaced with tallocated memory blocks. (This used to be commit 1db0f31ae00bf9c91eb7d02c96bf766d04c7bdef)
* Two tdb bugfixes. First one - ensure that traverse lock is moved before deletingJeremy Allison2000-12-131-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. (This used to be commit dd959fa325c5df8ce0407d8debea76602c8e71cf)
* Added support for SERVICESF shared variable to change configuration fileTim Potter2000-12-131-1/+4
| | | | | used in lp_load(). (This used to be commit 4d80ee4f41ac3d61579c9cf23cb815d7fe5da5db)
* Fixed bug noticed by JF. se_access_check needs user SID as first in token.Jeremy Allison2000-12-121-10/+23
| | | | | Jeremy. (This used to be commit f0d7867801e3f78bfc55fdb36ca965e35457f51b)
* Fixed processing of dfree script (was truncating).Jeremy Allison2000-12-121-2/+0
| | | | | Jeremy. (This used to be commit 1e719a807669876b4d11f4653e9712f25fcba20b)
* Brief documentation on using the virtual printer codeDavid O'Neill2000-12-121-2/+35
| | | | (This used to be commit 03dd90ab923ec88cdada8c5d725d9482bd9826f2)
* more fixes from Simo. Also fixed the password expiration fieldGerald Carter2000-12-121-134/+59
| | | | | | | | | | in the tdbsam to never expire (we don't support this yet). jerry (This used to be commit 3b7d0fe7eb3a9275d2713d7b3325de0ab510ea62)
* Don't print out the security descriptor type as it is automaticallyTim Potter2000-12-121-7/+1
| | | | | calculated by the new make_sec_desc() function. (This used to be commit 6fd5dc81458317e106f5ea24958cefe4146c90a6)
* Better error checking for ACL parsing.Tim Potter2000-12-121-7/+21
| | | | | Print an error when attempting to delete a non-existent ACL. (This used to be commit d119782d0d8d2738650da47fa11134d26134ce17)
* Fix error string.Tim Potter2000-12-121-1/+1
| | | | (This used to be commit 73b237e639717019c596954c745b7e4d038ddc8c)
* Fixed some accidentally reversed patches.Tim Potter2000-12-121-115/+411
| | | | (This used to be commit fa604bc85ea6989c794747f668be8a4e62527b79)
* Compile fix for new arg to create_nt_token()Tim Potter2000-12-122-3/+7
| | | | (This used to be commit 806185ca8cc8d28f16745a1db9427f52eb8d22e4)
* Merged in Tim's changes : Removed static limit of MAX_LOOKUP_SIDS in rpc ↵Jeremy Allison2000-12-126-486/+276
| | | | | | | | server and client lsa_lookup_names() and lsa_lookup_sids(). Jeremy. (This used to be commit 9e9c71c8b3194b7cd02fea0b6a000d4f2940d905)
* Removed the special casing of SIDs in se_access_check. This is now done ↵Jeremy Allison2000-12-126-434/+555
| | | | | | | | (correctly) when the NT_USER_TOKEN is *created*. Jeremy. (This used to be commit 27d72ed1cf8ece2bede812341279ba5a7262ace4)
* Owner always has READ_CONTROL and WRITE_DAC access.Jeremy Allison2000-12-121-1/+3
| | | | | Jeremy. (This used to be commit 05fcb124dfbb1a257828e9dc6a7793fc3dc73c4b)
* Sorry Gerald, I think the original code was better (plus safer as I'm sureJeremy Allison2000-12-121-7/+10
| | | | | | it's working :-). Jeremy. (This used to be commit e18c104ee35d00dcbe2e73e6c9699300a3947364)
* Extra part of fix that Gerald missed (sorry).Jeremy Allison2000-12-121-1/+1
| | | | | Jeremy. (This used to be commit ebf754400f443452948020d68e29f597f1b2d60c)
* subtle bug where files which missed the stat_cache but were addedGerald Carter2000-12-111-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\ > (This used to be commit 8938dc183112b039c21a5a0beadb60068a8c5b00)
* Fix for short names not being returned correctly with non-mangled shares.Jeremy Allison2000-12-111-1/+2
| | | | | Jeremy. (This used to be commit bcf0a5c316ee8cf333d9d838b041e44a11cb5f1b)
* Fixed very subtle bug returning correct error on an open, when we haveJeremy Allison2000-12-112-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. (This used to be commit 7eb7241442ea0f1e065b009c3cccd5821b89a8b6)
* Adding in debug for SD's.Jeremy Allison2000-12-112-0/+48
| | | | | Jeremy. (This used to be commit a19f936b644fedc4c59ada5f12172abed9894910)
* code review of rpcclientGerald Carter2000-12-111-159/+140
| | | | | | | | | | | o added some comments o abstracted a few code bits o cleaned up some code by removing unused code paths -- jerry (This used to be commit 679453af36c06ae9c82dd20742a56272ec73f427)
* type for client_info structGerald Carter2000-12-111-2/+2
| | | | (This used to be commit 2c03b91d6041082bba6ba4322ed41b4378af7ef3)