summaryrefslogtreecommitdiff
path: root/source3/libsmb
AgeCommit message (Collapse)AuthorFilesLines
2003-10-14Enable us to see what sequence number we were expecting when we fail a signJeremy Allison1-4/+4
(should help track down out of sequence bugs). Jeremy. (This used to be commit c6a36d4e486bf1aa384adf7db37878e485476216)
2003-10-14Enclose usage of st_blksize and st_blocks struct stat members inTim Potter1-0/+4
#ifdef HAVE_STAT_ST_BLKSIZE and #ifdef HAVE_STAT_ST_BLOCKS, respectively. Fixes bug 550 reported by Joachim Schmitz <schmitz@hp.com>. (This used to be commit 3d777f5389ed6b4ab8c42eb110d41f7df309bead)
2003-10-08Fixup error code returns from Samba4 tester. Ensure invalid paths areJeremy Allison1-1/+1
validated the same way. Jeremy. (This used to be commit 960e2b4a5f09d3ef80a926894ee7a28549b8de45)
2003-09-19Merge from 3.0:Tim Potter1-3/+4
>Applied Steve Langasek's patch for bug #450. (This used to be commit 50ae61b674550082e30f7156f2a9129b7abebb14)
2003-09-16Fix #442 which Alexander considered a showstopper. Allow us to join mixedJeremy Allison2-8/+6
mode domains. Jeremy. (This used to be commit 07cfce283004d29d1f60e5d8c97e3e3d7c293805)
2003-09-09removing unused filesGerald Carter1-172/+0
(This used to be commit 1a9145015d4b2ee7e7399099760cda13d619e740)
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter21-220/+712
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce17-188/+850
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
2003-07-16ading new files from 3.0Gerald Carter2-0/+396
(This used to be commit 99feae7b5b1c229a925367b87c0c0f636d9a2d75)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter20-797/+1508
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-05-27Merge from 3.0: quieten debug message for trust acct password change.Tim Potter1-1/+1
(This used to be commit ab60980461f31ce3dcb582f195b3754807dd9174)
2003-05-27Added string error for NT_STATUS_NOT_A_REPARSE_POINT error.Tim Potter1-0/+1
(This used to be commit cb4188941e93f8026a94a7378a51b0ec73ffcb8f)
2003-05-26Fix list of servers in 'smbclient -L' (debian bug #194553, patch by Heine ↵Jelmer Vernooij1-1/+1
Larsen) (This used to be commit c9c8eccdba820e82e1f987f9078d882668a8061b)
2003-05-21fix for UNICODE plaintext passwords (bug #59) and fix smbclient to send the ↵Gerald Carter1-3/+16
unicode plain text password if negoitated (This used to be commit 207186e1c8ff0aac2a2aba9c4037d0be0c4819c8)
2003-05-14spellingTim Potter2-2/+2
(This used to be commit 249a6974702d050644d6d61f33f0034ce2a689ee)
2003-05-10Fix from Tom.Lackemann@falconstor.com to correctly set the flags basedJeremy Allison1-1/+9
on the security entries sent. Jeremy. (This used to be commit 748ae44d55f54291da3fe6ba2d60285d6da3d415)
2003-05-07Force ASCII for client messages. Patch from David Lee <t.d.lee@durham.ac.uk>Jeremy Allison1-3/+2
Jeremy. (This used to be commit 56fd8427389a45fe640d84b3481e9f3f3c24b4b7)
2003-04-21For NTLM2 (not yet even close to real implementation) we must use theAndrew Bartlett1-1/+1
server hash for checking the server's signiture. Andrew Bartlett (This used to be commit 61255a2b3694ba13c72a2a33e5956d14c7d4d2c1)
2003-04-16Store the type of 'sec channel' that we establish to the DC. If we are aAndrew Bartlett1-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 (This used to be commit 6e6b7b79edae3efd0197651e9a8ce6775c001cf2)
2003-04-15Add string message for WERR_SERVER_UNAVAILABLE.Tim Potter1-0/+1
(This used to be commit 38efab087c86cab805c6b94c7455befaa9e94c5e)
2003-04-14Rebalance parentheses in cliquota.c when LARGE_SMB_OFF_T is false.Paul Green1-5/+5
(This used to be commit bd69cbce93054548b6d1e3bac89032ff4f693423)
2003-04-11smbcquota patch from metzeGerald Carter3-7/+719
(This used to be commit 74fab8f0d24004b1dfd5ce0fd7402895652f941f)
2003-04-09This is the netlogon schannel client code. Try aVolker Lendecke1-0/+1
rpcclient -S pdc -U% -c "samlogon user password" and it should work with the schannel. Needs testing platforms different from NT4SP6. Volker (This used to be commit ecd0ee4d248e750168597ccf79c389513bb0f740)
2003-04-07Only warn about short packets if we are already 'doing signing'.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 9656b8709128f24dd63094d504a6646f99933c57)
2003-04-06Fix the handling of smb.conf in libsmbclient.Richard Sharpe1-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. (This used to be commit 15fa48d19d178cf8bf214ea02f6c7a4c38890f71)
2003-04-06Clean up error messages on cli pipe disconnection, including adding the messageAndrew Bartlett1-4/+8
for broken-due-to-bad-sig. Andrew Bartlett (This used to be commit b010b6c2dc400a97eb2ad038cd1fdb34bbde2ef0)
2003-04-06SMB signing updates - this gets NTLMSSP signing workin to the point where IAndrew Bartlett3-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 (This used to be commit 808d1fcf20153970d587cb631a08607beb09703a)
2003-04-05Fix debug handling in libsmbclient.c.Richard Sharpe1-2/+2
Also, PLEASE, PLEASE, PLEASE, do not include bashism and Cisms in shell scripts. (This used to be commit 7f6367aac8c5440e1d4e97b26571b205140488ae)
2003-04-04Some more good stuff from coolo.Richard Sharpe2-42/+94
(This used to be commit 41b320ffc560117c0184999e30cc69723f40acbe)
2003-04-04Some castiness for Don McCall.Richard Sharpe1-2/+2
(This used to be commit b03ac852a86cf9f436ad2b994e09fb08dd929674)
2003-04-02More of coolo's changes for UTF-8 and some minor fixes of mine.Richard Sharpe1-17/+37
(This used to be commit 21a99fdec321c44e31b69589248ff8d1cb927577)
2003-04-02Commit some more fixes for Coolo ...Richard Sharpe2-44/+25
(This used to be commit e1a159c55fdeaa1620a3147105be4efd205560ba)
2003-04-02Add const (from a patch by Stephan Kulow <coolo@kde.org>)Jelmer Vernooij2-14/+15
(This used to be commit 8b5ad24231e5001e612c5fd4bbde2762caef5856)
2003-03-30added simple tests for SMBchkpath and SMBioctlAndrew Tridgell1-1/+31
(This used to be commit ca982a9f1d6485e2d388d4b2e9c13806736ad91e)
2003-03-30Don't modify the incoming packet when checking the signiture.Andrew Bartlett1-10/+26
Andrew Bartlett (This used to be commit 7064edf8534a6098fc4990bc516fcb45f4ff44bb)
2003-03-29added a simple test for the old SMBtcon interfaceAndrew Tridgell1-1/+42
(This used to be commit c95ae394c5dfe5e0fcc658119213b17bcb95fab5)
2003-03-28More patches from coolo. One of these functions needs to be movedRichard Sharpe1-42/+78
elsewhere so other code can use it. (This used to be commit b988e16b7da824864cac6b69910ade27885e7f50)
2003-03-28Some fixes to URL syntax from coolo.Richard Sharpe1-2/+85
(This used to be commit de49c3f48f85519b31e797730eca82cb979098dc)
2003-03-25Fix debug (thanks metze)Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit 5562f1865c90e3f52a3178d9d9ded60909bbe5f0)
2003-03-24Add mapping for Bad Network PathJelmer Vernooij1-0/+1
(This used to be commit 1481cd9ecf1658312424c193d8cd3632766eb058)
2003-03-23NTLM Authentication:Andrew Bartlett1-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 (This used to be commit dcdc75ebd89f504a0f6e3a3bc5b43298858d276b)
2003-03-22Valgrind found a few memory leaks!Andrew Bartlett1-2/+10
Andrew Bartlett (This used to be commit fb680f610ceb9a0f350c99456cf7ab1a507543fe)
2003-03-22Don't use EDQUOT on systems where it's not availableJelmer Vernooij1-3/+5
(This used to be commit 2e1e5719f188a933e6b691fbd48037a0d29497e4)
2003-03-22Use FUNCTION_MACRO, not __FUNCTION__Jelmer Vernooij1-2/+2
(This used to be commit 6df38e250af1a8e7213ad66342c71c52ce118a12)
2003-03-22Don't use errno's when they're not availableJelmer Vernooij1-1/+15
(This used to be commit b757a4374832d76500a889e4785622320881018d)
2003-03-22Small clenaup patches:Andrew Bartlett1-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 (This used to be commit a7eba37aadeb0b04cb1bd89deddb58be8aba825c)
2003-03-22Fix compile on IA64 by noting that this should be the integer, not a pointerAndrew Bartlett1-1/+1
to the integer for SIVAL(). (This used to be commit e8b4b136669e7e415557956d698c66c254b28ec1)
2003-03-21Clobber the 'SAFETY_MARGIN' in libsmb.Andrew Bartlett1-3/+7
Andrew Bartlett (This used to be commit 05a63bd17e4c35979b3864b0969b2bfd945335d9)
2003-03-21Patch from colo (on IRC) to get libsmbclient building due to pstring/fstringAndrew Bartlett1-19/+19
issues. Also pick up these link failures at compile time (rather than runtime). Andrew Bartlett (This used to be commit 23c7342bc40daffbcd70ef04727cae2c2b2c366b)
2003-03-21Add more mappings to the nterr->errno mapping table. It should be fairlyJelmer Vernooij1-3/+75
complete now. (This used to be commit 72bb5615f3eef1c5b27716dfcabe4c8288729458)