summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
1998-10-20Fixed bug found by John Blair where trim_string wasn'tJeremy Allison3-193/+304
correctly trimming trailing multibyte code page strings. Jeremy. (This used to be commit dbdbce29f56d03f6abf1ee3d96ca2032e688dcbc)
1998-10-20some quite important bug-fixes i missed because i transferred the wrongLuke Leighton8-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... (This used to be commit 05a297e3a98c14360782af4ad0d851638fb5da9a)
1998-10-20calls to prs_grow() on array structures so that data construction doesn'tLuke Leighton1-3/+18
over-run buffers (This used to be commit 06cc6eaa50fa4b673d527e91740f9d2d2b16d367)
1998-10-20oops, I ot the return type of putenv() wrongAndrew Tridgell1-2/+3
(This used to be commit 5b7b24d3f9a74b241f7e767de4a2bae601adf88a)
1998-10-20use putenv() more portablyAndrew Tridgell1-1/+7
(This used to be commit dc08f1a5c92e86c41dc03f6a4d10d5779f3d9c34)
1998-10-20fixed a connection bug in torture testAndrew Tridgell1-11/+66
(This used to be commit 2b892130dfc1938e93e69e490a8a9e9ed57a1971)
1998-10-20removed setenv(), replaced with smbw_setenv()Andrew Tridgell6-26/+29
(This used to be commit 72bce217ef474f056d8f6675667ec78d1772ff37)
1998-10-20new prorotypesAndrew Tridgell1-0/+1
(This used to be commit facd8d74e0cd0998ca5347ac5be14a6027460699)
1998-10-20fixes for solarisAndrew Tridgell1-2/+4
(This used to be commit 235a8463b56107d97ee5523eed41967e8ccf27b6)
1998-10-20smbd/nttrans.c smbd/trans2.c: First fixes for NT5.0beta2. That redirectorJeremy Allison5-17/+79
has some *horrible* bugs ! smbwrapper/shared.c smbwrapper/smbsh.c smbwrapper/smbw.c: Fixed gcc warnings. Jeremy. (This used to be commit 76448d1d82a78520953c662afee0886122ce134b)
1998-10-20add -Bshareable for *bsd*Andrew Tridgell1-0/+3
(This used to be commit c511a619750152db03897ea682713bbc98f71c6b)
1998-10-20removed my badly-done attempt at handling compilers that don't handleAndrew Tridgell1-9/+3
-c and -o at the same time. my shell script code wasn't portable (This used to be commit 759c72822b9b1e8c50b378378f3a45f1e7604ade)
1998-10-19oopsLuke Leighton1-2/+2
(This used to be commit 7f8dfedfc0933713ab7d6de0763f8776e5805e27)
1998-10-19output password change messages instead of debug message.Luke Leighton1-2/+2
(This used to be commit b9e728a97be323e9221889a63ffa02cff5c99403)
1998-10-19- dce/rpc codeLuke Leighton14-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. (This used to be commit fcfb40d2b0fc565ee4f66b3a3761c246366a2ef3)
1998-10-19added command line options to smbshAndrew Tridgell4-30/+72
(This used to be commit 9b249c075e53e6cf75399d60a6371648c03104fa)
1998-10-19improved session reestablishmentAndrew Tridgell1-36/+82
(This used to be commit 5f96328d32e76785474ffd5cd73f8ddefc46d4f5)
1998-10-19prototype new functionsAndrew Tridgell1-0/+6
(This used to be commit ae6e3d8f3820ee09988948ec0c1fa2214acd9b62)
1998-10-19return the resolved IP on a cli_connect() call so it can be cachedAndrew Tridgell1-0/+1
(This used to be commit 4e3f8ef41b8de25dec4c01d5532dca1b567be55a)
1998-10-19removed an incorrect commentAndrew Tridgell1-4/+0
(This used to be commit 5abdb70e2a5cda2df444dfe5a9cdcb751be75ca8)
1998-10-19- don't use env variables for passwords and usernames (yeah!)Andrew Tridgell4-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 (This used to be commit 279cbe69efd75450113d2da0da5e67b29f3702b1)
1998-10-19- added smbrapper/shared.oAndrew Tridgell1-5/+10
- added suport for C compilers that don't handle -c and -o at once (This used to be commit f1672d055716f4b701e22801cbf5cf5573081685)
1998-10-18Fixed sys_lseek and seek_file calls so all returnsJeremy Allison6-193/+315
are *checked* :-). Jeremy. (This used to be commit b8b781191dd7d28944d87eec5fa0fbef798e289b)
1998-10-18redid proto.hAndrew Tridgell1-1/+1
(This used to be commit 20880966aafb2dbcdfbf979505a2d64a269dd9a8)
1998-10-18check for lp_nt_pipe_support() in open callsAndrew Tridgell2-2/+2
(This used to be commit 44d901b3e040a520c4ad9089e68c566c78acacca)
1998-10-18add an option to enable/disable nt pipesAndrew Tridgell1-0/+4
(This used to be commit c161b2f850f124ac5f24968e7865a7d0eb68e23e)
1998-10-17Small tidyups for gcc in 'preen' mode....Jeremy Allison14-11/+25
Jeremy. (This used to be commit 60dc1a4a00a22088d33369588b0d5eb292cf084a)
1998-10-16oops.Luke Leighton1-1/+1
(This used to be commit fc1b7b9e75b029ffa93263766fe297d043c6d1df)
1998-10-16dce/rpcLuke Leighton8-9/+134
(This used to be commit 29434f496c18e816d864060d68f357aea6ef5de8)
1998-10-16added maxfid testAndrew Tridgell1-11/+66
(This used to be commit 710027a88a62565fbbe9eb5787e924d019906841)
1998-10-16changed some debug levelsAndrew Tridgell2-6/+15
(This used to be commit 121e321a12c5da5cb44ca1baece7e25c3ab7f943)
1998-10-16strtoul removed, strtol used insteadLuke Leighton1-1/+1
(This used to be commit d717d58c115fc5cf687af098100cf5adc0265afc)
1998-10-16strtoul replace with strtolLuke Leighton2-12/+12
(This used to be commit 4ebd2c5140e782ec43d9f7700bd588dfa52a16c7)
1998-10-16!pass -> pass != NULL is wrong: !pass -> pass == NULL is correct. oops.Luke Leighton1-2/+2
(This used to be commit 866e1018180a70ff2ffa39e6a5ce5f187eca2764)
1998-10-16made pass_check_smb() available for dce/rpc use.Luke Leighton6-31/+43
(This used to be commit 95e8a910c5d9ba0ef57669fb1256eaa932e0bb09)
1998-10-16cli_nt_session_open() encrypt arg removedLuke Leighton1-1/+1
(This used to be commit 63def717992695ed4a4933c2605abe26086fb8c7)
1998-10-16setup_groups() - code clarification. no functional change.Luke Leighton1-13/+19
(This used to be commit dae7c5ea9a139552e1722357172fa1ad0c4a7143)
1998-10-16oops.Luke Leighton1-3/+4
(This used to be commit ff9e919b713f077e811b702db6ec20897a11d5a0)
1998-10-16rpc client mods (ntlmssp flags)Luke Leighton10-47/+101
(This used to be commit 16256f86bf451535c7955b8f51a9b88fc33a8e4d)
1998-10-16only do the MAC extensions if we are a NTFS filesystemAndrew Tridgell1-6/+10
(This used to be commit 91d224735d1a4ef26d75d87e3b35d8d156b8998b)
1998-10-16- use large buffers for netshareenumAndrew Tridgell1-19/+30
- handle errmoredata a bit better - fix dev type from tconx for smbw (This used to be commit 2f39409dc1ef012a8a7d315572a489d15df186f7)
1998-10-16use the username GUEST if no other username is availableAndrew Tridgell1-0/+5
(This used to be commit 59d99ad76cb2aa0f24467ed0df12d5ad50abff18)
1998-10-16Re-added code to tell the user how many open files theyJeremy Allison4-13/+25
have. Needed for server diagnosis purposes... Jeremy. (This used to be commit 04d79a9ae515e7259277f9980552f1d61df239f1)
1998-10-16rpcclient ntlogin testLuke Leighton2-4/+15
(This used to be commit f69cf05ff56dffb313304964d5bf5e5aee2f40a7)
1998-10-16trans2.h: Added Thursby MAC extension.Jeremy Allison3-0/+21
smbd/trans2.c: Added Thursby MAX extension. libsmb/clientgen.c: Fixed smbtorture lock code. Jeremy. (This used to be commit 514e52e4b4d6c7db7ebe2265e60c77b4f18d11b3)
1998-10-16trust passwordLuke Leighton3-6/+6
(This used to be commit fa86770d56fd4a3e280ee4f5685e29dee2a713fb)
1998-10-15rpcclient interactive login (with trust account changing if you are root)Luke Leighton13-73/+205
cli_session_setup handles null sessions correctly (This used to be commit 60c0f22a4e84703467006dfe1971384a6294a9aa)
1998-10-15getpwnam() failing is a serious error (corrupt smbpasswd database)Luke Leighton1-1/+6
(This used to be commit 18e628ac1516cbd9773608cb5a9f4b784cf4dd9e)
1998-10-15Fixed crypt problems on IRIX with prototype.Jeremy Allison2-4/+4
Jeremy. (This used to be commit bdba1bcf2094d2b33dd74d3cfde61723dd7fc46b)
1998-10-15bug-fixing against:Luke Leighton15-55/+454
AS/U: it returns dce/rpc "first" and "last" bits _clear_ in a bind/ack response, when they should be set in a (small) packet. they also, in the bind/ack do not set a secondary address string at all, so we can't check against that... Win95: client-side dce/rpc code is a bit odd. it does a "WaitNamedPipeState" and has slightly different pipe-naming (\PIPE\LANMAN is joined by \PIPE\SRVSVC, \PIPE\WINREG etc whereas nt just has \PIPE\LANMAN and \PIPE\). Win95-USRMGR.EXE: added LsaOpenPolicy (renamed existing to LsaOpenPolicy2). added SamrConnect (renamed existing to SamrConnect2). (This used to be commit a7fccd807b938cbb51002ebae8c7a48b40dbb655)