summaryrefslogtreecommitdiffstats
path: root/source/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* adding a useful debugGerald Carter2003-11-221-0/+1
|
* Fix coredump in cli_get_backup_list.Jeremy Allison2003-11-051-5/+2
| | | | Jeremy.
* Fix more 64-bit printf warnings.Tim Potter2003-11-031-2/+2
|
* Fixes to check for wraps which could cause coredumps.Jeremy Allison2003-10-292-5/+4
| | | | Jeremy.
* Remove some unused variables uncovered by the build farm.Richard Sharpe2003-10-271-3/+0
|
* Put in a work-around for ENOTSUP not being defined on OpenBSD.Richard Sharpe2003-10-251-1/+4
|
* Apply latest of Derrell Lippman's changes to libsmbclient.Richard Sharpe2003-10-241-9/+13
|
* Commit Derrell's changes to libsmbclient plus a small change to configure.inRichard Sharpe2003-10-242-392/+1931
| | | | to see if SGI and other platforms will build.
* According to Ethereal we have a 32-Bit quantity here. And with SSVAL valgrindVolker Lendecke2003-10-231-1/+1
| | | | | | | reports an unitialized read which is obviously correct. And I hate valgrind errors ;-) Volker
* Put strcasecmp/strncasecmp on the banned list (except for needed callsJeremy Allison2003-10-221-1/+1
| | | | | | in iconv.c and nsswitch/). Using them means you're not thinking about multibyte at all and I really want to discourage that. Jeremy.
* Fix for bug #64, Win9x Nexus tools not working against Samba3.0. MissingJeremy Allison2003-10-211-0/+4
| | | | | map in errormap for ERROR_MORE_DATA -> ERRDOS, ERRmoredata. Jeremy.
* Patch from Stefan Metzmacher <metze@metzemix.de> to fix signing problemsJeremy Allison2003-10-211-1/+1
| | | | | when reverse connecting back to a client for printer notify. Jeremy.
* Fix signing miss-sequence noticed by Stefan Metzmacher <metze@metzemix.de>Jeremy Allison2003-10-211-46/+27
| | | | Jeremy.
* We are doing NT error codes now.... If we have an NT error, report thatVolker Lendecke2003-10-201-0/+11
| | | | | | | | | back the same way we handle the DOS error. Although I don't see why BUFFER_TOO_SMALL should not be handled as an error, simply copy the logic. This is only called from smbcacls and smbcquotas. Volker
* Enable us to see what sequence number we were expecting when we fail a signJeremy Allison2003-10-141-4/+4
| | | | | (should help track down out of sequence bugs). Jeremy.
* Enclose usage of st_blksize and st_blocks struct stat members inTim Potter2003-10-141-0/+4
| | | | | | | #ifdef HAVE_STAT_ST_BLKSIZE and #ifdef HAVE_STAT_ST_BLOCKS, respectively. Fixes bug 550 reported by Joachim Schmitz <schmitz@hp.com>.
* Fixup error code returns from Samba4 tester. Ensure invalid paths areJeremy Allison2003-10-081-1/+1
| | | | | validated the same way. Jeremy.
* Applied Steve Langasek's patch for bug #450.Tim Potter2003-09-161-3/+4
|
* Fix #442 which Alexander considered a showstopper. Allow us to join mixedJeremy Allison2003-09-162-8/+6
| | | | | mode domains. Jeremy.
* address bug #359. Andrew B's patch for implementing clientGerald Carter2003-09-062-31/+37
| | | | | | | | | | | | | | | | | portion of NTLMv2 key exchange. Also revert the default for 'client ntlmv2 auth' to no. This caused no ends of grief in different cases. And based on abartlet's mail.... > All I care about at this point is that we use NTLMv2 > in our client code when connecting to a server that > supports it. There is *no* way to tell this. The server can't tell us, because it doesn't know what it's DC supports. The DC can't tell us, because it doesn't know what the trusted DC supports. One DC might be Win2k, and the PDC could be an older NT4.
* More tuning from cachegrind. Change most trim_string() calls to trim_char(0,Jeremy Allison2003-09-052-3/+4
| | | | | as that's what they do. Fix string_replace() to fast-path ascii. Jeremy.
* Used cachegrind to track down some bottlenecks.Jeremy Allison2003-09-041-0/+3
| | | | | | | | | | Removed calls to clobber_region when not compiling with developer as they were hiding speed problems. Added fast path to convert_string() when dealing with ascii -> ascii, ucs2-le to ascii and ascii to ucs2-le with values <= 0x7F. This gives a speedup of 22% on my nbench tests. Next I will do this on convert_string_allocate. Jeremy.
* Fix the character set handling properly in nmbd. Also fix bug whereJeremy Allison2003-08-271-2/+1
| | | | | | | iconv wasn't re-initialised on reading of "charset" parameters. This caused workgroup name to be set incorrectly if it contained an extended character. Jeremy.
* Use correct size (17 not 16) when doing a push_ascii(). Ensure thatJeremy Allison2003-08-221-1/+1
| | | | | wins hook is called with unix charset. Jeremy.
* revert abartet's change that removed the check for CAP_EXTENDED_SECURITY ↵Gerald Carter2003-08-221-2/+2
| | | | when decidiing whether or not use ntlmv2 in client connections
* Ensure nmb_namestr() converts back from CH_DOS to CH_UNIX.Jeremy Allison2003-08-221-13/+16
| | | | Jeremy.
* Attempt to fix the charcnv issues causing nmbd to crash. If we get a failedJeremy Allison2003-08-201-1/+1
| | | | | | conversion simply copy as is. Also fixed the horrid malloc-twice-copy code in the convert alloc path. Jeremy.
* metze's autogenerate patch for version.hGerald Carter2003-08-201-1/+1
|
* - Make 'net' use a single funciton for setting the 'use machine account' code.Andrew Bartlett2003-08-191-5/+4
| | | | | | | | | - Make winbindd try to use kerberos for connections to DCs, so that it can access RA=2 servers, particularly for netlogon. - Make rpcclient follow the new flags for the NETLOGON pipe - Make all the code that uses schannel use the centralised functions for doing so. Andrew Bartlett
* Break up 'cli_full_connection' to allow for the session setups to be doneAndrew Bartlett2003-08-191-35/+114
| | | | | | | | | | elsewhere in the code. This will allow us to try kerberos, then another user then guest in the winbindd code. Also, re-introduce the seperate, NT1 'guest' session setup code, as I found some problems with doing guest under NTLMSSP. Andrew Bartlett
* get rid of more compiler warningsHerb Lewis2003-08-152-19/+19
|
* Add the gss-spnego kerberos server side to ntml_auth. This uses theVolker Lendecke2003-08-151-0/+14
| | | | | | | | same ads_verify_ticket routine that smbd uses, so in the current state we have to be have the host password in secrets.tdb instead of the keytab. This means we have to be an ADS member, but it's a start. Volker
* Fix memleaks.Volker Lendecke2003-08-151-1/+3
| | | | | | | | | | | Currently I'm compiling against MIT Kerberos 1.2.8. Anthony, you said you have a heimdal installation available. Could you please compile this stuff with krb and check it with valgrind? Thanks, Volker
* get rid of some sompiler warnings on IRIXHerb Lewis2003-08-157-53/+63
|
* Change Samba to always use extended security for it's guest logins, (ie,Andrew Bartlett2003-08-145-70/+33
| | | | | | | | | | | NTLMSSP with "" username, NULL password), and add --machine-pass (-P) to all of Samba's clients. When connecting to an Active Directory DC, you must initiate the CIFS level session setup with Kerberos, not a guest login. If you don't, your machine account is demoted to NT4. Andrew Bartlett
* Don't wrap up anything that is not there. Otherwise upper layersVolker Lendecke2003-08-131-0/+3
| | | | | | can not figure that we got no ticket. Volker
* Only close anything that is not fid 0. Was very confusing in ethereal...Volker Lendecke2003-08-131-1/+3
| | | | Volker
* As described in http://davenport.sourceforge.net/ntlm.html add NTLM2Andrew Bartlett2003-08-121-3/+40
| | | | | | | | | | | | | authentication. NTLM2 is a version of NTLM, that involves both a client and server challenge, and the creating of a new (presuable more secure) session key. Unfortunetly this is not quite the same as NTLMv2, and we don't know how to get the session key. I suggest looking very closely at what MSCHAPv2, and other MS auth protocols do... Andrew Bartlett
* Fix client autonegotiate signing.Volker Lendecke2003-08-121-10/+15
| | | | Jeremy.
* Fallback to not using NTLMv2 is extended security not supported.Jeremy Allison2003-08-111-1/+1
| | | | Jeremy.
* I think this is the one to check...Volker Lendecke2003-08-111-0/+3
| | | | Volker
* Revert the latest fix. Need to investigate further.Volker Lendecke2003-08-111-4/+2
| | | | Volker
* Fix a segfault in ntlm_auth when we can't find a domain or hostname.Volker Lendecke2003-08-111-2/+4
| | | | Volker
* Store the server domain from the ntlmssp challenge in the client structVolker Lendecke2003-08-102-0/+4
| | | | | | | to be able to ask a LMB for the servers in its workgroup. Against W2k this only works on port 139.... Volker
* fix 2 bugs:Gerald Carter2003-08-081-3/+13
| | | | | | | | | 1) don't ask trusted DC's for a list of trusted domains. This causes us to treat non-transitive ones as if they were transitive. Not needed anyways 2) Fix dc lookup bug where we would always try to use DNS to resolve the DC's for a domain (even if it was a trusted NT4 domain).
* RPC fix from Ronan Waide <waider@waider.ie>. Tested with rpcecho.Jeremy Allison2003-08-081-1/+1
| | | | Jeremy.
* An oplock break reply from the client causes the sequence number to beJeremy Allison2003-08-071-1/+40
| | | | | | updated by 2 if there is no open reply outstanding, else by one.... Yes - this makes no sense.... Jeremy.
* Turns out I had my packet sequences wrong for oplock break code.Jeremy Allison2003-08-071-46/+19
| | | | | | | | | | I was storing the mid of the oplock break - I should have been storing the mid from the open. There are thus 2 types of deferred packet sequence returns - ones that increment the sequence number (returns from oplock causing opens) and ones that don't (change notify returns etc). Running with signing forced on does lead to some interesting tests :-). Jeremy.
* Changes to make gss-spnego ntlmssp client work against W2k AD.Volker Lendecke2003-08-041-1/+17
| | | | | | Now I know where the mechListMIC changes came from: Ethereal ;-) Volker
* Fix unused variable warning.Tim Potter2003-08-041-1/+1
|