summaryrefslogtreecommitdiffstats
path: root/source
Commit message (Collapse)AuthorAgeFilesLines
...
| * This is how combination of domain logons and security parameter best combine.Simo Sorce2003-03-111-3/+3
| | | | | | | | | | | | | | Comments wellcome. Simo.
| * Remove valgrind_strlen function, hopefully no longer needed withMartin Pool2003-03-113-23/+0
| | | | | | | | recent Valgrind relases and clashing with -DVALGRIND.
| * Note about using Valgrind with tdbs.Martin Pool2003-03-111-0/+21
| |
| * having sticky create times is not a bugAndrew Tridgell2003-03-111-1/+0
| |
| * fixed the MANGLE smbtorture test with the new paranoid string codeAndrew Tridgell2003-03-111-1/+1
| |
| * make sure we have an empty directory when we start the utable testAndrew Tridgell2003-03-111-1/+5
| |
| * If using --enable-developer and valgrind.h is present, define VALGRIND.Martin Pool2003-03-111-0/+8
| |
| * 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.
| * Remove obsolete file.Tim Potter2003-03-111-13/+0
| |
| * 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"
| * Some conversion to pstrcpy_base.Volker Lendecke2003-03-101-6/+6
| | | | | | | | Volker
| * check a pointer before dereferencing it; not sure why userdata == NULL thoughGerald Carter2003-03-101-1/+1
| |
| * Don't segfault on make_server_info_guest() failure - instead return theAndrew Bartlett2003-03-101-4/+2
| | | | | | | | | | | | | | | | | | error code. make_server_info_guest() requires an entry in the SAM at the moment, but this will change before release. Andrew Bartlett
| * Use "$@" to preserve shell quoting in case somebody passes an escapedMartin Pool2003-03-101-1/+1
| | | | | | | | string as a configure parameter.
| * fixed use_oplocks and the timeout in smbtorture startupAndrew Tridgell2003-03-101-6/+16
| |
| * added -i option for ignoring dot errors in masktestAndrew Tridgell2003-03-101-2/+9
| |
| * Makefile.in for NTLMSSP singing updateAndrew Bartlett2003-03-101-1/+1
| |
| * Further work on NTLMSSP-based SMB signing. Current status is that I cannnotAndrew Bartlett2003-03-105-48/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | get Win2k to send a valid signiture in it's session setup reply - which it will give to win2k clients. So, I need to look at becoming 'more like MS', but for now I'll get this code into the tree. It's actually based on the TNG cli_pipe_ntlmssp.c, as it was slightly easier to understand than our own (but only the utility functions remain in any way intact...). This includes the mysical 'NTLM2' code - I have no idea if it actually works. (I couldn't get TNG to use it for its pipes either). Andrew Bartlett
| * Clobber strings with 0xf1f1f1f1 before writing to them to check bufferMartin Pool2003-03-101-8/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | lengths are correct. Attempts to pstrcpy into an fstring or allocated string should fail in developer builds. This builds on abartlet's earlier overflow probe for safe_strcpy, but by clobbering the whole string with a nonzero value is more likely to find overflows on the stack. This is only used in -DDEVELOPER mode. Reviewed by abartlet, tpot.
| * Include valgrind.h if present on the system.Martin Pool2003-03-101-0/+5
| |
| * Check for valgrind.hMartin Pool2003-03-101-0/+1
| |
| * Try not to clobber the session request.Andrew Bartlett2003-03-091-3/+15
| |
| * Change the way we sign SMB packets, to a function pointer interface.Andrew Bartlett2003-03-096-153/+346
| | | | | | | | | | | | | | | | The intention is to allow for NTLMSSP and kerberos signing of packets, but for now it's just what I call 'simple' signing. (aka SMB signing per the SNIA spec) Andrew Bartlett
| * Don't fault on error returns (ptr == 0) for this LSA query.Andrew Bartlett2003-03-091-10/+13
| | | | | | | | | | | | (for example, query to non-dc) Andrew Bartlett
| * This is C, not C++Andrew Bartlett2003-03-081-4/+4
| |
| * more on idmapSimo Sorce2003-03-083-78/+207
| | | | | | | | | | | | | | | | two layers structure with - local tdb cache - remote idmap repository compiles
| * Testparm needs the extra arg to set_local_machine_name() too.Andrew Bartlett2003-03-081-1/+1
| |
| * Make sure that the 'remote' machine name can only be set once. For some weirdAndrew Bartlett2003-03-088-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 Bartlett2003-03-081-2/+2
| |
| * Fix typo in earlier fix, caught by Ranjit @ HP.Jeremy Allison2003-03-081-1/+1
| | | | | | | | Jeremy.
| * some more codeSimo Sorce2003-03-084-0/+474
| | | | | | | | (not tested yet)
| * initial work for the new idmpa interfaceSimo Sorce2003-03-072-0/+194
| |
| * Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.Jeremy Allison2003-03-073-3/+3
| | | | | | | | Jeremy.
| * Add early prototype of cifs mount helper for LinuxSteve French2003-03-071-0/+389
| |
| * Missed parentheses around complex logic.Jeremy Allison2003-03-071-1/+2
| | | | | | | | Jeremy.
| * Patch from Michael Steffens. In his own words :Jeremy Allison2003-03-071-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 tdbsam2Simo Sorce2003-03-0710-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 codeAndrew Bartlett2003-03-071-0/+5
| | | | | | | | for name->sid.
| * safe_strcpy() -> fstrcpy() fix, and a cleanup to how rpcclient calls theAndrew Bartlett2003-03-072-9/+4
| | | | | | | | IP address resolving code.
| * 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
| |
| * Make smbtorture use the same cli_full_connection() framework as the rest ofAndrew Bartlett2003-03-064-865/+842
| | | | | | | | | | | | Samba. This fixes things like not doing *SMBSERVER etc. Andrew Bartlett
| * more off-by-one safe_strcpy()Andrew Bartlett2003-03-061-3/+3
| |
| * More safe_strcpy() off-by-one bug fixes. (mostly moves to pstrcpy()/fstrcpy())Andrew Bartlett2003-03-064-30/+30
| | | | | | | | Andrew Bartlett
| * FIXME about crash on failure case.Martin Pool2003-03-061-2/+5
| |
| * Add *SMBSERVER fallback code to smbtorture ...Richard Sharpe2003-03-051-3/+17
| |
| * Add code to allow us to specify the port to connect on when performingRichard Sharpe2003-03-051-6/+14
| | | | | | | | a test ...
| * Use new configure test to turn on this automated test for correct stringAndrew Bartlett2003-03-051-1/+1
| | | | | | | | | | | | function usage. Andrew Bartlett
| * A couple more fixes for fstrcpy() into a malloced region. In this case it'sAndrew Bartlett2003-03-052-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