summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixed -d option for rpcclient.Tim Potter2001-01-021-2/+7
| |
| * The line was:Christopher R. Hertel2000-12-301-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | struct tdb_traverse_lock tl = { tdb->travlocks.next, 0, 0 }; The IRIX compiler complained that the first initialization value was not a constant and errored out. Here's what it looks like now: struct tdb_traverse_lock tl = { NULL, 0, 0 }; int ret, count = 0; /* This was in the initializaton, above, but the IRIX compiler * did not like it. crh */ tl.next = tdb->travlocks.next; That worked. Chris -)-----
| * First pass at the libsmbclient code ...Richard Sharpe2000-12-264-0/+1524
| | | | | | | | | | | | | | | | | | | | | | | | This code handles the basic stuff and compiles and links under Linux, but I do not know about any other operating systems. Now onto directory listing routines, including those that list workgroups, servers, etc. Nothing is built automatically yet, you have to make client/testsmbc to build the library and test program. Also, no make install targets are defined for libsmbclient.so as yet, either. Would be good if people test on operating systems other than Linux.
| * merge from appliance headGerald Carter2000-12-211-0/+5
| |
| * Return appropriate exit codes for various situations:Tim Potter2000-12-211-22/+32
| | | | | | | | | | | | 0 for success 1 if operation failed 2 command line parse error
| * Documentation updates for smbcacls program.Tim Potter2000-12-213-42/+139
| |
| * If extra arguments passed make yodl docs for these files rather than *.yoTim Potter2000-12-211-2/+8
| |
| * merge from appliance headGerald Carter2000-12-211-1/+4
| |
| * make protoTim Potter2000-12-211-0/+1
| |
| * Don't call string_to_sid after cli_lsa_lookup_names() fails.Tim Potter2000-12-211-2/+55
| | | | | | | | | | | | | | | | | | | | Can't use space as a ACL separator as it breaks NT user/group names that contain spaces (i.e most of the default ones). The MSDN is contradictory over the exact ordering of ACE entries in an ACL. However NT4 gives a "The information may have been modified by a computer running Windows NT 5.0" if denied ACEs do not appear before allowed ACEs. Sort ACE list before calling cli_set_secdesc().
| * Some systems seem to only accept a ntcreate&x with a unicode filenameTim Potter2000-12-211-5/+45
| | | | | | | | | | | | | | despite samba negotiating ascii filenames. Retry with unicode pathnames if the ascii version fails. Convert all forward slashes to backslashes in the filename argument.
| * Added a cli_nt_create_uni() to do a ntcreate&x with a unicode filename,Tim Potter2000-12-211-2/+49
| | | | | | | | regardless of the settings negotiated in the flags2 smb field.
| * Replace magic number with constant.Tim Potter2000-12-211-1/+1
| |
| * Cleaned up SidToString() and StringToSid() exit paths.Tim Potter2000-12-211-17/+27
| | | | | | | | | | Can now use user%password format in $USER environment variable. -U option is now optional.
| * Removed uninitialised variable.Jeremy Allison2000-12-201-1/+0
| | | | | | | | Jeremy.
| * implemented a much nicer name_status() interface. It now returns aAndrew Tridgell2000-12-205-178/+199
| | | | | | | | | | | | | | list of structures rather than the dodgy parsing code we had before this also gets smbw working correctly with no initial workgroup (using name_status_find on __MSBROWSE__ returns)
| * Fixed bug found by Gerald. If a Samba server joins a domain and is setJeremy Allison2000-12-194-8/+23
| | | | | | | | | | | | | | | | to search for a DC to authenticate to using the "*" syntax than ensure that for the first hour after the password change is searches for the PDC using the 1B name not the 1C name as domain replication may not have occured. Jeremy.
| * Split set_nt_acls into owner set (which uses chown) and permission setJeremy Allison2000-12-191-94/+109
| | | | | | | | | | (which currently uses chmod) in preparation for ACL creation. Jeremy.
| * Split the one sys_acl_free call into sys_acl_free_TYPE calls, to allowJeremy Allison2000-12-193-19/+42
| | | | | | | | | | easier wrapping of non-POSIX ACL interfaces. Jeremy.
| * A couple more UMR fixes.Jeremy Allison2000-12-181-2/+2
| | | | | | | | Jeremy.
| * Cast prs_alloc_mem to correct type.Jeremy Allison2000-12-181-2/+2
| | | | | | | | Jeremy.
| * Fix typos in new group sid check.Jeremy Allison2000-12-181-2/+2
| | | | | | | | Jeremy.
| * Added query info policy call.Tim Potter2000-12-181-0/+86
| |
| * Merged Tim's fixes from appliance-head.Jeremy Allison2000-12-183-107/+160
| | | | | | | | Jeremy.
| * 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.
| * Fixed chown/chgrp setting from smbcacls.Jeremy Allison2000-12-161-0/+2
| | | | | | | | 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.
| * Documented -C and -G options to smbcacls.Jeremy Allison2000-12-161-0/+17
| | | | | | | | Jeremy.
| * 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.
| * 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.
| * 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.
| * Fixed memory leak in JOB_INFO_2 code.Jeremy Allison2000-12-151-3/+2
| | | | | | | | Jeremy.
* | Make sure that anyone sending poret 138 requests can get replies if theRichard Sharpe2001-01-051-1/+1
| | | | | | | | server is on the same machine as the client.
* | re : W2K SP1 bugDavid Bannon2000-12-293-107/+128
| |
* | merge from appliance headGerald Carter2000-12-211-0/+5
| |
* | merge from appliance headGerald Carter2000-12-211-1/+4
| |
* | Minor UpdateDavid Bannon2000-12-216-1672/+1301
| |
* | Removed uninitialised variable.Jeremy Allison2000-12-201-1/+0
| | | | | | | | Jeremy.
* | Fixed bug found by Gerald. If a Samba server joins a domain and is setJeremy Allison2000-12-204-8/+23
| | | | | | | | | | | | | | | | to search for a DC to authenticate to using the "*" syntax than ensure that for the first hour after the password change is searches for the PDC using the 1B name not the 1C name as domain replication may not have occured. Jeremy.
* | lib/util_unistr.c: A couple more uninitialised memory read fixes.Jeremy Allison2000-12-183-26/+133
| | | | | | | | | | libsmb/cli_lsarpc.c: Merge for Tim's fixes from HEAD. Jeremy.
* | Cast prs_alloc_mem to correct type.Jeremy Allison2000-12-181-2/+2
| | | | | | | | Jeremy.
* | Merged Tim's fixes from appliance-head.Jeremy Allison2000-12-183-107/+160
| | | | | | | | Jeremy.
* | Fixed chown/chgrp setting from smbcacls.Jeremy Allison2000-12-161-0/+2
| | | | | | | | 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.
* | 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.
* | When chaining together long lines of bloody "if" statements, which shouldJeremy Allison2000-12-151-1/+3
| | | | | | | | | | | | | | | | | | 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.
* | Makefile.in, Added libsmb/cli_lsarpc.c - needed for smbcacls.Jeremy Allison2000-12-152-3/+26
| | | | | | | | | | tdb/tdb.c: Added locking backout fixes pointed out by Elrond. Jeremy.
* | Sync-up with HEAD.Jean-François Micouleau2000-12-158-61/+87
| | | | | | | | | | | | | | 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 leaks with JOB_INFO_2.Jeremy Allison2000-12-151-3/+2
| | | | | | | | Jeremy.
* | Remember to free stuff *you* allocated, not from the prs_struct :-).Jeremy Allison2000-12-151-6/+13
| | | | | | | | Jeremy.