Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | r5546: Fix some comments in "net rpc printer migrate settings" | Günther Deschner | 2005-02-24 | 1 | -14/+5 | |
| | | | | Guenther | |||||
* | r5545: move cli_cm_XXX() connection handling code to clidfs and out of ↵ | Gerald Carter | 2005-02-24 | 3 | -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 Allison | 2005-02-24 | 1 | -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 root | Gerald Carter | 2005-02-24 | 3 | -10/+53 | |
| | | | | shares. | |||||
* | r5541: Fix crash bug in the client-spoolss enumdataex-call. | Günther Deschner | 2005-02-24 | 2 | -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 Bartlett | 2005-02-24 | 1 | -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 Allison | 2005-02-24 | 1 | -401/+377 | |
| | | | | | | to MB safe. Jeremy. | |||||
* | r5532: Patch to detect infinite loops when traversing a tdb from "Shlomi ↵ | Jeremy Allison | 2005-02-24 | 1 | -0/+7 | |
| | | | | | | Yaakobovich" <Shlomi@exanet.com> Jeremy. | |||||
* | r5530: Keep the TRANS call up to date with the NTCreateX call. | Jeremy Allison | 2005-02-24 | 1 | -1/+11 | |
| | | | | Jeremy. | |||||
* | r5528: Expand the invalid-workstation-scheme. Workstation-Names with leading | Günther Deschner | 2005-02-24 | 1 | -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 Deschner | 2005-02-24 | 1 | -2/+8 | |
| | | | | Guenther | |||||
* | r5525: Add extra case to torture to test this (we currently fail with the wrong | Jeremy Allison | 2005-02-23 | 1 | -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 open | Jeremy Allison | 2005-02-23 | 2 | -20/+26 | |
| | | | | | code will do this correctly. More for bug #2201. Jeremy. | |||||
* | r5522: Better handling of LDAP over IPC connections that have expired on the | Günther Deschner | 2005-02-23 | 1 | -4/+1 | |
| | | | | | | LDAP-Server. Guenther | |||||
* | r5521: allow smbclient to follow multiple leveles of dfs referrals (no loop ↵ | Gerald Carter | 2005-02-23 | 1 | -47/+10 | |
| | | | | checking currently) | |||||
* | r5520: fix last remaining dfs issues with smbclient. | Gerald Carter | 2005-02-23 | 2 | -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]put | Gerald Carter | 2005-02-23 | 1 | -16/+32 | |
| | ||||||
* | r5518: Add initial msdfs support to smbclient. Currently I can only | Gerald Carter | 2005-02-23 | 7 | -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 Carter | 2005-02-23 | 4 | -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 Allison | 2005-02-23 | 1 | -4/+6 | |
| | | | | | | when setting the delete on close flag as we do in SMBunlink calls. Jeremy. | |||||
* | r5511: Fix pipe-mismatch for NETDFS. | Günther Deschner | 2005-02-22 | 1 | -5/+5 | |
| | | | | Guenther | |||||
* | r5510: Optimisation to only do can_delete check if client asks for ↵ | Jeremy Allison | 2005-02-22 | 1 | -0/+9 | |
| | | | | | | | FILE_SHARE_DELETE. Not completely correct but will catch the XP SP2 problem. Jeremy. | |||||
* | r5508: Typo - ZERO_STRUCT -> ZERO_STRUCTP. | Jeremy Allison | 2005-02-22 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | r5497: Fix for DIR1 failures in build farm. It struck me that we | Jeremy Allison | 2005-02-22 | 1 | -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 SMBsplopen | Gerald Carter | 2005-02-22 | 7 | -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 memleak | Volker Lendecke | 2005-02-21 | 1 | -2/+2 | |
| | ||||||
* | r5481: Fix a memleak | Volker Lendecke | 2005-02-21 | 1 | -0/+2 | |
| | ||||||
* | r5471: In cli_samr_lookup_rids, flags is not a flags but an array size. W2k3 ↵ | Volker Lendecke | 2005-02-20 | 5 | -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 Lendecke | 2005-02-20 | 3 | -14/+32 | |
| | | | | | | Thanks, Volker | |||||
* | r5467: Optimize _samr_query_groupmem with LDAP backend for large domains. | Volker Lendecke | 2005-02-20 | 4 | -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 Carter | 2005-02-19 | 1 | -1/+1 | |
| | | | | trunction of service names | |||||
* | r5460: Fix "restrict anonymous = 1". If we have schannel connection, we must be | Jim McDonough | 2005-02-19 | 1 | -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 McDonough | 2005-02-19 | 1 | -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 McDonough | 2005-02-19 | 1 | -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 Bartlett | 2005-02-19 | 1 | -4/+2 | |
| | | | | | | | | before trying the alternate format). This only caused confusion and bug reports... Andrew Bartlett | |||||
* | r5436: small merges from trunk | Gerald Carter | 2005-02-17 | 1 | -5/+5 | |
| | ||||||
* | r5432: compile fixes from Jason Mader <jason@ncac.gwu.edu> -- BUGS 2340 | Gerald Carter | 2005-02-17 | 1 | -3/+3 | |
| | ||||||
* | r5431: couple of cimpile fixes from Jason Mader <jason@ncac.gwu.edu> -- BUGS ↵ | Gerald Carter | 2005-02-17 | 2 | -10/+16 | |
| | | | | 2341 & 2342 | |||||
* | r5428: Apply some const. LDAP attribs should now be declared const char ↵ | Volker Lendecke | 2005-02-17 | 5 | -37/+38 | |
| | | | | | | | | *attr[]. This gives some new warnings in smbldap.c, but a the callers are cleaned up. Volker | |||||
* | r5421: Fix a memleak | Volker Lendecke | 2005-02-16 | 1 | -1/+3 | |
| | ||||||
* | r5419: Fix some unitialized variable warnings | Volker Lendecke | 2005-02-16 | 1 | -3/+3 | |
| | ||||||
* | r5385: when operating in security = domain, allow domain admins to manage ↵ | Gerald Carter | 2005-02-14 | 1 | -1/+13 | |
| | | | | rigths assignments | |||||
* | r5383: add missing checks to allow root to manage user rights | Gerald Carter | 2005-02-14 | 1 | -2/+12 | |
| | ||||||
* | r5379: Build-Fix (#2343) | Günther Deschner | 2005-02-13 | 1 | -1/+1 | |
| | | | | Guenther | |||||
* | r5359: BUG 2333: use the lpq command to pass in the correct printer name for ↵ | Gerald Carter | 2005-02-12 | 2 | -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 Allison | 2005-02-12 | 1 | -2/+148 | |
| | | | | Jeremy. | |||||
* | r5349: After talking with Jerry, reverted the addition of account policies to | Günther Deschner | 2005-02-12 | 15 | -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 Allison | 2005-02-11 | 2 | -18/+10 | |
| | | | | | | values. Jeremy. | |||||
* | r5342: Reformat some very old code. | Jeremy Allison | 2005-02-11 | 1 | -256/+281 | |
| | | | | Jeremy. | |||||
* | r5339: Fix 'net rpc trustdom establish'. Use the right pipe name, therefore the | Jim McDonough | 2005-02-11 | 1 | -1/+1 | |
| | | | | right pipe FID. Fixes NT_STATUS_INVALID_HANDLE error. |