summaryrefslogtreecommitdiffstats
path: root/source/libsmb
Commit message (Collapse)AuthorAgeFilesLines
* Add a check to ensure that the server returns the correct device type, notAndrew Bartlett2003-04-231-3/+0
| | | | | | | | | | | | | | just the correct error. This should help us avoid breaking NT4 IPC$ connections, for example. This has required that we don't overwrite the device type for IPC$ in our tcon&X code, but only smbwrapper even uses it, and a server that doesn't send a correct dev type breaks other things pretty badly. In any case, I'll 'fix' smbwrapper :-). Andrew Bartlett
* Merge torture tests from HEAD - it looks like we had rather an incompleteAndrew Bartlett2003-04-231-1/+31
| | | | | | merge last time. I hope this might fix a few failures on the build farm too. Andrew Bartlett
* Merge from HEAD - save the type of channel used to contact the DC.Andrew Bartlett2003-04-211-12/+20
| | | | | | | | | | | This allows us to join as a BDC, without appearing on the network as one until we have the database replicated, and the admin changes the configuration. This also change the SID retreval order from secrets.tdb, so we no longer require a 'net rpc getsid' - the sid fetch during the domain join is sufficient. Also minor fixes to 'net'. Andrew Bartlett
* Merge SMB signing, cli buffer clobber and NTLMSSP signing tweaks from HEAD.Andrew Bartlett2003-04-215-20/+50
|
* Merge a trivial fix across from HEAD. Not that thisVolker Lendecke2003-04-201-1/+1
| | | | | | would work now... Volker
* This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.cvs2svn Import User2003-04-171-0/+169
|\
| * Store the type of 'sec channel' that we establish to the DC. If we are aAndrew Bartlett2003-04-161-36/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | workstation, we have to use the workstation type, if we have a BDC account, we must use the BDC type - even if we are pretending to be a workstation at the moment. Also actually store and retreive the last change time, so we can do periodic password changes again (for RPC at least). And finally, a couple of minor fixes to 'net'. Andrew Bartlett
* | More merges from HEAD:Jelmer Vernooij2003-04-164-104/+209
| | | | | | | | | | | | - Stephan Kulow's changes (fixing warnings in libsmbclient) - VFS modules - Seperating libs
* | merge in metze' smbcquotas patch from HEADGerald Carter2003-04-152-12/+15
| |
* | Add some more NT to unix error code mappings (from HEAD)Jelmer Vernooij2003-04-151-3/+92
| |
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.cvs2svn Import User2003-04-151-0/+633
|\|
| * Add string message for WERR_SERVER_UNAVAILABLE.Tim Potter2003-04-151-0/+1
| |
| * Rebalance parentheses in cliquota.c when LARGE_SMB_OFF_T is false.Paul Green2003-04-141-5/+5
| |
* | Merge of server unavailable error string.Tim Potter2003-04-151-0/+1
| |
* | Merge cliconnect.c so smbtree builds.Tim Potter2003-04-141-1/+113
| |
* | Whitespace syncup.Tim Potter2003-04-141-1/+1
| |
* | This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.cvs2svn Import User2003-04-131-0/+76
|\|
| * smbcquota patch from metzeGerald Carter2003-04-113-7/+719
| |
| * This is the netlogon schannel client code. Try aVolker Lendecke2003-04-091-0/+1
| | | | | | | | | | | | | | | | | | rpcclient -S pdc -U% -c "samlogon user password" and it should work with the schannel. Needs testing platforms different from NT4SP6. Volker
| * Only warn about short packets if we are already 'doing signing'.Andrew Bartlett2003-04-071-1/+1
| | | | | | | | Andrew Bartlett
| * Fix the handling of smb.conf in libsmbclient.Richard Sharpe2003-04-061-6/+9
| | | | | | | | | | | | The right thing to do is to try for the user's local one in ~/.smbc/smb.conf, and if that fails, try the one in dyn_CONFIGFILE, and if that fails, keep going with the defaults but log a message.
| * Clean up error messages on cli pipe disconnection, including adding the messageAndrew Bartlett2003-04-061-4/+8
| | | | | | | | | | | | for broken-due-to-bad-sig. Andrew Bartlett
| * SMB signing updates - this gets NTLMSSP signing workin to the point where IAndrew Bartlett2003-04-063-13/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | just need to get the verifiction code working - we get back a signiture from the server, and just can't verify it yet. This also brings the short-packet checks into common code, and breaks the connection if the server sends a signed reply, on an established connection, that fails the test. This breaks our read/write code at the moment, as we need to keep a list of outstanding packets. (signing is not enabled by default, unless the server demands it) Not for 3.0 till I fix the outstanding packet list. Andrew Barlett
| * Fix debug handling in libsmbclient.c.Richard Sharpe2003-04-051-2/+2
| | | | | | | | | | Also, PLEASE, PLEASE, PLEASE, do not include bashism and Cisms in shell scripts.
| * Some more good stuff from coolo.Richard Sharpe2003-04-042-42/+94
| |
| * Some castiness for Don McCall.Richard Sharpe2003-04-041-2/+2
| |
| * More of coolo's changes for UTF-8 and some minor fixes of mine.Richard Sharpe2003-04-021-17/+37
| |
| * Commit some more fixes for Coolo ...Richard Sharpe2003-04-022-44/+25
| |
| * Add const (from a patch by Stephan Kulow <coolo@kde.org>)Jelmer Vernooij2003-04-022-14/+15
| |
| * added simple tests for SMBchkpath and SMBioctlAndrew Tridgell2003-03-301-1/+31
| |
| * Don't modify the incoming packet when checking the signiture.Andrew Bartlett2003-03-301-10/+26
| | | | | | | | Andrew Bartlett
| * added a simple test for the old SMBtcon interfaceAndrew Tridgell2003-03-291-1/+42
| |
| * More patches from coolo. One of these functions needs to be movedRichard Sharpe2003-03-281-42/+78
| | | | | | | | elsewhere so other code can use it.
| * Some fixes to URL syntax from coolo.Richard Sharpe2003-03-281-2/+85
| |
| * Fix debug (thanks metze)Andrew Bartlett2003-03-251-1/+1
| | | | | | | | Andrew Bartlett
| * Add mapping for Bad Network PathJelmer Vernooij2003-03-241-0/+1
| |
| * NTLM Authentication:Andrew Bartlett2003-03-231-18/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add a 'privileged' mode to Winbindd. This is achieved by means of a directory under lockdir, that the admin can change the group access for. - This mode is now required to access with 'CRAP' authentication feature. - This *will* break the current SQUID helper, so I've fixed up our ntlm_auth replacement: - Update our NTLMSSP code to cope with 'datagram' mode, where we don't get a challenge. - Use this to make our ntlm_auth utility suitable for use in current Squid 2.5 servers. - Tested - works for Win2k clients, but not Win9X at present. NTLMSSP updates are needed. - Now uses fgets(), not x_fgets() to cope with Squid environment (I think somthing to do with non-blocking stdin). - Add much more robust connection code to wb_common.c - it will not connect to a server of a different protocol version, and it will automatically try and reconnect to the 'privileged' pipe if possible. - This could help with 'privileged' idmap operations etc in future. - Add a generic HEX encode routine to util_str.c, - fix a small line of dodgy C in StrnCpy_fn() - Correctly pull our 'session key' out of the info3 from th the DC. This is used in both the auth code, and in for export over the winbind pipe to ntlm_auth. - Given the user's challenge/response and access to the privileged pipe, allow external access to the 'session key'. To be used for MSCHAPv2 integration. Andrew Bartlett
| * Valgrind found a few memory leaks!Andrew Bartlett2003-03-221-2/+10
| | | | | | | | Andrew Bartlett
| * Don't use EDQUOT on systems where it's not availableJelmer Vernooij2003-03-221-3/+5
| |
| * Use FUNCTION_MACRO, not __FUNCTION__Jelmer Vernooij2003-03-221-2/+2
| |
| * Don't use errno's when they're not availableJelmer Vernooij2003-03-221-1/+15
| |
| * Small clenaup patches:Andrew Bartlett2003-03-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | - safe_string.h - don't assume that __FUNCTION__ is available - process.c - use new workaround from safe_string.h for the same - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc() - gencache.c - Keep valgrind quiet by always null terminating. - clistr.c - Add copyright - srvstr.h - move srvstr_push into a .c file again, as a real function. - srvstr.c - revive, with 'safe' checked srvstr_push - loadparm.c - set a default for the display charset. Andrew Bartlett
| * Fix compile on IA64 by noting that this should be the integer, not a pointerAndrew Bartlett2003-03-221-1/+1
| | | | | | | | to the integer for SIVAL().
| * Clobber the 'SAFETY_MARGIN' in libsmb.Andrew Bartlett2003-03-211-3/+7
| | | | | | | | Andrew Bartlett
| * Patch from colo (on IRC) to get libsmbclient building due to pstring/fstringAndrew Bartlett2003-03-211-19/+19
| | | | | | | | | | | | | | | | issues. Also pick up these link failures at compile time (rather than runtime). Andrew Bartlett
| * Add more mappings to the nterr->errno mapping table. It should be fairlyJelmer Vernooij2003-03-211-3/+75
| | | | | | | | complete now.
| * Patch from Samuel Thibault to convert messages from unix to dos charset. WorksJelmer Vernooij2003-03-201-3/+14
| | | | | | | | | | on 2000. sending messages to 9x needs to be fixed, but that didn't work anyway
| * Removed unused var.Jeremy Allison2003-03-181-2/+0
| | | | | | | | Jeremy.
* | This is the netlogon schannel client code. Try aVolker Lendecke2003-04-091-0/+1
| | | | | | | | | | | | | | | | | | rpcclient -S pdc -U% -c "samlogon user password" and it should work with the schannel. Needs testing against platforms different from NT4SP6. Volker
* | Make this match head.Andrew Bartlett2003-04-071-1/+1
| |