summaryrefslogtreecommitdiffstats
path: root/source/libsmb/clidfs.c
Commit message (Collapse)AuthorAgeFilesLines
* cli_cm: Make nicer password prompt in do_connect().Günther Deschner2008-04-201-1/+6
| | | | Guenther
* Add some more cli_cm_set_X functions.Günther Deschner2008-04-101-1/+52
| | | | Guenther
* Check the right pointer for non-NULLVolker Lendecke2008-03-061-1/+1
| | | | Fix Coverity ID 558, 559
* Fix CID 461 - resource leak on error.Jeremy Allison2008-01-081-0/+4
| | | | Jeremy.
* Add general '-e' option to enable smb encryptionJeremy Allison2008-01-051-35/+23
| | | | | on tools. Jeremy.
* Added -e, --encrypt option to smbclient that immediatelyJeremy Allison2007-12-291-11/+110
| | | | | | forces encrypted smb after initial connect. Will document for 3.2 official release. Jeremy.
* Fix C++ warningsVolker Lendecke2007-12-081-1/+1
|
* Fix call to clistr_pull_talloc.Jeremy Allison2007-12-071-1/+1
| | | | Jeremy.
* Remove pstrings completely except for smbctool (what does this do ?).Jeremy Allison2007-12-071-37/+73
| | | | | Don't build this for now. Jeremy.
* Fix clidfs.c compile.Jeremy Allison2007-12-061-2/+3
| | | | Jeremy.
* Remove pstrings from client/client.c by doing a large rewrite.Jeremy Allison2007-12-061-36/+24
| | | | | Mostly compiles.... Jeremy.
* Don't forget to delete the stackframe.Jeremy Allison2007-12-031-0/+1
| | | | Jeremy.
* Remove PSTRING_LEN from smbd/ nmbd/.Jeremy Allison2007-11-291-217/+356
| | | | | | | Remove pstring from libsmb/clidfs.c except for a nasty hack (that will be removed when pstrings are gone from client/). Jeremy.
* Remove the explicit TALLOC_CTX * from cli_struct.Jeremy Allison2007-11-291-3/+6
| | | | | | Make us very explicit about how long a talloc ctx should last. Jeremy.
* More pstring removal. This one was tricky. I had to addJeremy Allison2007-11-151-2/+6
| | | | | | one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy.
* Change all occurrences of zero_addr(&ss,AF_INET) toJeremy Allison2007-10-271-2/+2
| | | | | | | | zero_addr(&ss). All current uses were always of the AF_INET form, so simplify the call. If in the future we need to zero an addr to AF_INET6 this can be done separately. Jeremy.
* This is a large patch (sorry). Migrate from struct in_addrJeremy Allison2007-10-241-10/+10
| | | | | | | | | | | | | to struct sockaddr_storage in most places that matter (ie. not the nmbd and NetBIOS lookups). This passes make test on an IPv4 box, but I'll have to do more work/testing on IPv6 enabled boxes. This should now give us a framework for testing and finishing the IPv6 migration. It's at the state where someone with a working IPv6 setup should (theorecically) be able to type : smbclient //ipv6-address/share and have it work. Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-11/+11
| | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy.
* Add start of IPv6 implementation. Currently most of this is avoidingJeremy Allison2007-10-101-2/+2
| | | | | | | | | | IPv6 in winbindd, but moves most of the socket functions that were wrongly in lib/util.c into lib/util_sock.c and provides generic IPv4/6 independent versions of most things. Still lots of work to do, but now I can see how I'll fix the access check code. Nasty part that remains is the name resolution code which is used to returning arrays of in_addr structs. Jeremy.
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
|
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r23554: Fix bug #4711 by makeing cli_connect return an NTSTATUS.Jeremy Allison2007-10-101-2/+7
| | | | | Long overdue fix.... Jeremy.
* r21800: Check-in the DFS rewrite. I am still testing this but itJeremy Allison2007-10-101-140/+148
| | | | | | | | works from smbclient and Windows, and I am promising to support and fix both client and server code moving forward. Still need to test the RPC admin support but I haven't changed that code. Jeremy.
* r21768: Fix the client dfs code such that smbclient canJeremy Allison2007-10-101-17/+54
| | | | | | | | | process deep dfs links (ie. links that go to non root parts of a share). Make the directory handling conanonical in POSIX and Windows pathname processing. dfs should not be fully working in client tools. Please bug me if not. Jeremy.
* r21133: - Apply patch from ages ago, which should allow following ↵Derrell Lipman2007-10-101-10/+27
| | | | | | | | \\server\share\path DFS referrals. This doesn't appear to break anything in the non-DFS case, but I don't have an environment to test DFS referrals. Need confirmation from OP that this solves the problem.
* r17571: Change the return code of cli_session_setup from BOOL to NTSTATUSVolker Lendecke2007-10-101-5/+6
| | | | Volker
* r17291: Fix memory leaks on early exit path.Jeremy Allison2007-10-101-1/+5
| | | | Jeremy.
* r16945: Sync trunk -> 3.0 for 3.0.24 code. Still needJeremy Allison2007-10-101-2/+3
| | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy.
* r16360: Fix Klocwork ID 136 520 521 522 523 542 574 575 576 607Volker Lendecke2007-10-101-3/+6
| | | | | | | | | | | | | | | | in net_rpc.c: 715 716 732 734 735 736 737 738 739 749 in net_rpc_audit.c: 754 755 756 in net_rpc_join.c: 757 in net_rpc_registry: 766 767 in net_rpc_samsync.c: 771 773 in net_sam.c: 797 798 Volker
* r16249: Fix Klokwork ID 130Volker Lendecke2007-10-101-1/+1
|
* r14133: Fix Coverity bug # 140Volker Lendecke2007-10-101-2/+2
|
* r13316: Let the carnage begin....Gerald Carter2007-10-101-6/+16
| | | | Sync with trunk as off r13315
* r9958: revert last commit.Günther Deschner2007-10-101-1/+1
| | | | Guenther
* r9955: Fix misleading comments.Günther Deschner2007-10-101-1/+1
| | | | Guenther
* r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter2007-10-101-2/+0
|
* r7339: only check for dfs proxy referrals when the server supports dfsGerald Carter2007-10-101-1/+1
|
* r6706: * fix bug that prevented smbclient from creating directoriesGerald Carter2007-10-101-3/+11
| | | | | | on non-dfs paths * add patch from James Peach to remove use of uninitialized variables
* r6685: smbclient fixesGerald Carter2007-10-101-5/+64
| | | | | | * BUG 2680: copy files from an MSDFS win2k root share * BUG 2688: re-implement support for the -P (--port) option * support connecting to an 'msdfs proxy' share on a Samba server
* r5994: proper fix for smbclient and win98 file servers; check the WCT value ↵Gerald Carter2007-10-101-19/+1
| | | | in the tcon&X reply before setting the cli_state->dfsroot flag
* r5981: Hack to fix DFS code to work with Win98 server. JERRY PLEASE REVIEW ↵Jeremy Allison2007-10-101-1/+19
| | | | | | | | THIS ! I don't think this is correct - it just happens to work and fix bug #2530 to return all the files. Jeremy.
* r5835: Make smbclient obey the max protocol argument again.Jeremy Allison2007-10-101-1/+1
| | | | Jeremy.
* r5657: Fix uninitialized variable warningVolker Lendecke2007-10-101-1/+1
|
* r5578: get 'recurse; dir' working across multiple levels of dfs referralsGerald Carter2007-10-101-15/+18
| | | | | | note that this does not handle the situation where the same \\server\share is mounted mutliple times in the dfs tree since I store a single mount path per struct cli_state *
* r5577: get recurse; dir working across single level dfs referralsGerald Carter2007-10-101-0/+53
|
* r5560: make sure session setup message is displayed after changes to client.cGerald Carter2007-10-101-2/+2
|
* r5545: move cli_cm_XXX() connection handling code to clidfs and out of ↵Gerald Carter2007-10-101-0/+278
| | | | client.c; client.c still maintains a pointer to the first connection so the change is fairly reansparent to other smbclient functions such as -L and -M
* r5542: fix a few more msdfs bugs in smbclient against both smbd and 2k dfs rootGerald Carter2007-10-101-4/+8
| | | | shares.
* r5521: allow smbclient to follow multiple leveles of dfs referrals (no loop ↵Gerald Carter2007-10-101-47/+10
| | | | checking currently)
* r5518: Add initial msdfs support to smbclient. Currently I can onlyGerald Carter2007-10-101-28/+229
| | | | | | | | | | | | cd up and down the tree and get directory listings. Still have to figure out how to get a directory listing on a 2k dfs root. Also have to work out some issues with relative paths that cross dfs mount points. We're protected from the new code paths when connecting to a non-dfs root share ( the flag from the tcon&X is stored in the struct cli_state* )
* r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopenGerald Carter2007-10-101-0/+154
and SMBsplclose commands (BUG 2010) * clarify some debug messages in smbspool (also from Mike) my changes: * start adding msdfs client routines * enable smbclient to maintain multiple connections * set the CAP_DFS flag for our internal clienht routines. I actualy have a dfs referral working in do_cd() but that code is too ugly to live so I'm not checking it in just yet. Further work is to merge with vl's changes in trunk to support multiple TIDs per cli_state *.