Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2008-12-31 | Fix typo found by Volker. Thanks for the review. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2008-12-31 | Fix all warnings in source3 with gcc4.3. | Jeremy Allison | 16 | -53/+168 | |
Jeremy. | |||||
2008-12-31 | Fix more asprintf and "ignoring return code" warnings from gcc 4.3. | Jeremy Allison | 5 | -58/+103 | |
Jeremy. | |||||
2008-12-31 | Replace a static variable and alarm() calls by using sys_select() | Volker Lendecke | 1 | -23/+24 | |
Günther, please check! | |||||
2008-12-31 | Fix some nonempty blank lines | Volker Lendecke | 1 | -5/+5 | |
2008-12-31 | Make a CONST_DISCARD unnecessary by applying some const | Volker Lendecke | 1 | -3/+2 | |
Derrell, please check! | |||||
2008-12-31 | Replace "goto again" by "return NT_STATUS_RETRY" in receive_message_or_smb | Volker Lendecke | 1 | -11/+13 | |
This gives lower-level routines the chance to indicate a retry condition | |||||
2008-12-31 | Disable the use of splice(2) | Volker Lendecke | 1 | -1/+1 | |
On a debian lenny installation with a kernel that calls itself 2.6.28, I could repeatably block smbd using splice. According to the output of netstat, the recvq of the TCP connection was full and at the same time according to strace smbd was stuck in a splice syscall trying to read from that TCP connection. We can not protect ourselves from this condition, as nobody will ever notify us that something is broken. So sadly we can't use splice yet at all. Maybe in 2.6.29... | |||||
2008-12-31 | Try to fix recvfile using splice on Linux | Volker Lendecke | 1 | -21/+36 | |
According to the splice(2) manpage, one of the file descriptors *must* be a pipe. With this patch I could successfully run splice(2) on a debian lenny installation. Jeremy, please check! | |||||
2008-12-31 | Fix a "nested extern" warning | Volker Lendecke | 1 | -1/+1 | |
2008-12-31 | Rename parent_dirname_talloc() to parent_dirname() | Volker Lendecke | 12 | -34/+17 | |
2008-12-31 | Remove unused function parent_dirname | Volker Lendecke | 2 | -14/+0 | |
2008-12-31 | Use parent_dirname_talloc instead of parent_dirname in smb_unix_mknod | Volker Lendecke | 1 | -3/+7 | |
2008-12-31 | Use parent_dirname_talloc instead of parent_dirname in copy_internals | Volker Lendecke | 1 | -2/+6 | |
2008-12-31 | Use parent_dirname_talloc instead of parent_dirname in vfswrap_mkdir | Volker Lendecke | 1 | -1/+6 | |
2008-12-31 | Make use of TALLOC_MEMDUP in parent_dirname_talloc() | Volker Lendecke | 1 | -2/+1 | |
2008-12-31 | Remove unused function get_numlist() | Volker Lendecke | 2 | -52/+0 | |
2008-12-31 | recvfile can't be used for printing so far | Volker Lendecke | 1 | -0/+4 | |
2008-12-31 | s3:winbindd: we don't need to call messaging_reinit() twice | Stefan Metzmacher | 1 | -7/+0 | |
reinit_after_fork() already calls messaging_reinit() metze | |||||
2008-12-31 | Enable individual smbtorture_s3 subtests in make test | Volker Lendecke | 1 | -0/+4 | |
2008-12-31 | Fix an ancient uninitialized variable read | Volker Lendecke | 4 | -8/+10 | |
The callers of open_file_ntcreate expect *psbuf to be filled correctly | |||||
2008-12-30 | s3 build: Revert previous patch to fix the build | Tim Prouty | 1 | -3/+101 | |
888524623d179ceb4d540f5ac0f3b013d3ce5735 broke the build. I'm reverting it for the short term, while I work on a better fix. | |||||
2008-12-30 | Fix more "ignore return value" warnings from gcc 4.3. | Jeremy Allison | 4 | -15/+31 | |
Jeremy | |||||
2008-12-30 | librpc: Re-run make idl-full from source3 | Tim Prouty | 3 | -9/+9 | |
2008-12-30 | pidl: Fix a const build warning in the samba3 merged build | Tim Prouty | 1 | -1/+1 | |
The warning: ../librpc/gen_ndr/ndr_spoolss.c: In function ‘ndr_pull_spoolss_EnumPrinterData’: ../librpc/gen_ndr/ndr_spoolss.c:14792: warning: passing argument 1 of ‘memset’ discards qualifiers from pointer target type In some case the pidl generated code needs to memset a const struct field. This causes the above warning. This patch discardeds the const in this case. I'm open to a more elegant fix, but this eliminates the warning and should be relatively safe. | |||||
2008-12-30 | s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 and s4 | Tim Prouty | 2 | -2/+2 | |
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 | s4: simplify some overly-complicated logic | Tim Prouty | 1 | -1/+1 | |
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-30 | lib/tevent: fix standalone make distclean realdistclean | Stefan Metzmacher | 1 | -2/+2 | |
Bug report by Brad Hards <bradh@frogmouth.net>. metze | |||||
2008-12-29 | pidl: don't generate invalid C code | Stefan Metzmacher | 1 | -1/+3 | |
When we don't know how to handle a type for the python bindings, we should not generate invalid C code. Jelmer: please fix do the full fix for this. 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 | s4:cluster: fix dependency to TDB_WRAP | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2008-12-29 | s4:lib/tevent: rename structs | Stefan Metzmacher | 211 | -684/+681 | |
list="" list="$list event_context:tevent_context" list="$list fd_event:tevent_fd" list="$list timed_event:tevent_timer" for s in $list; do o=`echo $s | cut -d ':' -f1` n=`echo $s | cut -d ':' -f2` r=`git grep "struct $o" |cut -d ':' -f1 |sort -u` files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4` for f in $files; do cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp mv $f.tmp $f done done metze | |||||
2008-12-29 | s4:pvfs_aio: use tevent | Stefan Metzmacher | 2 | -12/+12 | |
metze | |||||
2008-12-29 | s4:sys_lease_linux: use tevent | Stefan Metzmacher | 2 | -8/+8 | |
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. |