summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5589: Ensure the torture code that uses cli_list and cli_list_oldJeremy Allison1-2/+2
matches the new MS-DFS function prototypes. Should fix the build farm tests. Jeremy. (This used to be commit 3d4d8bb6544abc4959f75bb962d8e1fb3d37a55e)
2007-10-10r5580: Fix "net rpc trustdom add". Much closer to what windows does. Also stopJim McDonough4-73/+44
referencing unknown_6 from sam, because it's just fixed at 1260, the max len of LOGON_HRS. Need to go in and mark it as "remove me" from passdb. (This used to be commit ffac752875938d510446ebbeba6fc983f65cda1e)
2007-10-10r5578: get 'recurse; dir' working across multiple levels of dfs referralsGerald Carter2-31/+34
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 * (This used to be commit 52c82b51ba9729cc53a049d8e9fbb7365d652c51)
2007-10-10r5577: get recurse; dir working across single level dfs referralsGerald Carter3-8/+66
(This used to be commit d4443807bc7a5a8615c69517365a92709db7ce29)
2007-10-10r5571: fix another breakage on gcc 2.96Gerald Carter1-1/+1
(This used to be commit cadd5a44e7f1d532aa4dad7a4233e5ea2c814a10)
2007-10-10r5568: fix more breakage on gcc 2.96Gerald Carter1-1/+1
(This used to be commit 3eeecff05efec9310cf2bed7c6fe9a6d80dd6d0d)
2007-10-10r5565: fix breakage on gcc 2.96Gerald Carter1-1/+1
(This used to be commit 67f8a1e3bc545d4ebbe0f7d05ea16c6231f2e82c)
2007-10-10r5562: * bump version to 3.0.12pre2Gerald Carter2-2/+2
* change special character in gd's valid workstation check to a '+' to be more in line with the characters used by valid users (This used to be commit 8bff0486508b9952c192345302b9313ac0b2270e)
2007-10-10r5560: make sure session setup message is displayed after changes to client.cGerald Carter1-2/+2
(This used to be commit 3f5e52e90861d071870a369fac246a822f4ff2ce)
2007-10-10r5556: Fix the build on AIX.Günther Deschner1-4/+14
use AF_UNIX instead of AF_LOCAL (thanks to Doug VanLeuven <roamdad-at-sonic.net>) and make smbldap_open() a bit more readable. Guenther (This used to be commit 526d6a9493cd091f2a9b8e072f11e673133fe5c1)
2007-10-10r5548: Stop lying about allocation sizes to Windows clients. It was a niceJeremy Allison4-29/+4
idea, and aparently improved performance in some circumstances, but it breaks the VC++ compiler :-(. Not cool. Fix bug #2146. Jeremy. (This used to be commit b9f147634df0126320ffe3b9a23068e76f6c1681)
2007-10-10r5547: Fix compile warning.Günther Deschner1-1/+1
Guenther (This used to be commit a5e215650e09f087f8aede96475bd26649aa244e)
2007-10-10r5546: Fix some comments in "net rpc printer migrate settings"Günther Deschner1-14/+5
Guenther (This used to be commit 67552103ee77013d08e06ed651f6ca6b3b76813e)
2007-10-10r5545: move cli_cm_XXX() connection handling code to clidfs and out of ↵Gerald Carter3-275/+307
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 (This used to be commit d6a05ffd664e2e304f6e481af34a4c5d640fc3f9)
2007-10-10r5543: Fix for bug #962 - using MB sharenames containing a ']' character.Jeremy Allison1-13/+41
Processing a share name is now MB safe so long as the correct unix charset is in scope. Jeremy. (This used to be commit 5bd027e9ed095c01fc176178ff51b5839fe0c140)
2007-10-10r5542: fix a few more msdfs bugs in smbclient against both smbd and 2k dfs rootGerald Carter3-10/+53
shares. (This used to be commit 5d2624c453b0bc961302edd9f2421a7c3d504d1f)
2007-10-10r5541: Fix crash bug in the client-spoolss enumdataex-call.Günther Deschner2-2/+2
With Windows2003 it's perfectly legal to receive no data when querying a value-less subkey. Found while migrating printer settings. Guenther (This used to be commit 3e04def03377b2eae2987c87b18ccadf5b48a6fe)
2007-10-10r5536: Avoid intermediate copy of NT and LM responses in NETLOGON client.Andrew Bartlett1-14/+0
This copy was length-limited, which broke when the NTLMv2 response was more than 128 bytes in length. Andrew Bartlett (This used to be commit bae18aaaff7f9eff90db566b9a254a11d281aa01)
2007-10-10r5535: Reformat so I can actually maintain this code and eventually convert ↵Jeremy Allison1-401/+377
to MB safe. Jeremy. (This used to be commit 0285754c1408b4155e115a5f76b1f5ff481c9d7e)
2007-10-10r5532: Patch to detect infinite loops when traversing a tdb from "Shlomi ↵Jeremy Allison1-0/+7
Yaakobovich" <Shlomi@exanet.com> Jeremy. (This used to be commit f997c28bb8ca253dca943a578a617b3c20ccfa5e)
2007-10-10r5530: Keep the TRANS call up to date with the NTCreateX call.Jeremy Allison1-1/+11
Jeremy. (This used to be commit 98a07e1520d6fb1f6f5320bc70ac33d4c5052ea6)
2007-10-10r5528: Expand the invalid-workstation-scheme. Workstation-Names with leadingGünther Deschner1-1/+13
'@'-sign are expanded on-the-fly as posix-groups of workstations. This allows optional, more flexible login-control in larger networks. Guenther (This used to be commit 8f143b6800e0b6964c8ba4ba9607dc74da12ae59)
2007-10-10r5527: Allow own netbios name to be set in smbclient's session setup.Günther Deschner1-2/+8
Guenther (This used to be commit 3660b7e64d9a17bcaa4f43c6d782b0b1d52ed6ab)
2007-10-10r5525: Add extra case to torture to test this (we currently fail with the wrongJeremy Allison1-2/+45
error message but we correctly deny the open). Jeremy. (This used to be commit 99b89867c33a2209c42b6610d62ead0cf2af05af)
2007-10-10r5524: Don't do share mode checks on can_delete if open, the rest of the openJeremy Allison2-20/+26
code will do this correctly. More for bug #2201. Jeremy. (This used to be commit faecf639efdecf949e91184d041489aa54e8664f)
2007-10-10r5522: Better handling of LDAP over IPC connections that have expired on theGünther Deschner1-4/+1
LDAP-Server. Guenther (This used to be commit 8017a7a150023dc3353181f7737b2363d38593fa)
2007-10-10r5521: allow smbclient to follow multiple leveles of dfs referrals (no loop ↵Gerald Carter1-47/+10
checking currently) (This used to be commit 3c09b1f30f8b85036c487fdaf7fca11886bc90d7)
2007-10-10r5520: fix last remaining dfs issues with smbclient.Gerald Carter2-55/+154
* all the unix extension commands should work * send the correct TRANS2_FINDFIRST format to 2k to get a listing from a msdfs root share (tested against smbd as well). * mkdir, rmdir, etc... all seem ok. I'm sure bugs will pop up so keep testing. Last thing I plan on doing is to clean up the horrible mess with connection management in smbclient and global variables (so i can move the cli_cm_xx() routines to a separate file). (This used to be commit 53d6a5f9d16aef4afc60b4b37b296b256da00dfd)
2007-10-10r5519: fix msdfs support for [m]get and [m]putGerald Carter1-16/+32
(This used to be commit 6a9e4d6af1a4a4f426189e71aac5a4e7e217d6f7)
2007-10-10r5518: Add initial msdfs support to smbclient. Currently I can onlyGerald Carter7-135/+440
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* ) (This used to be commit e57fd2c5f00de2b11a2b44374830e89a90bc0022)
2007-10-10r5517: code cleanup; rename the sorted_tree to pathtree (used by registry code)Gerald Carter4-44/+74
I was going to use this for tracking dfs mounts in smbclient but found another way. Still the cleanup is valid so commiting it. should be minimally disruptive since it is not widely used. (This used to be commit 00738dca3b07083c91545910486a1f30f2b17281)
2007-10-10r5513: Fix for bug #2201 - use same logic with "delete readonly"Jeremy Allison1-4/+6
when setting the delete on close flag as we do in SMBunlink calls. Jeremy. (This used to be commit 7a94eaf1811c79ae52ee78b1cd9cfc691e1d65a0)
2007-10-10r5511: Fix pipe-mismatch for NETDFS.Günther Deschner1-5/+5
Guenther (This used to be commit 1c8616618cf35a5aaef03b6e570d95d1a3e34e4e)
2007-10-10r5510: Optimisation to only do can_delete check if client asks for ↵Jeremy Allison1-0/+9
FILE_SHARE_DELETE. Not completely correct but will catch the XP SP2 problem. Jeremy. (This used to be commit 1e2d0fcdbb72735f8b53d9faaec07d711ae236d0)
2007-10-10r5508: Typo - ZERO_STRUCT -> ZERO_STRUCTP.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 76e1d90aef45ccc089492d962e0f284e2e4d8e7a)
2007-10-10r5497: Fix for DIR1 failures in build farm. It struck me that weJeremy Allison1-2/+6
only care about failing with ACCESS_DENIED if we can't delete with DELETE access requested. All other errors will be processed as normal. Jeremy. (This used to be commit 360800592c55c9dd8fd787944b3d482f2b9eb951)
2007-10-10r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopenGerald Carter7-135/+538
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 *. (This used to be commit 0449756309812d854037ba0af631abad678e670e)
2007-10-10r5484: Fix a memleakVolker Lendecke1-2/+2
(This used to be commit 7b9cb0601ce465361618fcc2c88f8195d93f130a)
2007-10-10r5481: Fix a memleakVolker Lendecke1-0/+2
(This used to be commit 36bcfc5dae99868fc94ca01f902fec3d19926f5e)
2007-10-10r5471: In cli_samr_lookup_rids, flags is not a flags but an array size. W2k3 ↵Volker Lendecke5-12/+10
rejects everything but 1000 here, so there's no point in exposing that to the caller. Thanks, Volker (This used to be commit 03ec1bd9e54b065c0494bc57a3d78ac0ae28e234)
2007-10-10r5469: Fix error codes of samr_lookup_rids: There's also STATUS_SOME_UNMAPPED.Volker Lendecke3-14/+32
Thanks, Volker (This used to be commit 43dcf0f5cb5dc2dd37ab3cdc2905970d9cc50ba4)
2007-10-10r5467: Optimize _samr_query_groupmem with LDAP backend for large domains.Volker Lendecke4-38/+380
Could someone else please look at this patch, verifying that I did not break the ldapsam:trusted = False fallback to the old behaviour? It works fine for me, but you never know. You're certainly free to review the new code as well :-) Thanks, Volker (This used to be commit e1c3ca182b299dc65da1fa39aadb69876b5e16b8)
2007-10-10r5462: BUG 1549: patch from SATOH Fumiyasu <fumiya@samba.gr.jp> to fix ↵Gerald Carter1-1/+1
trunction of service names (This used to be commit 440a4ecc1641658a2553312b759b6b97a8e5c981)
2007-10-10r5460: Fix "restrict anonymous = 1". If we have schannel connection, we must beJim McDonough1-0/+4
validated with a user, so allow it even if pipe itself had an anonymous connection. (This used to be commit 469a649ad7271159960335419fd3ce2633cf2c8b)
2007-10-10r5458: Generate a sane response to exceeding lookupsids limit. Truncate ↵Jim McDonough1-2/+3
list to zero and return NT_STATUS_NONE_MAPPED. This does not crash windows and maintains the benefit of not overallocating memory. The previous response of truncating to the MAX limit was not useful because it crashed lsass.exe on windows (bug opened with MS), and it was also misleading the client to believe that a complete answer was received. (This used to be commit c03a93957404663bbd026668fb95d6c253524fe9)
2007-10-10r5456: Increase limit of mapped SIDS to 0x5000, which is what 2k and later do.Jim McDonough1-2/+2
NT has no limit. We still don't respond the way 2k would to requests larger, which is to actually allocate the memory and send back the entire response, plus a return status of NT_STATUS_NONE_MAPPED. Still looking into ways of doing this without crashing windows. (This used to be commit 9afe5acdc22adaed4b4b3d70ba3a1a7898256282)
2007-10-10r5455: Remove bogus DEBUG messages (dump for a failure to parse NTLMSSP,Andrew Bartlett1-4/+2
before trying the alternate format). This only caused confusion and bug reports... Andrew Bartlett (This used to be commit 5cb02b569b39aa7a9dc6692a79ff1d1dfa69aee6)
2007-10-10r5444: Add adssearch.pl utility (on volkers request).Günther Deschner1-0/+1492
Added to samba3 due to some header and machine-account dependencies, although it's possibly of more interest to samba4 developers. adssearch.pl is a kind of ldapsearch + dump-filters for various ADS-attributes. It can also register asynchronous change notifications. ./adssearch.pl -h w2k3host -D administrator@MY.REALM.NET -x -w mypass -n and *any* change in your entire DIT will show up immediately (after a second change of an object even as object diff). It's very interesting to see the interaction of GPOs, the various steps of account modification with dsa.msc, etc. Gracefully ignore some parts of adssearch.pl that are rather immature... Guenther (This used to be commit fd947b5ee060a48597bc1166614a05f81457e5e0)
2007-10-10r5436: small merges from trunkGerald Carter1-5/+5
(This used to be commit f17ffdf805ef8afad2b8d63b619c52540001a546)
2007-10-10r5432: compile fixes from Jason Mader <jason@ncac.gwu.edu> -- BUGS 2340Gerald Carter1-3/+3
(This used to be commit 3fd86a1f9d5b63aa066aed3347209913cdf782a8)