summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2003-01-15Missed auth_ntlmssp.c in last night's checkin. Also keep track of the currentAndrew Bartlett1-0/+4
challenge in the NTLMSSP context. Andrew Bartlett (This used to be commit ba13e058d4533b1ffba723b9e98e95090ad63d85)
2003-01-15small merges from SAMBA_3_0; mostly typos, renames, etc...Gerald Carter1-0/+179
(This used to be commit 9ac196dad4893b0ceef13281a140be5d85391e6c)
2003-01-15Refactor the NTLMSSP code again - this time we use function pointers toAndrew Bartlett2-1/+280
eliminate the dependency on the auth subsystem. The next step is to add the required code to 'ntlm_auth', for export to Squid etc. Andrew Bartlett (This used to be commit 9e48ab86da40e4c1cafa70c04fb9ebdcce23dfab)
2003-01-14query_alt_name takes a forced unicode string in win2000. It is notAndrew Tridgell1-1/+1
null terminated. Thanks to Metze for finding this. (This used to be commit e4ce26332b8f876e25ff9baf06d4767a473e2676)
2003-01-13Make sure that those cleanups actually went in.Richard Sharpe1-2/+2
(This used to be commit 9a38e378115a1c36d0cd7c41f4c5767c23b4eb3f)
2003-01-13Updates to our NTLMSSP code:Andrew Bartlett3-16/+51
This tries to extract our server-side code out of sessetup.c, and into a more general lib. I hope this is only a temporay resting place - I indend to refactor it again into an auth-subsystem independent lib, using callbacks. Move some of our our NTLMSSP #defines into a new file, and add two that I found in the COMsource docs - we seem to have a double-up, but I've verified from traces that the NTLMSSP_TARGET_TYPE_{DOMAIN,SERVER} is real. This code also copes with ASCII clients - not that we will ever see any here, but I hope to use this for HTTP, were we can get them. Win2k authenticates fine under forced ASCII, btw. Tested with Win2k, NTLMv2 and Samba's smbclient. Andrew Bartlett (This used to be commit b6641badcbb2fb3bfec9d00a6466318203ea33e1)
2003-01-13Don't force the DOS password into a 14 char space, as this would imply nullAndrew Bartlett1-1/+2
termination - the password will not be null terminated before hashing if len >= 14. related to debian bug #157432 Andrew Bartlett (This used to be commit c6535836f2e48903aa89a18c11cbb37576fb4a20)
2003-01-11Fix a number of client-side fstring/pstring mixups.Andrew Bartlett2-12/+14
Andrew Bartlett (This used to be commit fe1cc779d5ea77e87dbc0e2edf7c34a354fee6e0)
2003-01-03Fixed some simple typos, including one that would have resulted in aChristopher R. Hertel1-2/+2
DEBUG() message printing the wrong value. (This used to be commit 42a4e5b851aa7c9fd9dca5a6f8f42e5d91246c76)
2003-01-02One more const. Andrew, you seem to have krb5 :-)Volker Lendecke1-1/+1
Volker (This used to be commit f5494f5ef6a14020bd31541b1f87d48111f60ad8)
2003-01-02BIG patch...Andrew Bartlett15-36/+37
This patch makes Samba compile cleanly with -Wwrite-strings. - That is, all string literals are marked as 'const'. These strings are always read only, this just marks them as such for passing to other functions. What is most supprising is that I didn't need to change more than a few lines of code (all in 'net', which got a small cleanup of net.h and extern variables). The rest is just adding a lot of 'const'. As far as I can tell, I have not added any new warnings - apart from making all of tdbutil.c's function const (so they warn for adding that const string to struct). Andrew Bartlett (This used to be commit 92a777d0eaa4fb3a1c7835816f93c6bdd456816d)
2003-01-01Document the size constraints on a write request.Richard Sharpe1-2/+5
(This used to be commit 5d6c1810330b38e48355078b7a5d53e7b5076f74)
2002-12-30Port the fix to cli_setup_write to handle offsets greater than 32-bits fromRichard Sharpe1-2/+12
Samba 2.2.x ... (This used to be commit 4201038588bab8674b73371a5eac70a412c5dd6c)
2002-12-23Finish adding strings to all talloc_init() calls.Jeremy Allison1-9/+10
Jeremy. (This used to be commit 784d15761c3271bfd602866f8f9f880dac77671c)
2002-12-20Forward port the change to talloc_init() to make all talloc contextsJeremy Allison2-2/+2
named. Ensure we can query them. Jeremy. (This used to be commit 842e08e52a665ae678eea239759bb2de1a0d7b33)
2002-12-20Fixed bug in debug statement when tconX fails.Tim Potter1-1/+1
(This used to be commit a2159610b9d38cc7cfa7cb877ccee816cd2206b8)
2002-12-19merge from 2.2 fix for smbclient large filesHerb Lewis1-1/+9
(This used to be commit 723c4caf64c56b78052c52fec78c7143ec19e944)
2002-12-17app_head merge for get_friendly_nt_err()Gerald Carter1-2/+2
(This used to be commit 3ceff08eb75ecd70dcf10d033c7451d87b659c0b)
2002-12-12merge of get_dc_name()-like code from APP_HEAD; better support password ↵Gerald Carter1-0/+104
server = DC1 * (This used to be commit 6b18ca9511ddcf1718f222af3f61491d1e5f3b60)
2002-12-11Fix write error returning EFBIG - found by Conrad.Jeremy Allison1-0/+3
Jeremy. (This used to be commit 2d63fc7760634308cc280e4d745a6f7398f75d20)
2002-12-10Fix client large file reporting.Jeremy Allison1-4/+4
Jeremy (This used to be commit 185804ac945e717a5e3d3602e8118b35080f6251)
2002-12-06Ensure global_scope() returns "", not the NULL string. Froma tpot fix.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 7185b846e41da2bf7edaa7f3edeff1cc1486d28b)
2002-12-04cleaning up some friendly error messagesGerald Carter1-22/+26
(This used to be commit f978387e789eeaf9b53a21231d4cdc7cf3ea6db3)
2002-12-04[merge] remove assert(count ==1) for multi-homed PDCs; CR 1277Gerald Carter1-182/+22
(This used to be commit 157b5ab198670c6999f22d6b49072fdebc84be0d)
2002-12-04Doing janitorial duty for tpot - memory leak fix.Jeremy Allison1-0/+2
Jeremy. (This used to be commit c6da50def80e64226c7e5b310dce30d0490512cb)
2002-12-03use the new IVAL_TO_SMB_OFF_T for file_info size memberHerb Lewis1-4/+4
dir now shows correct size on large files (This used to be commit ce7d421ba9cfa65e3ed404f18e8b3b4cf4730593)
2002-12-01Dereference the correct thing here, so we don't segfaultAndrew Bartlett1-1/+1
(This used to be commit ea18d02036b4e0502e5ecb057c9fe381709a07d8)
2002-12-01Fixup of ordered cleanup of get_dc_list - bug found by Dominik 'Aeneas' ↵Jeremy Allison1-27/+10
Schnitzer <dominik@schnitzer.at> Jeremy. (This used to be commit 7ba051a830a7dc96e3860a87643a3ac99cdf5836)
2002-11-27Test was reversed for ERRmoredata in cli_read.Jeremy Allison1-0/+10
Jeremy. (This used to be commit 1a36ac60bef8de5368860478c268ba1671bb4825)
2002-11-26Having waited for *way* too long, this is mimir's namecache and trusted domainAndrew Bartlett3-178/+372
cache code. This uses gencache, mimir's new caching code that stores at text-based cache of various data. Mimir has done a *lot* of work on this patch, and it is finally time to get it in CVS. Andrew Bartlett (This used to be commit 47f3bfe9564e7f3aff60cefaefd599e0abb30a31)
2002-11-23[merge from APP_HEAD]Gerald Carter1-22/+104
90% fix for CR 1076. The password server parameter will no take things like password server = DC1 * which means to contact DC1 first and the go to auto lookup if it fails. jerry (This used to be commit c31a17889e3e4daf7c1e807038efc2c0fba78be3)
2002-11-23Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2-1/+4
Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 19f86f1f72aca924e9e320e20a175b5d21de45ad)
2002-11-21get_nt_error_msg from APPLIANCE_HEAD is called nt_errstr in HEAD. This ↵Jim McDonough1-1/+1
should fix the build. (This used to be commit 929874d2744509bba743d99b9c707e7626845fa0)
2002-11-21merge get_friendly_nt_err_msg() from app_headGerald Carter1-0/+50
(This used to be commit 3ea73f158ebfca0561d7928e5d6c0939c0734585)
2002-11-15fix segfaultGerald Carter1-1/+3
(This used to be commit 32ca3afa5486b1b04118e9f144bfdf4b3702d118)
2002-11-13Try to bring libsmbclient in line with the new global_myname stuffAndrew Bartlett1-3/+2
(This used to be commit e424b08050b44b1b52abd2af76b1b4dc8b100095)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison6-70/+54
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-11-10consolidate error mapping functions into a single fileSimo Sorce1-0/+55
(This used to be commit 80086728f2b0d5d56a8ed9e427cba36898d68fc7)
2002-11-08patches from UrbanGerald Carter1-0/+3
(This used to be commit da269a73edb7f637b1e1f8b3dafe677f46f66f85)
2002-11-07Merge of scalable printing code fix... Needs testing.Jeremy Allison1-1/+1
Also tidied up some of Richard's code (I don't think he uses the compiler flags -g -Wall -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-qual like I do :-) :-). Jeremy. (This used to be commit 10024ed06e9d91f24fdc78d59eef2f76bf395438)
2002-11-06Merge of get_dc_list() api change. This was slightly more intrusiveTim Potter1-13/+46
than the version in APPLIANCE so watch out for boogs. (This used to be commit 1e054e3db654801fbb5580211529cdfdea9ed686)
2002-11-04The fixes from Tom plus a minor update from me.Richard Sharpe2-76/+101
(This used to be commit 6db6a48711f51ee6add32953506cd5db33939a1b)
2002-11-01Revert that stupid one line change.Richard Sharpe1-1/+0
(This used to be commit 095af10ff2e549b82c646df5ed20cf05352a3994)
2002-11-01Add more code to the profiles program and add Makefile.in support.Richard Sharpe1-0/+1
(This used to be commit daefe52a56a7b977b8e561f8f668c42183de413b)
2002-10-26Make sure that we always return False if the password change never returns.Andrew Bartlett1-4/+8
(A stuck 'unix passowrd sync' was gettting reported as 'success', causing all sorts of fun) Andrew Bartlett (This used to be commit b0d5745bb53b16e92160a6bdd2b984afb0e982ee)
2002-10-17Added new error codes. Fix up connection code to retry in the same wayJeremy Allison1-1/+11
that app-head does. Jeremy. (This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-15Added cli_set_timeout() call.Jeremy Allison1-0/+11
Jeremy. (This used to be commit 94a5c589945ffd4719f7509c162cf994f7914312)
2002-10-09Added "unknown info level".Jeremy Allison1-0/+1
Jeremy. (This used to be commit afecd1aa52b98f123b226ff172d5ef5768cbb44f)
2002-10-04merge of working dsrolegetprimdominfo() client code from APP_HEADGerald Carter1-1/+1
(This used to be commit f70caa25e4ee198151b915cf2bc0a26b2d0e243d)
2002-10-01Cope with rw errors and timeout to peer.Jeremy Allison2-7/+28
Jeremy. (This used to be commit 736a7bab487d7e217eed452e2089adb6b4164ad5)