summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
2003-03-18Jeremy merged across my string parinoia fixes, but forgot to enable them! :-)Andrew Bartlett2-27/+27
This patch catches up on the rest of the work - as much string checking as is possible is done at compile time, and the rest at runtime. Lots of code converted to pstrcpy() etc, and other code reworked to correctly call sizeof(). Andrew Bartlett (This used to be commit c5b604e2ee67d74241ae2fa07ae904647d35a2be)
2003-03-18Fix segfault on FD_SET() when we have an fd of -1Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 92bd0f69df4eef612b73da00e45d244f5236afa2)
2003-03-18Add an extra parameter to our 'set_remote_machine_name' andAndrew Bartlett1-1/+1
'set_local_machine_name' so that the client can't change it from under us. (.NET RC2 and WinXP install calls the machine 'machinename' during NTLMSSP on the domain join). Andrew Bartlett (This used to be commit 4c7163e7c2cc09bd95faa05156ee480957a7a4d8)
2003-03-18Add const.Andrew Bartlett1-1/+1
(This used to be commit ed245023016779700571d108e7b9339236bcbe7c)
2003-03-18This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This ↵cvs2svn Import User1-0/+557
used to be commit f0d009c3e91979b0dc3443e16f3f545bcc64cfda)
2003-03-16 - Make ReadDirName return a const char*.Andrew Bartlett1-1/+1
- Consequential changes from that - mark our fstring/pstring assumptions in function prototypes Andrew Bartlett (This used to be commit fe2bc64bc439b27387b8f326b0f4f3bfcc3d04a1)
2003-03-15Checkin cifs vfs for Linux mount helperSteve French1-43/+211
(This used to be commit a55acfd7a296c5ae9b043dc03393a29d87e43a40)
2003-03-15If the server went away, don't segfault by attempting to FD_SET -1.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit 4b1337ee94a19e39a2f4012c4dbc32a2e58cacf5)
2003-03-08Make sure that the 'remote' machine name can only be set once. For some weirdAndrew Bartlett1-1/+1
reason, during a Win2003 installation, when you select 'domain join' it sends one machine name in the name exchange, and litraly 'machinename' during the NTLMSSP login. Also fix up winbindd's logfile handling, so that it matches smbd and nmbd. (This helps me, by seperating the logs by pid). Andrew Bartlett (This used to be commit afe5a3832f79131fb74461577f1db0e5e8bf4b6d)
2003-03-07Add early prototype of cifs mount helper for LinuxSteve French1-0/+389
(This used to be commit b20bcf8d336b4b2079eb42342a96d1fe714709de)
2003-03-06More safe_strcpy() off-by-one bug fixes. (mostly moves to pstrcpy()/fstrcpy())Andrew Bartlett2-27/+27
Andrew Bartlett (This used to be commit 42b5514404bc7e33306c11344c6c934a1f83d295)
2003-03-03More janitorial duties, fixing the BIG_UINT changes for large offsets.Richard Sharpe1-5/+6
(This used to be commit 1af39523cc3b2313f3e8acd4f2e5338182ec0b13)
2003-03-03Do my janitorial duties to encourage others to do so.Richard Sharpe1-6/+7
Fix lingering large offset problems in smbtar etc. (This used to be commit c416eec2f2a38eebfcda5868999d474628037f1e)
2003-02-25Fix breakage done by myself yesterday.Tim Potter1-6/+3
(This used to be commit f4492de2d668082df6ae06933d12a3cfe120d403)
2003-02-25Fixed up some const related compiler warnings.Tim Potter1-3/+6
(This used to be commit 923425e497112c5d1e2e569da6c13dcd02b6a8af)
2003-02-24Cleint-side-auth/kerberos fixes from HEAD, and don't connect to a shareAndrew Bartlett2-24/+64
twice, let the libsmb code determine what form the share name should take. Andrew Bartlett (This used to be commit a25f6126647c94551c03bfc28e3fb5ec5ef6264a)
2003-02-18The cli_send_tconX code already determines to send \\server\share to port 139Andrew Bartlett1-18/+3
and share to 445, so doing this only confuses the issue (sending \\server\\server\share to 139) and makes debugging specific error codes more difficult. Andrew Bartlett (This used to be commit 1a723bcda72901dac00b36955e860e3af23c0dc6)
2003-02-15fix dumb perror used without errno beeing set.Simo Sorce1-2/+2
thanks to RedHat developers for the report (This used to be commit e257141c9b3703ef73ee312f3ec30d377e0d3293)
2003-02-15fix dumb perror used without errno beeing set.Simo Sorce1-2/+2
thanks to RedHat developers for the report (This used to be commit 4a3c6c62d979707900b95e6c38b0132f522269ca)
2003-02-15Antti Andreimann <Antti.Andreimann@mail.ee> has done some changes to enableAndrew Bartlett2-6/+44
users w/o full administrative access on computer accounts to join a computer into AD domain. The patch and detailed changelog is available at: http://www.itcollege.ee/~aandreim/samba This is a list of changes in general: 1. When creating machine account do not fail if SD cannot be changed. setting SD is not mandatory and join will work perfectly without it. 2. Implement KPASSWD CHANGEPW protocol for changing trust password so machine account does not need to have reset password right for itself. 3. Command line utilities no longer interfere with user's existing kerberos ticket cache. 4. Command line utilities can do kerberos authentication even if username is specified (-U). Initial TGT will be requested in this case. I've modified the patch to share the kinit code, rather than copying it, and updated it to current CVS. The other change included in the original patch (local realms) has been left out for now. Andrew Bartlett (This used to be commit ce52f1c2ed4d3ddafe8ae6258c90b90fa434fe43)
2003-02-13Fix typo in WIFSIGNALED (as per Waider's report)Alexander Bokovoy1-1/+1
(This used to be commit 4463ffeed91163314d2d903a271b29e87edaadcf)
2003-02-13waitstatus audit: Correctly handle case where smbmnt is killed by aMartin Pool1-0/+3
signal. Previously this was incorrectly treated as success. (This used to be commit fe5582c1b2e1c6a6ed5e048dd169a1fcf908069c)
2003-02-07Samba janitors: applying mbp's redundant umask fix.Jeremy Allison1-4/+0
Jeremy. (This used to be commit 45d4e58ca5da1c01f135470257bb17a5257e6fb2)
2003-02-07Samba janitors: applying mbp's redundant umask fix.Jeremy Allison1-4/+0
Jeremy. (This used to be commit b54f6bf06c6a4032ba0d6c2a25699948685ccf6a)
2003-02-02smb signing compile fixTim Potter1-1/+1
(This used to be commit 22d7aa0e673baa1c26205d1c659ba71ad2f94609)
2003-02-02More signing updates - start checking that the server isn't being spoofed.Andrew Bartlett1-0/+3
Andrew Bartlett (This used to be commit b1c722e306533babeffeba9d8c7dcfa00e019423)
2003-01-20Add FIXME about dodgy argument parser.Martin Pool1-0/+11
(This used to be commit a58028330849dbb1706793fdc6e36161f7baebed)
2003-01-15s/WIFSIGNALLED/WIFSIGNALED/gGerald Carter1-1/+1
(This used to be commit dc6cda595179b8c53f15d4bc92faf782f3e2d482)
2003-01-15s/WIFSIGNALLED/WIFSIGNALED/gGerald Carter1-1/+1
(This used to be commit 251585142bb5d13951160a76f65bb2bf32f209bf)
2003-01-15*lots of small merges form HEADGerald Carter1-1/+5
*sync up configure.in *don't build torture tools in make all *make sure to remove torture tools as part of make clean (This used to be commit 0fb724b3216eeeb97e61ff12755ca3a31bcad6ef)
2003-01-15One more from waitpid() audit: Correctly interpret waitstatus when aMartin Pool1-1/+5
child fails. Possibly this was causing smbmount to exit(0) when it really should have indicated a failure. (This used to be commit 1e33083fe66dfc1e168ffeb2f9d87953534a2d5d)
2003-01-14Merge from HEAD:Andrew Bartlett1-4/+4
- fstring/pstring mixups - the detection code that found them (disabled) - a bit of whitespace - a static Andrew Bartlett (This used to be commit 9b70fa868e7d9481f584c83fc4046174e1dedfd9)
2003-01-11Fix a number of client-side fstring/pstring mixups.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit fe1cc779d5ea77e87dbc0e2edf7c34a354fee6e0)
2003-01-07Added code to the handling of the -M option to ensure that we default toChristopher R. Hertel1-4/+10
port 139 for that option. The NetBIOS Messenger Service doesn't run on a non-NBT port. (This used to be commit 02986f3e3a8b0411f7cfbfe11015602fe685a440)
2003-01-07Added code to the handling of the -M option to ensure that we default toChristopher R. Hertel1-1/+7
port 139 for that option. The NetBIOS Messenger Service doesn't run on a non-NBT port. (This used to be commit a10195b7112b0a7cca3ddb5be2566364c59fefb7)
2003-01-03Merge from HEAD - make Samba compile with -Wwrite-strings without additionalAndrew Bartlett3-10/+10
warnings. (Adds a lot of const). Andrew Bartlett (This used to be commit 3a7458f9472432ef12c43008414925fd1ce8ea0c)
2003-01-02BIG patch...Andrew Bartlett3-10/+10
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)
2002-12-19merge from 2.2 fix for smbclient large filesHerb Lewis1-18/+18
(This used to be commit 17f685fdbf5d36f82e3da0a09457f5e248b3f109)
2002-12-19merge from 2.2 fix for smbclient large filesHerb Lewis1-18/+18
(This used to be commit 723c4caf64c56b78052c52fec78c7143ec19e944)
2002-12-16merge smbtar fix from 2.2Herb Lewis1-6/+8
(This used to be commit 41188337c3fa8c716dc7a4721ee5c31e5ddd928d)
2002-12-16merge smbtar fixes from 2.2Herb Lewis1-6/+8
(This used to be commit f3b994326ea4bfc9a74acb2901c733c35900af53)
2002-12-10Updating changes from HEAD.John Terpstra1-1/+2
(This used to be commit 20efb6252cd95fe9ce08298cfdd29d975a53f241)
2002-12-05fix stat reporting on put commandHerb Lewis1-1/+1
(This used to be commit aa38aaf36338a2c9e708410d6b1befa6d65c93cc)
2002-12-05fix stat reporting on put commandHerb Lewis1-1/+1
(This used to be commit c53e10ff879535e931cb3267d9190fd798d85b31)
2002-12-01Link less with smbmnt and smbumount. Also change from a pstrcpy() to aAndrew Bartlett1-1/+2
strncpy() to make it clear that we must operate on a PATH_MAX sized buffer. Andrew Bartlett (This used to be commit 49d9698ef08d66dc238b2e3469da8944b444dfa1)
2002-11-13Sorry Jim we can't assign to global_xxx(), we need to call set_global_xxx()Jeremy Allison1-1/+1
to ensure the malloc is done. Jeremy. (This used to be commit 57f7ab45b783f64a3f3337a893ba3ddef953c133)
2002-11-13Sorry Jim we can't assign to global_xxx(), we need to call set_global_xxx()Jeremy Allison1-1/+1
to ensure the malloc is done. Jeremy. (This used to be commit e57853000aacc61ba3c73907a7afb85385b378c3)
2002-11-13Bring smbmount.c in line with jra's global-cide. global_scope was used here...Jim McDonough1-2/+1
(This used to be commit 79a0f2c2519b0503a8323fd0babfd18ec59b8d5e)
2002-11-13Bring smbmount.c in line with jra's global-cide. global_scope was used here...Jim McDonough1-2/+1
(This used to be commit 5170a9f7ffac93c619358353834bc3024a6746d2)
2002-11-12Removed global_myworkgroup, global_myname, global_myscope. Added liberalJeremy Allison2-19/+14
dashes of const. This is a rather large check-in, some things may break. It does compile though :-). Jeremy. (This used to be commit f755711df8f74f9b8e8c1a2b0d07d02a931eeb89)