summaryrefslogtreecommitdiff
path: root/source3/client
AgeCommit message (Collapse)AuthorFilesLines
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-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-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 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-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 251585142bb5d13951160a76f65bb2bf32f209bf)
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-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-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 723c4caf64c56b78052c52fec78c7143ec19e944)
2002-12-16merge smbtar fixes from 2.2Herb Lewis1-6/+8
(This used to be commit f3b994326ea4bfc9a74acb2901c733c35900af53)
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 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 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 82b8f749a36b42e22186297482aad2abb04fab8a)
2002-11-09Kill append_log from smbmount (thanks vance for reminding me).Andrew Bartlett1-2/+0
Andrew Bartlett (This used to be commit 7501b2a51835bae005d2ac015c3a428eaadce032)
2002-11-04Move testsmbc.c to examplesJelmer Vernooij1-455/+0
(This used to be commit fdd70614d2dc29f6a676c30e254a0bf024687fb4)
2002-10-18Don't encourage people to use -P - it's obsoleteJelmer Vernooij1-1/+0
(This used to be commit 59ecac901a231383bd4cacb326724f786e3d7244)
2002-10-17Added new error codes. Fix up connection code to retry in the same wayJeremy Allison1-1/+1
that app-head does. Jeremy. (This used to be commit b521abd86b10573ca8f9116907c81e6deb55f049)
2002-10-03Patch from Steve Langasek <vorlon@netexpress.net> to use nice big integers whenAndrew Bartlett1-4/+4
attempting to calculate the bytes/second being transferred. (Avoid overflow etc) Andrew Bartlett (This used to be commit cd41e5ab857a33e05fa231756ff15707f2f5ce23)
2002-09-29Make sure that variable does not shadow a parameter.Richard Sharpe1-6/+6
(This used to be commit d83cae2bbd1625aeb3b7c73ba8dde2d1371e7f89)
2002-09-28Commit a fix to smbclient so that it will connect to EMCs and NetApp's machines.Richard Sharpe1-3/+18
(This used to be commit 1e4ac9615d26bfbf90e3a45f088564f448f689ce)
2002-09-23Don't uppercase the username and domain in a session setup.Tim Potter1-2/+0
(This used to be commit 0ad19825df318030b1772404570cd993fe49e40a)
2002-09-05Fixed a little, long standing bug: smbclient -M <name> should resolveVolker Lendecke1-3/+8
name#03, not name#20. Volker (This used to be commit 99017e887e4189ac7f6e3b7df08f028dc155191e)
2002-08-28fix wrong checkSimo Sorce1-1/+1
(This used to be commit cb0ed2faa5ed9163421a0f58d45bcd7ec38f06ec)
2002-08-27Remove strsep - non portable.Jeremy Allison1-2/+2
Jeremy. (This used to be commit 03c49b2e519acb8cc7278ac97a203a7d122d2869)
2002-08-27add a trivial seeking function to xfile (tseek) that does not do SEEK_CURSimo Sorce1-22/+116
and add commands reget and reput to smbclient that continues a transfer that has been onterrupted. thanks to josef Zlomek that did the original patch. (This used to be commit b275547c9ecc13bede5bd21a392fa1d695a3926d)
2002-08-20fix typosSimo Sorce1-2/+2
thanks Josef Zlomek (This used to be commit fb32fd99b9878db2bacf0588d30fd5f1f37dbfd7)
2002-08-10Fix the %m security bug again - and try to make it harder to reintroduce inAndrew Bartlett1-2/+1
future. This moves us from fstrcpy() and global variables to 'get' and 'set' functions. In particular, the 'set' function sainity-checks the input, in the same way as we always have. Andrew Bartlett (This used to be commit e57a896f06b16fe7e336e1ae63a0c9e4cc75fd36)
2002-07-28fix for smbtar filename matchingAndrew Tridgell1-1/+1
samba-patches 852 (This used to be commit e2558baa32657a71fd7e0958446f72e373cfadc9)
2002-07-21Looks like I missed this earlier. We should connect as the specified workgroupAndrew Bartlett1-1/+1
- sombody using smbspool won't always have a full smb.conf, and this is how it was written in the first place anyway. Again, found by the IRIX compiler. Andrew Bartlett (This used to be commit 31181158766cd5f0e8409854f3c304f6fb46582b)
2002-07-20More fixes towards warnings on the IRIX compilerAndrew Bartlett1-8/+5
(and yes, some of these are real bugs) In particular, the samr code was doing an &foo of various types, to a function that assumed uint32. If time_t isn't 32 bits long, that broke. They are assignment compatible however, so use that and an intermediate variable. Andrew Bartlett (This used to be commit 30d0998c8c1a1d4de38ef0fbc83c2b763e05a3e6)
2002-07-13Make smbmnt a standalone program from a linker point of view. Hopefully thisAndrew Bartlett1-2/+2
will make it easier to prove this package correct from an audit point of view. smbumount to follow, but it uses pstrcpy() so I'll need to decide what to do with that. Andrew Bartlett (This used to be commit 62c56f97248109ca80cc155974584bea9704cd50)
2002-07-13- fixed a crash bug for 'print -'Andrew Tridgell2-3/+4
- removed an unused variable (This used to be commit 66af95716de470600b0db58bdf8a1f0c15dba036)
2002-07-02fixed a prototype problem in client.cAndrew Tridgell1-0/+3
(This used to be commit 922ab73c3c8f510fdbcb8b64d54b512d32c47b75)
2002-07-01used findstatic.pl to make some variables static and remove some deadAndrew Tridgell2-25/+25
code (This used to be commit 91ad9041e9507d36eb3f40c23c5d4df61f139ef0)
2002-06-25Update cli_full_connection() to take a 'flags' paramater, and try to get aAndrew Bartlett1-57/+11
few more places to use it. Andrew Bartlett (This used to be commit 23689b0746d5ab030d8693abf71dd2e80ec1d7c7)
2002-06-25And another .cvsignoreAndrew Bartlett1-0/+1
(This used to be commit fa0037a294a9faaf3cdc894e2ec1280dad157553)