Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | fixing smbd encrypted rpcs (data lens, alloc hints, sequence nums argh). | Luke Leighton | 1998-10-21 | 6 | -16/+26 | |
| | | | | | | put unicode strings after SAMLOGON query regardless of whether it's an NT mailslot or a non-NT mailslot, after having observed this behaviour out of NT machines. | |||||
* | at the interop Isaac (at least I _think_ it was Isaac) said that if a | Andrew Tridgell | 1998-10-21 | 2 | -1/+18 | |
| | | | | | | | | | | | | | | | MS client doesn't respond to a oplock break request then we might try resending the request. This morning Sues Win95 machine had this problem (thus forcing me to do something about it!). When starting winword her box refused to answer an oplock break request. I have added code to resend the oplock break request up to 3 times at 10 second intervals before killing the socket. of course, as soon as I did this her box started to behave again so I haven't been able to tell if this fix actually works, but it can't be worse than dropping the socket immediately. | |||||
* | signed / unsigned warnings (found by herb). | Luke Leighton | 1998-10-20 | 4 | -16/+16 | |
| | | | | how do i switch on these warnings in gcc????? | |||||
* | dce/rpc. bug-fix in ipc.c (introduced today :) | Luke Leighton | 1998-10-20 | 3 | -29/+89 | |
| | ||||||
* | Fixed bug found by John Blair where trim_string wasn't | Jeremy Allison | 1998-10-20 | 3 | -193/+304 | |
| | | | | | correctly trimming trailing multibyte code page strings. Jeremy. | |||||
* | some quite important bug-fixes i missed because i transferred the wrong | Luke Leighton | 1998-10-20 | 8 | -49/+47 | |
| | | | | | | | | | | | | | | smb.tgz file from my portable. particularly the call to mem_data followed by a realloc of that data in cli_pipe.c's rpc_read() function. smbd responses now use p->rdata_i which is a faked-up pointer into p->rdata's response data. rdata can be very long; rdata_i is limited to point to no more than max_tsize - 0x18 in length. this will make it an almost trivial task to add the encrypted rpc headers after rdata_i, and mem_buf_copy will cope admirably with rhdr chained to rdata_i chained to auth_verifier etc etc... | |||||
* | calls to prs_grow() on array structures so that data construction doesn't | Luke Leighton | 1998-10-20 | 1 | -3/+18 | |
| | | | | over-run buffers | |||||
* | oops, I ot the return type of putenv() wrong | Andrew Tridgell | 1998-10-20 | 1 | -2/+3 | |
| | ||||||
* | use putenv() more portably | Andrew Tridgell | 1998-10-20 | 1 | -1/+7 | |
| | ||||||
* | fixed a connection bug in torture test | Andrew Tridgell | 1998-10-20 | 1 | -11/+66 | |
| | ||||||
* | removed setenv(), replaced with smbw_setenv() | Andrew Tridgell | 1998-10-20 | 6 | -26/+29 | |
| | ||||||
* | new prorotypes | Andrew Tridgell | 1998-10-20 | 1 | -0/+1 | |
| | ||||||
* | fixes for solaris | Andrew Tridgell | 1998-10-20 | 1 | -2/+4 | |
| | ||||||
* | smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirector | Jeremy Allison | 1998-10-20 | 5 | -17/+79 | |
| | | | | | | has some *horrible* bugs ! smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings. Jeremy. | |||||
* | add -Bshareable for *bsd* | Andrew Tridgell | 1998-10-20 | 1 | -0/+3 | |
| | ||||||
* | removed my badly-done attempt at handling compilers that don't handle | Andrew Tridgell | 1998-10-20 | 1 | -9/+3 | |
| | | | | | | -c and -o at the same time. my shell script code wasn't portable | |||||
* | oops | Luke Leighton | 1998-10-19 | 1 | -2/+2 | |
| | ||||||
* | output password change messages instead of debug message. | Luke Leighton | 1998-10-19 | 1 | -2/+2 | |
| | ||||||
* | - dce/rpc code | Luke Leighton | 1998-10-19 | 14 | -214/+431 | |
| | | | | | | | | | | | | | | | | | | | - 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. | |||||
* | added command line options to smbsh | Andrew Tridgell | 1998-10-19 | 4 | -30/+72 | |
| | ||||||
* | improved session reestablishment | Andrew Tridgell | 1998-10-19 | 1 | -36/+82 | |
| | ||||||
* | prototype new functions | Andrew Tridgell | 1998-10-19 | 1 | -0/+6 | |
| | ||||||
* | return the resolved IP on a cli_connect() call so it can be cached | Andrew Tridgell | 1998-10-19 | 1 | -0/+1 | |
| | ||||||
* | removed an incorrect comment | Andrew Tridgell | 1998-10-19 | 1 | -4/+0 | |
| | ||||||
* | - don't use env variables for passwords and usernames (yeah!) | Andrew Tridgell | 1998-10-19 | 4 | -23/+242 | |
| | | | | | | - added a shared variable area based on a unlinked open file, and implement a general get/set interface to it - cache hostname lookups and master ip lookups in shared variable area | |||||
* | - added smbrapper/shared.o | Andrew Tridgell | 1998-10-19 | 1 | -5/+10 | |
| | | | | - added suport for C compilers that don't handle -c and -o at once | |||||
* | Fixed sys_lseek and seek_file calls so all returns | Jeremy Allison | 1998-10-18 | 6 | -193/+315 | |
| | | | | | are *checked* :-). Jeremy. | |||||
* | redid proto.h | Andrew Tridgell | 1998-10-18 | 1 | -1/+1 | |
| | ||||||
* | check for lp_nt_pipe_support() in open calls | Andrew Tridgell | 1998-10-18 | 2 | -2/+2 | |
| | ||||||
* | add an option to enable/disable nt pipes | Andrew Tridgell | 1998-10-18 | 1 | -0/+4 | |
| | ||||||
* | Small tidyups for gcc in 'preen' mode.... | Jeremy Allison | 1998-10-17 | 14 | -11/+25 | |
| | | | | Jeremy. | |||||
* | Added man page for nmblookup(1) | Eloy Paris | 1998-10-17 | 1 | -0/+126 | |
| | ||||||
* | oops. | Luke Leighton | 1998-10-16 | 1 | -1/+1 | |
| | ||||||
* | dce/rpc | Luke Leighton | 1998-10-16 | 8 | -9/+134 | |
| | ||||||
* | added maxfid test | Andrew Tridgell | 1998-10-16 | 1 | -11/+66 | |
| | ||||||
* | changed some debug levels | Andrew Tridgell | 1998-10-16 | 2 | -6/+15 | |
| | ||||||
* | strtoul removed, strtol used instead | Luke Leighton | 1998-10-16 | 1 | -1/+1 | |
| | ||||||
* | strtoul replace with strtol | Luke Leighton | 1998-10-16 | 2 | -12/+12 | |
| | ||||||
* | !pass -> pass != NULL is wrong: !pass -> pass == NULL is correct. oops. | Luke Leighton | 1998-10-16 | 1 | -2/+2 | |
| | ||||||
* | made pass_check_smb() available for dce/rpc use. | Luke Leighton | 1998-10-16 | 6 | -31/+43 | |
| | ||||||
* | cli_nt_session_open() encrypt arg removed | Luke Leighton | 1998-10-16 | 1 | -1/+1 | |
| | ||||||
* | setup_groups() - code clarification. no functional change. | Luke Leighton | 1998-10-16 | 1 | -13/+19 | |
| | ||||||
* | oops. | Luke Leighton | 1998-10-16 | 1 | -3/+4 | |
| | ||||||
* | rpc client mods (ntlmssp flags) | Luke Leighton | 1998-10-16 | 10 | -47/+101 | |
| | ||||||
* | only do the MAC extensions if we are a NTFS filesystem | Andrew Tridgell | 1998-10-16 | 1 | -6/+10 | |
| | ||||||
* | - use large buffers for netshareenum | Andrew Tridgell | 1998-10-16 | 1 | -19/+30 | |
| | | | | | - handle errmoredata a bit better - fix dev type from tconx for smbw | |||||
* | use the username GUEST if no other username is available | Andrew Tridgell | 1998-10-16 | 1 | -0/+5 | |
| | ||||||
* | Re-added code to tell the user how many open files they | Jeremy Allison | 1998-10-16 | 4 | -13/+25 | |
| | | | | | have. Needed for server diagnosis purposes... Jeremy. | |||||
* | rpcclient ntlogin test | Luke Leighton | 1998-10-16 | 2 | -4/+15 | |
| | ||||||
* | trans2.h: Added Thursby MAC extension. | Jeremy Allison | 1998-10-16 | 3 | -0/+21 | |
| | | | | | | smbd/trans2.c: Added Thursby MAX extension. libsmb/clientgen.c: Fixed smbtorture lock code. Jeremy. |