summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* r5546: Fix some comments in "net rpc printer migrate settings"Günther Deschner2005-02-241-14/+5
| | | | Guenther
* r5545: move cli_cm_XXX() connection handling code to clidfs and out of ↵Gerald Carter2005-02-243-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
* r5543: Fix for bug #962 - using MB sharenames containing a ']' character.Jeremy Allison2005-02-241-13/+41
| | | | | | Processing a share name is now MB safe so long as the correct unix charset is in scope. Jeremy.
* r5542: fix a few more msdfs bugs in smbclient against both smbd and 2k dfs rootGerald Carter2005-02-243-10/+53
| | | | shares.
* r5541: Fix crash bug in the client-spoolss enumdataex-call.Günther Deschner2005-02-242-2/+2
| | | | | | | With Windows2003 it's perfectly legal to receive no data when querying a value-less subkey. Found while migrating printer settings. Guenther
* r5536: Avoid intermediate copy of NT and LM responses in NETLOGON client.Andrew Bartlett2005-02-241-14/+0
| | | | | | | This copy was length-limited, which broke when the NTLMv2 response was more than 128 bytes in length. Andrew Bartlett
* r5535: Reformat so I can actually maintain this code and eventually convert ↵Jeremy Allison2005-02-241-401/+377
| | | | | | to MB safe. Jeremy.
* r5532: Patch to detect infinite loops when traversing a tdb from "Shlomi ↵Jeremy Allison2005-02-241-0/+7
| | | | | | Yaakobovich" <Shlomi@exanet.com> Jeremy.
* r5530: Keep the TRANS call up to date with the NTCreateX call.Jeremy Allison2005-02-241-1/+11
| | | | Jeremy.
* r5528: Expand the invalid-workstation-scheme. Workstation-Names with leadingGünther Deschner2005-02-241-1/+13
| | | | | | | '@'-sign are expanded on-the-fly as posix-groups of workstations. This allows optional, more flexible login-control in larger networks. Guenther
* r5527: Allow own netbios name to be set in smbclient's session setup.Günther Deschner2005-02-241-2/+8
| | | | Guenther
* r5525: Add extra case to torture to test this (we currently fail with the wrongJeremy Allison2005-02-231-2/+45
| | | | | error message but we correctly deny the open). Jeremy.
* r5524: Don't do share mode checks on can_delete if open, the rest of the openJeremy Allison2005-02-232-20/+26
| | | | | code will do this correctly. More for bug #2201. Jeremy.
* r5522: Better handling of LDAP over IPC connections that have expired on theGünther Deschner2005-02-231-4/+1
| | | | | | LDAP-Server. Guenther
* r5521: allow smbclient to follow multiple leveles of dfs referrals (no loop ↵Gerald Carter2005-02-231-47/+10
| | | | checking currently)
* r5520: fix last remaining dfs issues with smbclient.Gerald Carter2005-02-232-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).
* r5519: fix msdfs support for [m]get and [m]putGerald Carter2005-02-231-16/+32
|
* r5518: Add initial msdfs support to smbclient. Currently I can only Gerald Carter2005-02-237-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* )
* r5517: code cleanup; rename the sorted_tree to pathtree (used by registry code) Gerald Carter2005-02-234-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.
* r5513: Fix for bug #2201 - use same logic with "delete readonly"Jeremy Allison2005-02-231-4/+6
| | | | | | when setting the delete on close flag as we do in SMBunlink calls. Jeremy.
* r5511: Fix pipe-mismatch for NETDFS.Günther Deschner2005-02-221-5/+5
| | | | Guenther
* r5510: Optimisation to only do can_delete check if client asks for ↵Jeremy Allison2005-02-221-0/+9
| | | | | | | FILE_SHARE_DELETE. Not completely correct but will catch the XP SP2 problem. Jeremy.
* r5508: Typo - ZERO_STRUCT -> ZERO_STRUCTP.Jeremy Allison2005-02-221-1/+1
| | | | Jeremy.
* r5497: Fix for DIR1 failures in build farm. It struck me that we Jeremy Allison2005-02-221-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.
* r5495: * add in some code from Mike Nix <mnix@wanm.com.au> for the SMBsplopenGerald Carter2005-02-227-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 *.
* r5484: Fix a memleakVolker Lendecke2005-02-211-2/+2
|
* r5481: Fix a memleakVolker Lendecke2005-02-211-0/+2
|
* r5471: In cli_samr_lookup_rids, flags is not a flags but an array size. W2k3 ↵Volker Lendecke2005-02-205-12/+10
| | | | | | | | | | rejects everything but 1000 here, so there's no point in exposing that to the caller. Thanks, Volker
* r5469: Fix error codes of samr_lookup_rids: There's also STATUS_SOME_UNMAPPED.Volker Lendecke2005-02-203-14/+32
| | | | | | Thanks, Volker
* r5467: Optimize _samr_query_groupmem with LDAP backend for large domains.Volker Lendecke2005-02-204-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
* r5462: BUG 1549: patch from SATOH Fumiyasu <fumiya@samba.gr.jp> to fix ↵Gerald Carter2005-02-191-1/+1
| | | | trunction of service names
* r5460: Fix "restrict anonymous = 1". If we have schannel connection, we must beJim McDonough2005-02-191-0/+4
| | | | | validated with a user, so allow it even if pipe itself had an anonymous connection.
* r5458: Generate a sane response to exceeding lookupsids limit. Truncate ↵Jim McDonough2005-02-191-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.
* r5456: Increase limit of mapped SIDS to 0x5000, which is what 2k and later do. Jim McDonough2005-02-191-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.
* r5455: Remove bogus DEBUG messages (dump for a failure to parse NTLMSSP,Andrew Bartlett2005-02-191-4/+2
| | | | | | | | before trying the alternate format). This only caused confusion and bug reports... Andrew Bartlett
* r5436: small merges from trunkGerald Carter2005-02-171-5/+5
|
* r5432: compile fixes from Jason Mader <jason@ncac.gwu.edu> -- BUGS 2340Gerald Carter2005-02-171-3/+3
|
* r5431: couple of cimpile fixes from Jason Mader <jason@ncac.gwu.edu> -- BUGS ↵Gerald Carter2005-02-172-10/+16
| | | | 2341 & 2342
* r5428: Apply some const. LDAP attribs should now be declared const char ↵Volker Lendecke2005-02-175-37/+38
| | | | | | | | *attr[]. This gives some new warnings in smbldap.c, but a the callers are cleaned up. Volker
* r5421: Fix a memleakVolker Lendecke2005-02-161-1/+3
|
* r5419: Fix some unitialized variable warningsVolker Lendecke2005-02-161-3/+3
|
* r5385: when operating in security = domain, allow domain admins to manage ↵Gerald Carter2005-02-141-1/+13
| | | | rigths assignments
* r5383: add missing checks to allow root to manage user rightsGerald Carter2005-02-141-2/+12
|
* r5379: Build-Fix (#2343)Günther Deschner2005-02-131-1/+1
| | | | Guenther
* r5359: BUG 2333: use the lpq command to pass in the correct printer name for ↵Gerald Carter2005-02-122-6/+17
| | | | cups_queue_get(). See comments in code for details
* r5355: Fill in the access check code for POSIX ACLs to *really* fix bug #2227.Jeremy Allison2005-02-121-2/+148
| | | | Jeremy.
* r5349: After talking with Jerry, reverted the addition of account policies toGünther Deschner2005-02-1215-846/+172
| | | | | | passdb in 3_0 (they are still in trunk). Guenther
* r5343: Fix for bug#1525. Timestamps interpreted incorrectly on 64-bit time_t ↵Jeremy Allison2005-02-112-18/+10
| | | | | | values. Jeremy.
* r5342: Reformat some very old code.Jeremy Allison2005-02-111-256/+281
| | | | Jeremy.
* r5339: Fix 'net rpc trustdom establish'. Use the right pipe name, therefore theJim McDonough2005-02-111-1/+1
| | | | right pipe FID. Fixes NT_STATUS_INVALID_HANDLE error.