Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add Q&A for people having trouble trying to log in without a proper | Jelmer Vernooij | 2003-03-08 | 1 | -0/+14 | |
| | | | | samba user database. | |||||
* | Add notes on increasing performance on AIX, based on an email from William Jojo | Jelmer Vernooij | 2003-03-08 | 1 | -0/+12 | |
| | ||||||
* | Testparm needs the extra arg to set_local_machine_name() too. | Andrew Bartlett | 2003-03-08 | 1 | -1/+1 | |
| | ||||||
* | Make sure that the 'remote' machine name can only be set once. For some weird | Andrew Bartlett | 2003-03-08 | 8 | -19/+39 | |
| | | | | | | | | | | | | reason, during a Win2003 installation, when you select 'domain join' it sends one machine name in the name exchange, and litraly 'machinename' during the NTLMSSP login. Also fix up winbindd's logfile handling, so that it matches smbd and nmbd. (This helps me, by seperating the logs by pid). Andrew Bartlett | |||||
* | Make it clear that this is a fstrcpy(). | Andrew Bartlett | 2003-03-08 | 1 | -2/+2 | |
| | ||||||
* | Fix typo in earlier fix, caught by Ranjit @ HP. | Jeremy Allison | 2003-03-08 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | some more code | Simo Sorce | 2003-03-08 | 4 | -0/+474 | |
| | | | | (not tested yet) | |||||
* | initial work for the new idmpa interface | Simo Sorce | 2003-03-07 | 2 | -0/+194 | |
| | ||||||
* | Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out. | Jeremy Allison | 2003-03-07 | 3 | -3/+3 | |
| | | | | Jeremy. | |||||
* | Add early prototype of cifs mount helper for Linux | Steve French | 2003-03-07 | 1 | -0/+389 | |
| | ||||||
* | Missed parentheses around complex logic. | Jeremy Allison | 2003-03-07 | 1 | -1/+2 | |
| | | | | Jeremy. | |||||
* | Patch from Michael Steffens. In his own words : | Jeremy Allison | 2003-03-07 | 1 | -78/+199 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------------------- 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. | |||||
* | Some progress towards gums and tdbsam2 | Simo Sorce | 2003-03-07 | 10 | -286/+1166 | |
| | | | | genparser works fine, and it is a marvelous tool to store objects in tdb :) | |||||
* | Limit the number of SIDs that may be looked up, in line with existing code | Andrew Bartlett | 2003-03-07 | 1 | -0/+5 | |
| | | | | for name->sid. | |||||
* | safe_strcpy() -> fstrcpy() fix, and a cleanup to how rpcclient calls the | Andrew Bartlett | 2003-03-07 | 2 | -9/+4 | |
| | | | | IP address resolving code. | |||||
* | Fix noticed by Corny.Bondad@hp.com. Ensure we free up memory on error exit. | Jeremy Allison | 2003-03-07 | 1 | -0/+3 | |
| | | | | Jeremy. | |||||
* | Found at Connectathon, .NET RC1 arranges trans/trans2/nttrans parameters | Jeremy Allison | 2003-03-07 | 3 | -69/+227 | |
| | | | | | differently to W2K, cope with this. Jeremy. | |||||
* | Add documentation on line returned by 'add printer command' script | Jelmer Vernooij | 2003-03-06 | 1 | -1/+7 | |
| | ||||||
* | Redirect to printer docs for removed options | Jelmer Vernooij | 2003-03-06 | 1 | -0/+3 | |
| | ||||||
* | add #define for the max device name length in a DEVICEMODE | Gerald Carter | 2003-03-06 | 3 | -2/+4 | |
| | ||||||
* | Make smbtorture use the same cli_full_connection() framework as the rest of | Andrew Bartlett | 2003-03-06 | 4 | -865/+842 | |
| | | | | | | Samba. This fixes things like not doing *SMBSERVER etc. Andrew Bartlett | |||||
* | more off-by-one safe_strcpy() | Andrew Bartlett | 2003-03-06 | 1 | -3/+3 | |
| | ||||||
* | More safe_strcpy() off-by-one bug fixes. (mostly moves to pstrcpy()/fstrcpy()) | Andrew Bartlett | 2003-03-06 | 4 | -30/+30 | |
| | | | | Andrew Bartlett | |||||
* | FIXME about crash on failure case. | Martin Pool | 2003-03-06 | 1 | -2/+5 | |
| | ||||||
* | Add *SMBSERVER fallback code to smbtorture ... | Richard Sharpe | 2003-03-05 | 1 | -3/+17 | |
| | ||||||
* | Add code to allow us to specify the port to connect on when performing | Richard Sharpe | 2003-03-05 | 1 | -6/+14 | |
| | | | | a test ... | |||||
* | Use new configure test to turn on this automated test for correct string | Andrew Bartlett | 2003-03-05 | 1 | -1/+1 | |
| | | | | | | function usage. Andrew Bartlett | |||||
* | A couple more fixes for fstrcpy() into a malloced region. In this case it's | Andrew Bartlett | 2003-03-05 | 2 | -5/+5 | |
| | | | | | | | all perfectly legit - the region is an fstring in length, but might not always be, and it is the last peice of code to fail my automated test. Andrew Bartlett | |||||
* | Add a test for a useful property of the compiler - we can get link-time | Andrew Bartlett | 2003-03-05 | 1 | -0/+18 | |
| | | | | | | failures for some compile-time properties this way. Andrew Bartlett | |||||
* | also ignore the autom4te-2.53.cache | Andrew Bartlett | 2003-03-05 | 1 | -1/+1 | |
| | ||||||
* | This file has not been maintained for a while - if we really want this | Andrew Bartlett | 2003-03-05 | 1 | -3/+0 | |
| | | | | | | | behaviour we should seperate -g from --enable-developer, and allow developers to also select --enable-debug if they want. Andrew Bartlett | |||||
* | lp_string: Add note about dodgy StrnCpy use. | Martin Pool | 2003-03-05 | 1 | -0/+3 | |
| | ||||||
* | Use PRINTER_ALL_ACCESS instead of MAXIMUM_ALLOWED_ACCESS in setprinter | Tim Potter | 2003-03-05 | 1 | -1/+1 | |
| | | | | command. From Ronan Waide <waider@waider.ie>. | |||||
* | More const fixes. | Jeremy Allison | 2003-03-05 | 2 | -3/+3 | |
| | | | | Jeremy. | |||||
* | Writable string const fixes. | Jeremy Allison | 2003-03-05 | 3 | -8/+14 | |
| | | | | Jeremy. | |||||
* | Connectathon fix. W2K -> W2K over port 445 doing a tconX does the full | Jeremy Allison | 2003-03-05 | 1 | -7/+2 | |
| | | | | | | \\server\share syntax, not just a "share" tconX syntax. This broke interop with a vendor. Jeremy. | |||||
* | Fix another 'off by one' bug with safe_strcpy(). It is unclear if the intent | Andrew Bartlett | 2003-03-04 | 1 | -2/+2 | |
| | | | | | | | | | was to limit the string to 31 or 32 characters (excluding the null term), so I've assumed for now that 32 is fine, as this matches current behaviour (well, current behaviour would crash, but anyway...) Jerry: Can you look at this for me? Andrew Bartlett | |||||
* | Another pstrcpy() into malloc()ed buffer fix. | Andrew Bartlett | 2003-03-03 | 1 | -2/+2 | |
| | | | | Andrew Bartlett | |||||
* | Const warning fixes. | Jeremy Allison | 2003-03-03 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | dlsym takes a const char *. | Jeremy Allison | 2003-03-03 | 1 | -1/+1 | |
| | | | | Jeremy. | |||||
* | Fix "might be used uninitialised" warnings. | Jeremy Allison | 2003-03-03 | 1 | -2/+2 | |
| | | | | Jeremy. | |||||
* | Do my janitorial duties to encourage others to do so. | Richard Sharpe | 2003-03-03 | 2 | -7/+8 | |
| | | | | Fix lingering large offset problems in smbtar etc. | |||||
* | * always report ourselves as a Windows 2000 print server (even | Gerald Carter | 2003-03-03 | 1 | -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 something | Gerald Carter | 2003-03-03 | 2 | -2/+14 | |
| | | | | | | | | | 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 | |||||
* | Try the PASSWD environment variable if we don't have one from the command line. | Andrew Bartlett | 2003-03-03 | 1 | -0/+4 | |
| | ||||||
* | Fixes to the vfs_fake_perms modules - we only need to specify the VFS | Andrew Bartlett | 2003-03-03 | 1 | -211/+29 | |
| | | | | | | | | functions that we actually modify. Also a better implementation of the stat() and fstat() functions. Andrew Bartlett | |||||
* | Add const | Andrew Bartlett | 2003-03-03 | 1 | -1/+1 | |
| | ||||||
* | i forgot to commit the privilege db init call | Andrew Tridgell | 2003-03-01 | 1 | -0/+4 | |
| | ||||||
* | Added limit to number of jobs enumerated. Set to 0 (means no limit). | Jeremy Allison | 2003-03-01 | 2 | -0/+10 | |
| | | | | | Yes I will add the docs.... Jeremy. | |||||
* | the new DEVELOPER checks for string overflows have (as expected) | Andrew Tridgell | 2003-03-01 | 2 | -3/+12 | |
| | | | | | | broken a lot of stuff. These two macros are meant to make life easier when fixing these bugs. I'm guessing we will see more macros like this (eg. fstrcpy_base) |