Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-12-30 | s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 and s4 | Tim Prouty | 1 | -2/+0 | |
2008-12-30 | s3 build: Remove redundant #defines that are in idl generated headers | Tim Prouty | 1 | -101/+3 | |
This fixes a series of samba3 build warnings in the merged build: 'error: "X" redefined', where X is one of the redundant #defines | |||||
2008-12-30 | s3 build: Fix warning | Tim Prouty | 1 | -0/+2 | |
2008-12-30 | s3:cluster: register the client connection via CTDB_CONTROL_TCP_ADD | Stefan Metzmacher | 4 | -13/+27 | |
This means we correctly pass IPv6 addresses too. (CTDB_CONTROL_TCP_CLIENT was IPv4 only) metze | |||||
2008-12-30 | Fix a memory leak in cups_pull_comment_location | Volker Lendecke | 1 | -0/+4 | |
We allocated "request" with ippNew, so we also should ippDelete it. | |||||
2008-12-30 | Fix a spinning smbd when printing | Volker Lendecke | 1 | -1/+1 | |
Without this, we end up adding more than one timed event. In the event handler print_notify_event_send_messages() only one event will be deleted, all others will fire indefinitely. | |||||
2008-12-30 | Print the vuid in BENCH-SESSSETUP | Volker Lendecke | 1 | -0/+2 | |
2008-12-30 | Second part of the bugfix for #5933 | Volker Lendecke | 1 | -7/+13 | |
Incrementing the next vuid did not correctly overflow Now we survive BENCH-SESSSETUP with -o 100000. Takes a while though :-) Thanks a lot to Ofer Tal <otsmb@shmoop.org> for reporting #5933 | |||||
2008-12-30 | First part of bugfix for #5933 | Volker Lendecke | 1 | -3/+0 | |
Ofer Tal <otsmb@shmoop.org> fully correctly noted that we're incrementing num_validated_vuids twice per session setup, but decrement it only once. Looking at sesssetup.c we always call register_initial_vuid() before register_existing_vuid(), so there's no point in incrementing it in register_existing_vuid(). Jeremy, please check! | |||||
2008-12-30 | Move a comment to its place | Volker Lendecke | 1 | -5/+5 | |
2008-12-30 | Simplify invalidate_vuid slightly | Volker Lendecke | 1 | -4/+0 | |
get_valid_user_struct_internal() checks for UID_FIELD_INVALID itself | |||||
2008-12-30 | Simplify is_partial_auth_vuid slightly | Volker Lendecke | 1 | -5/+1 | |
2008-12-30 | Simplify invalidate_all_vuids() slightly | Volker Lendecke | 1 | -5/+2 | |
invalidate_vuid takes care of removing the user_struct from validated_users | |||||
2008-12-30 | Fix the merged build | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2008-12-29 | s3:pdb_tdb: store the next rid counter in passdb.tdb instead of ↵ | Stefan Metzmacher | 1 | -75/+47 | |
winbind_idmap.tdb This upgrades the TDBSAM_VERSION to 4 and SAMU_BUFFER_V4. metze | |||||
2008-12-29 | s3:passdb: add SAMU_BUFFER_V4 with no changes | Stefan Metzmacher | 2 | -2/+19 | |
The upgrade is required because of the followin TDBSAM_VERSION upgrade. metze | |||||
2008-12-29 | s3:passdb: make marshalling struct samu from and to a buffer more generic | Stefan Metzmacher | 4 | -667/+679 | |
This marshalling isn't specific to tdbsam and it's ugly to have the related functions in two different files. metze | |||||
2008-12-29 | Fix SESSSETUP_BENCH torture test for long runtimes | Volker Lendecke | 1 | -6/+9 | |
deadtime hits without any files open. To enable long runtimes, open a file with delete_on_close set. | |||||
2008-12-29 | s4:cluster: remove old/broken ctdb code | Stefan Metzmacher | 1 | -1/+0 | |
We don't need a full copy of ctdb... If we want to readd cluster support, we should just use a ctdb client library. metze | |||||
2008-12-29 | s4: remove unused dbwrap code | Stefan Metzmacher | 1 | -1/+0 | |
If we readd this later, we should share the code with samba3 and make it async/non-blocking. metze | |||||
2008-12-29 | Add code to test write_data_iov a bit | Volker Lendecke | 1 | -0/+11 | |
2008-12-29 | Attempt to fix bug 5953: Make cli_send_smb_direct_writeX use writev | Volker Lendecke | 1 | -27/+13 | |
It seems there are SMB servers around which can't cope with the write header being sent in a packet of its own. With writev we keep the advantage of direct writes, giving the kernel the chance to coalesce the write calls. | |||||
2008-12-29 | Make write_data use write_data_iov | Volker Lendecke | 1 | -24/+24 | |
2008-12-29 | Add write_data_iov | Volker Lendecke | 2 | -0/+70 | |
2008-12-29 | Add sys_writev | Volker Lendecke | 2 | -0/+15 | |
2008-12-29 | s3:dbwrap: fix dbwrap_store_uint32() to match dbwrap_store_int32() | Stefan Metzmacher | 2 | -3/+3 | |
All callers expect 0 an success and -1 on error. metze | |||||
2008-12-28 | Add -D option to sharesec util to delete the entire security descriptor. | Steven Danneman | 1 | -8/+23 | |
* also modified --usage descriptions to be more accurate | |||||
2008-12-28 | Change error messages in sharesec util to go to stderr instead of stdout | Steven Danneman | 1 | -10/+10 | |
2008-12-28 | Make sure share_info.tdb is open before attempting to delete an entry | Steven Danneman | 1 | -2/+6 | |
2008-12-28 | Make sharesec utility part of the default binary install. | Steven Danneman | 1 | -2/+2 | |
2008-12-28 | Cleaned up whitespace issues in sharesec.c | Steven Danneman | 1 | -35/+39 | |
2008-12-28 | Fix Samba 3 merged build - include tevent. | Jelmer Vernooij | 1 | -0/+11 | |
2008-12-26 | Try to fix the build by fixing some typos in the vfs code | Kai Blin | 1 | -3/+3 | |
2008-12-25 | Fix bug #5990 - strict allocate should be checked before ftruncate | Jeremy Allison | 1 | -0/+14 | |
reported by and based on a patch by Yasuma Takeda <yasuma@osstech.co.jp>. Jeremy. | |||||
2008-12-25 | s3:idmap: Remove passd check from idmap_backends_unixid_to_sid(). | Michael Adam | 1 | -9/+0 | |
As noted by Metzy, it makes no sense here to check id->sid. What is worse, this might even be passed in uninitialized. This still fixes the bug for me (of course), but we might need to check, if another special handling of passdb is needed (possibly changing from constant return code NT_STATUS_OK...) Michael Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2008-12-25 | s:Fix uid_to_sid mapping when the idmap cache is empty. | Michael Adam | 1 | -8/+7 | |
This failed for backends other than passed, since idmap_backends_unixid_to_sid() always asked passdb first, which returned Success no matter whether a mapping was found or not. One effect wast that getpwuid failed after "net cache flush". Only after filling the cache with a getpwnam call it succeeded. This fix makes the behaviour of idmap_backends_unixid_to_sid() exactly the same as that of idmap_backends_sid_to_unixid() Michael Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2008-12-23 | Fix use of "time offset" parameter, and add test to make sure I don't break ↵ | Jelmer Vernooij | 2 | -4/+0 | |
it again :-) | |||||
2008-12-23 | Fix more asprintf warnings and some error path errors. | Jeremy Allison | 7 | -30/+44 | |
Jeremy. | |||||
2008-12-23 | More asprintf warning fixes. | Jeremy Allison | 3 | -8/+28 | |
Jeremy. | |||||
2008-12-23 | More asprintf warning fixes. | Jeremy Allison | 2 | -13/+21 | |
Jeremy. | |||||
2008-12-23 | Fix more asprintf errors and error code paths. | Jeremy Allison | 3 | -12/+36 | |
Jeremy. | |||||
2008-12-23 | Fix more ‘asprintf’, declared with attribute warn_unused_result. | Jeremy Allison | 2 | -11/+18 | |
Jeremy. | |||||
2008-12-23 | Fix more "warning: ignoring return value of ‘asprintf’, declared with | Jeremy Allison | 1 | -23/+62 | |
attribute warn_unused_result" Jeremy. | |||||
2008-12-23 | Fix another "format not a string literal and no format arguments" warning. | Jeremy Allison | 1 | -2/+5 | |
Jeremy | |||||
2008-12-23 | s3: Fix stream marshalling to return the correct streaminfo status | Tim Prouty | 1 | -10/+1 | |
When there are enough streams on a file to fill up the max_data_count when responding to a trans2 streaminfo, samba is returning NT_STATUS_BUFFER_TOO_SMALL. Windows handles this by returning NT_STATUS_BUFFER_OVERFLOW while still sending as much of the data that it can fit into the buffer. When the windows client sees BUFFER_OVERFLOW, it retries the streaminfo with a larger buffer (2x). The windows client starts at 2K and will continue increasing the buffer size by two until it reaches 64K. If the streams don't fit in 64K the windows client seems to give up. This patch fixes marshall_stream_info to overfill the buffer by 1 stream so that send_trans2_replies can properly detect the overflow and return the correct status. | |||||
2008-12-22 | In gcc version 4.3.2 we get warnings for functions declared with | Jeremy Allison | 1 | -2/+1 | |
attribute warn_unused_result. Start to fix these. Jeremy. | |||||
2008-12-23 | Merge branch 'master' of ssh://git.samba.org/data/git/samba | Jelmer Vernooij | 1 | -3/+0 | |
2008-12-23 | merged build: Remove shared-build related variables, as they are already set ↵ | Jelmer Vernooij | 1 | -3/+0 | |
up correctly by the main configure. | |||||
2008-12-23 | Use make variable for Samba 4 shared library output directory. | Jelmer Vernooij | 2 | -6/+5 | |
2008-12-22 | Force symbolic links for shared library sonames to be created, | Jelmer Vernooij | 1 | -1/+1 | |
as they are required at run-time. |