summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge from HEAD. 'win2000 can take much longer than the specified time to ↵Jeremy Allison2003-03-131-1/+1
| | | | | | | | | | | | | | | | respond to a lock - so to make the torture tests valid I give it a grace time of 10 seconds instead of 2' Jeremy.
* | Merge from HEAD. 'fixed the unmarshalling of the queryaliasmem SAMR call'Jeremy Allison2003-03-131-2/+6
| | | | | | | | Jeremy.
* | Merge of tdb_unlockeys() crash fix.Tim Potter2003-03-131-0/+2
| |
* | Merge of added locking functions from HEAD.Tim Potter2003-03-131-1/+81
| |
* | Merge of some commentary for getprinter info levels supported by win2k+Tim Potter2003-03-131-0/+16
| |
* | In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,Martin Pool2003-03-131-0/+4
| | | | | | | | | | etc. So check for that as well as the old names when including macros and conditionally defining -DVALGRIND.
* | Change size parameters from signed to unsigned to fix up warnings.Jeremy Allison2003-03-135-96/+191
| | | | | | | | Jeremy.
* | Merge of Andrew Bartlett's SID limit fix from HEAD.Jeremy Allison2003-03-131-0/+5
| | | | | | | | Jeremy.
* | fixed a strcat noticed by metzeAndrew Tridgell2003-03-121-1/+1
| |
* | Ensure we count the length correctly in mangle_map.Jeremy Allison2003-03-121-6/+15
| | | | | | | | Jeremy.
* | adding some initiaial code to sert %a to Win2K3 (using Native LanMan string ↵Gerald Carter2003-03-123-1/+6
| | | | | | | | from .NET RC2)
* | We use unsigned now, so use %u.Jeremy Allison2003-03-111-1/+1
| | | | | | | | Jeremy.
* | Fix up zero termination. Spotted by Sebastian Krahmer <krahmer@suse.de>.Jeremy Allison2003-03-111-1/+2
| | | | | | | | Jeremy.
* | When opening an existing DB, don't require the hash_size specified toMartin Pool2003-03-111-2/+1
| | | | | | | | | | | | | | | | the open call to be the same as that of the existing tdb. The specified hash_size is only used if the tdb needs to be (re)created. With this patch in place, tdbtool can open the printing tdbs, which are created with a hash_size of 5000. Before it would fail with EIO.
* | Patch from Ronan Waide:Martin Pool2003-03-111-1/+1
| | | | | | | | | | > when doing "enumdomusers", rpcclient prints each one preceded by the > word "group" instead of "user"
* | Remove obsolete file.Tim Potter2003-03-111-13/+0
| |
* | strcpy_base from HEAD and trivial fix for smbclient -LVolker Lendecke2003-03-102-8/+17
| | | | | | | | Volker
* | check a pointer before dereferencing it; not sure why userdata == NULL thoughGerald Carter2003-03-101-1/+1
| |
* | Use "$@" to preserve shell quoting in case somebody passes an escapedMartin Pool2003-03-101-1/+1
| | | | | | | | string as a configure parameter.
* | Fix typo in earlier fix, caught by Ranjit @ HP.Jeremy Allison2003-03-081-1/+1
| | | | | | | | Jeremy.
* | Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.Jeremy Allison2003-03-073-3/+3
| | | | | | | | Jeremy.
* | Extra const committed by mistake - revert.Jeremy Allison2003-03-071-1/+1
| | | | | | | | Jeremy.
* | Missed parentheses around complex logic.Jeremy Allison2003-03-071-1/+2
| | | | | | | | Jeremy.
* | Patch from Michael Steffens. In his own words :Jeremy Allison2003-03-073-82/+203
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------- I think there are basically two problem: 1. Windows clients do not always send ACEs for SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ, and SMB_ACL_OTHER. The function ensure_canon_entry_valid() is prepared for that, but tries to "guess" values from group or other permissions, respectively, otherwise falling back to minimum r-- for the owner. Even if the owner had full permissions before setting ACL. This is the problem with W2k clients. 2. Function set_nt_acl() always chowns *before* attempting to set POSIX ACLs. This is ok in a take-ownership situation, but must fail if the file is to be given away. This is the problem with XP clients, trying to transfer ownership of the original file to the temp file. The problem with NT4 clients (no ACEs are transferred to the temp file, thus are lost after moving the temp file to the original name) is a client problem. It simply doesn't attempt to. I have played around with that using posic_acls.c from 3.0 merged into 2.2. As a result I can now present two patches, one for each branch. They basically modify: 1. Interpret missing SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ, or SMB_ACL_OTHER as "preserve current value" instead of attempting to build one ourself. The original code is still in, but only as fallback in case current values can't be retrieved. 2. Rearrange set_nt_acl() such that chown is only done before setting ACLs if there is either no change of owning user, or change of owning user is towards the current user. Otherwise chown is done after setting ACLs. It now seems to produce reasonable results. (Well, as far as it can. If NT4 doesn't even try to transfer ACEs, only deliberate use of named default ACEs and/or "force group" or the crystal ball can help :) ------------------------------------------------------------------------- Jeremy.
* | Fix noticed by Corny.Bondad@hp.com. Ensure we free up memory on error exit.Jeremy Allison2003-03-071-0/+3
| | | | | | | | Jeremy.
* | Found at Connectathon, .NET RC1 arranges trans/trans2/nttrans parametersJeremy Allison2003-03-073-69/+227
| | | | | | | | | | differently to W2K, cope with this. Jeremy.
* | add #define for the max device name length in a DEVICEMODEGerald Carter2003-03-063-2/+4
| |
* | More const fixes.Jeremy Allison2003-03-052-3/+3
| | | | | | | | Jeremy.
* | Writable string const fixes.Jeremy Allison2003-03-052-7/+13
| | | | | | | | Jeremy.
* | Fix for little-used lpq parser.Jeremy Allison2003-03-051-1/+1
| | | | | | | | Jeremy.
* | Connectathon fix. W2K -> W2K over port 445 doing a tconX does the fullJeremy Allison2003-03-051-7/+2
| | | | | | | | | | | | \\server\share syntax, not just a "share" tconX syntax. This broke interop with a vendor. Jeremy.
* | preparing for release of 3.0alpha22Gerald Carter2003-03-041-1/+1
| |
* | More janitorial duties, fixing the BIG_UINT changes for large offsets.Richard Sharpe2003-03-032-6/+7
| |
* | Const warning fixes.Jeremy Allison2003-03-031-2/+2
| | | | | | | | Jeremy.
* | Fix const warning.Jeremy Allison2003-03-031-1/+1
| | | | | | | | Jeremy.
* | dlysym takes a const char *.Jeremy Allison2003-03-031-1/+1
| | | | | | | | Jeremy.
* | * always report ourselves as a Windows 2000 print server (evenGerald Carter2003-03-031-8/+29
| | | | | | | | | | without ADS support) * add "MinorVersion" print server data key and comment on "OSVersion"
* | * CR1868: only send a change notify message if we have somethingGerald Carter2003-03-032-4/+16
| | | | | | | | | | | | | | | | | | that changed that the client is monitoring. * couple of comments abnout how we need to validate driver names on SetPrinter() and AddPrinter() * up the debug level on some overly verbose dev mode parsing messages
* | Added limit to number of jobs enumerated. Set to 0 (means no limit).Jeremy Allison2003-03-012-0/+10
| | | | | | | | | | Yes I will add the docs.... Jeremy.
* | Ensure added jobs increment total_jobs.Jeremy Allison2003-03-011-0/+6
| | | | | | | | Jeremy.
* | Fix HTTP error codes (patch by Vance Lankhaar)Jelmer Vernooij2003-02-281-3/+3
| |
* | Remove reference to "mainpage.dox" and CodingStandards, which haveMartin Pool2003-02-281-4/+3
| | | | | | | | | | | | | | been removed. Put subdirectory names in file list, so we get lib/util_chr.c, not just util_chr.c.
* | Move net ads lookup improvements over from HEADJim McDonough2003-02-281-61/+142
| |
* | *Excellent* patch from Michael Steffens <michael_steffens@hp.com> to limitJeremy Allison2003-02-283-15/+61
| | | | | | | | | | | | | | | | | | the unix domain sockets used by winbindd (also solves FD_SETSIZE problem in winbindd to boot !). Adds a "last_access" field to winbindd connections, and will close the oldest idle connection once the number of open connections goes over WINBINDD_MAX_SIMULTANEOUS_CLIENTS (defined in local.h as 200 currently). Jeremy.
* | don't forget the NULLGerald Carter2003-02-271-3/+3
| |
* | and the winner of "i should have just written it in assemblyGerald Carter2003-02-271-3/+3
| | | | | | | | | | | | is..." don't use pstrcpy() when you are not dealing with pstrings.
* | don't pass NULL pointers to strcmp()Gerald Carter2003-02-271-2/+2
| |
* | additional fix for CR 601Gerald Carter2003-02-274-1/+25
| | | | | | | | | | | | | | * distinguish WinXP from Win2k * add a 1/3 of a second delay in OpenPrinter in order to trigger a LAN/WAN optimization in 2k clients.
* | Doxygen merge from headMartin Pool2003-02-271-5/+6
| |
* | Merge 1.100 patch from HEAD:Martin Pool2003-02-271-8/+15
| | | | | | | | | | | | init_valid_table: Fix a memory leak that would lose the dynamically-created valid table every time the configuration was reloaded.