summaryrefslogtreecommitdiffstats
path: root/source/libsmb
Commit message (Collapse)AuthorAgeFilesLines
...
* volker was concerned about unique inode numbers and smbsh. This set ofAndrew Tridgell1998-10-241-8/+19
| | | | | | changes uses the unique index number from a SMB_QUERY_FILE_ALL_INFO to try to provide inode numbers. If it is 0 then use the hash of the filename as before.
* Removed previously #ifdef 0 'ed code.Jeremy Allison1998-10-221-37/+0
| | | | Jeremy.
* libsmb/smbdes.c: #ifdef'ed out code prior to removal.Jeremy Allison1998-10-221-0/+5
| | | | | | | | | | | | | | | | | | rpc_client/cli_pipe.c: Inlined code removed from smbdes.c rpc_server/srv_samr.c: Fixed unused variable warning. rpc_server/srv_util.c: Inlined code removed from smbdes.c Luke - the above changes are the first part of the changes you and I discussed as being neccessary at the CIFS conference. *PLEASE REVIEW THESE CHANGES* - make sure I haven't broken any of the authenticated DCE/RPC code. smbd/nttrans.c: Fixed to allow NT5.0beta2 to use Samba shares with NT SMB support. smbd/open.c: Fixed mkdir when called from nttrans calls. smbd/server.c: Set correct size for strcpy of global_myworkgroup. Jeremy.
* - dce/rpc codeLuke Leighton1998-10-192-3/+2
| | | | | | | | | | | | | | | | | | | - removed debug info in struni2 and unistr2 (security risk) - rpc_pipe function was getting pointer to data then calling realloc *dur* - password check function, the start of "credential checking", user, wks, domain, pass as the credentials (not just user,pass which is incorrect in a domain context) - cli_write needs to return ssize_t not size_t, because total can be -1 if the write fails. - fixed signed / unsigned warnings (how come i don't get those any more when i compile with gcc???) - nt password change added in smbd. yes, jeremy, i verified that the SMBtrans2 version still works.
* improved session reestablishmentAndrew Tridgell1998-10-191-36/+82
|
* return the resolved IP on a cli_connect() call so it can be cachedAndrew Tridgell1998-10-191-0/+1
|
* Small tidyups for gcc in 'preen' mode....Jeremy Allison1998-10-171-0/+1
| | | | Jeremy.
* - use large buffers for netshareenumAndrew Tridgell1998-10-161-19/+30
| | | | | - handle errmoredata a bit better - fix dev type from tconx for smbw
* trans2.h: Added Thursby MAC extension.Jeremy Allison1998-10-161-0/+8
| | | | | | smbd/trans2.c: Added Thursby MAX extension. libsmb/clientgen.c: Fixed smbtorture lock code. Jeremy.
* rpcclient interactive login (with trust account changing if you are root)Luke Leighton1998-10-151-4/+14
| | | | cli_session_setup handles null sessions correctly
* set recursion desired for bcast name queryAndrew Tridgell1998-10-141-1/+1
|
* 16 changed to 8 by mistake in samoemhash.Luke Leighton1998-10-141-1/+1
|
* warnings spotted by ./configure.developer optionsLuke Leighton1998-10-141-0/+2
|
* dce/rpcLuke Leighton1998-10-141-1/+1
|
* dce/rpcLuke Leighton1998-10-102-5/+15
|
* dce/rpcLuke Leighton1998-10-092-18/+28
|
* dce/rpc.Luke Leighton1998-10-091-2/+3
|
* basic client-side ntcreateX function (hard-wired values except filename)Luke Leighton1998-10-091-0/+44
|
* dce/rpcLuke Leighton1998-10-092-10/+22
|
* dce/rpcLuke Leighton1998-10-082-13/+51
|
* fixed bug pointed out by Herb.Andrew Tridgell1998-10-081-1/+1
|
* - don't generate 0 params in tortureAndrew Tridgell1998-10-081-3/+3
| | | | - handle 0 params in ipc.c
* - fixed a bunch of warnings and minor errorsAndrew Tridgell1998-10-082-2/+2
| | | | | | - got smbtorture to compile - removed %D from some of lukes code - Luke, what is %D? it ain't portable anyway
* use 1 second resolution calls if possibleAndrew Tridgell1998-10-081-2/+5
|
* dce/rpcLuke Leighton1998-10-072-2/+65
|
* do an anonymous login if the username/password is rejected.Andrew Tridgell1998-10-071-0/+1
|
* fixed rename error code from NT serversAndrew Tridgell1998-10-061-0/+1
|
* implemented unix semantics for rename in smbwrapperAndrew Tridgell1998-10-061-0/+6
|
* rpcclient srvsvc commands.Luke Leighton1998-10-051-1/+4
|
* ignore *.po32 filesAndrew Tridgell1998-10-051-0/+2
|
* got smbwrapper working on IRIX 6.4. Things got a bit tricky,Andrew Tridgell1998-10-051-1/+1
| | | | especially as the headers get the syscall numbers wrong!
* handle ENOTDIR errno in cli_error()Andrew Tridgell1998-10-051-0/+2
|
* started basic support for solaris 2.5 in smbwrapper.Andrew Tridgell1998-10-041-1/+1
|
* - modified resolve_name() to take a name_typeAndrew Tridgell1998-10-042-149/+174
| | | | | | - cleaned up resolve_name() (split into separate functions for each resolver) - if can't find local master then use #1B name - support listing of foreign workgroups in /smb/
* support NetServerEnum in smbwrapper. You can now do a ls in /smb/ andAndrew Tridgell1998-10-042-2/+41
| | | | | it will list all servers in your workgroup. You can set your workgroup with the SMBW_WORKGROUP environment variable.
* use *SMBSERVER convention in smbwrapper to allow us to connect toAndrew Tridgell1998-10-042-2/+2
| | | | servers that we don't know the netbios name of.
* add support for unlink() on printer shares in smbwrapper. unlink()Andrew Tridgell1998-10-041-0/+37
| | | | will remove the job from the pirnt queue.
* added support for printing via smbwrapperAndrew Tridgell1998-10-041-0/+100
| | | | | | You can print using "cp filename /smb/SERVER/PRINTER/jobname" You can list the current printqueue using ls
* use CLI_BUFFER_SIZE instead of BUFFER_SIZEAndrew Tridgell1998-10-041-10/+12
|
* fix an error code in cli_error()Andrew Tridgell1998-10-041-1/+1
|
* modified cli_read() and cli_write() to issue multiple outstandingAndrew Tridgell1998-10-041-55/+133
| | | | | | | | | read/write requests for large reads. up to max_mux requests may be outstanding. This gives _much_ better throughput and should allow smbsh to saturate just about any network. this is an implementation of the "fast SMB" method I described on the CIFS list a couple of months back.
* use const charAndrew Tridgell1998-10-041-2/+2
|
* fixed a authentication problem with non-encrypting serversAndrew Tridgell1998-10-031-2/+3
|
* fixed vi on smbwrappper (it was a problem in cli_read())Andrew Tridgell1998-10-031-2/+2
|
* added simple device/inode number support based on a checksum of theAndrew Tridgell1998-10-031-1/+1
| | | | filename
* - always open for reading (otherwise getattrE won't work).Andrew Tridgell1998-10-031-4/+11
| | | | - added somemore NT error codes
* added unlink() and rename() support to smbwrapperAndrew Tridgell1998-10-031-5/+9
|
* - ignore *.p filesAndrew Tridgell1998-10-032-87/+222
| | | | | | | | | | | | - enable cli_RNetSharEnum - fix password handling in sesssetup for NT1 protocol - handle partial reads and writes in cli_{read,write} - added cli_getattrE - modify cli_qpathinfo() to swap byte order for win95 servers - handle temporary errors from FINDFIRST/FINDNEXT from win95 servers, when we get a error we sleep for a bit and retry - return approx unix errno from cli_error(). Need to add a lot more cases to this.
* Makefile.in :Luke Leighton1998-10-021-58/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added srvsvc client files clientgen.c : - replaced cli_error(cli, int *cls, int *err) with cli_error(cli, uint8 cls, uint32 *err). this version detects 32 bit status messages. the DOS error "MORE_DATA", the equivalent of the 32 bit *warning* 0x8000 0005 (STATUS_BUFFER_OVERFLOW), was being processed as an error, terminating the cli_receive_trans() call. cli_pipe.c : - replaced calls that had been incorrectly modified from 32 bit warnings (0x8000 0005 - STATUS_BUFFER_OVERFLOW) to 8 bit DOS errors (0x01 0xEA - MORE_DATA). the use of the old version of cli_error (DOS only) instead of the new one (DOS and 32 bit) caused the dce/rpc client code to fail. - replaced 2 space indentation with tab indentation in all functions. cli_srvsvc.c : cmd_srvsvc.c : - added these files back in, fixing them up to use jeremy's modified versions of the dce/rpc client functions. parse_srv.c : - added back in some "unused" functions required by dce/rpc client-side code. it would be helpful if all such "unused" functions could be added back in. rpcclient.c : - added "session", "file", "share", "connection" enumeration functions back in. these are equivalent to nt's "NetXXXXXEnum" Win32 (MSDN) functions. - added "srvinfo" function back in. this is equivalent to nt's NetServerGetInfo Win32 (MSDN) function.
* - static function "create_new_hashes" was identical to "nt_lm_owf_gen".Luke Leighton1998-10-021-10/+36
| | | | | | | | | | create_new_hashes didn't zero the buffer for the md4hash: nt_lm_owf_gen did, because jeremy sorted this out a couple of days ago. call nt_lm_owf_gen instead. - call SMBOWFencrypt from SMBencrypt and SMBNTencrypt. - added #ifdef DEBUG_PASSWORD debug password calls.