Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-04-06 | fix a segfault in the notify subsystem | Christian Ambach | 1 | -5/+16 | |
When the notify_array cannot be loaded correctly, do not keep the half-baked parsing results in the global variable. This can lead to segfaults next time notify_load is entered and the seqnum has not changed. This has been seen in a case where mixed smbd versions were running in a CTDB cluster (versions with and w/o commit c216d1e6 that changed the notify_entry structure). There will be missed notifications until all smbds are at the same software level, but this should be acceptable and is better than crashing and interrupting client operations. This fix cleans up the notify_array, removes the unparseable data from the TDB and returns a fresh notify_array that can be worked with. The NDR_PRINT_DEBUG had to be moved to only be called when the parsing succeeded, it was seen to cause additional segfaults. The status variable is intentionally left to NT_STATUS_OK to not make callers abort and report errors to the clients and make them disconnect. Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com> | |||||
2010-04-06 | s4-waf: move to a universal method of recursing into subdirs | Andrew Tridgell | 2 | -20/+20 | |
This works with both standalone lib builds and bundled builds | |||||
2010-04-06 | s4-waf: set default for bundled libraries | Andrew Tridgell | 1 | -0/+2 | |
2010-04-06 | s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵ | Andrew Tridgell | 2 | -0/+4 | |
them | |||||
2010-04-06 | s3-waf: added options for static/shared module building | Andrew Tridgell | 1 | -0/+60 | |
Pair-Programmed-With: Kai Blin <kai@samba.org> | |||||
2010-04-06 | s3-waf: build version.h | Andrew Tridgell | 1 | -0/+2 | |
2010-04-06 | s3-waf: charsets needs to be quoted as strings in config.h | Andrew Tridgell | 1 | -6/+6 | |
Pair-Programmed-With: Kai Blin <kai@samba.org> | |||||
2010-04-06 | s3-waf: fixed tests for charsets | Andrew Tridgell | 1 | -3/+3 | |
Pair-Programmed-With: Kai | |||||
2010-04-06 | s3-waf: check for default charsets | Kai Blin | 4 | -0/+56 | |
2010-04-06 | s3-waf: use new variable expansion feature | Andrew Tridgell | 1 | -11/+3 | |
2010-04-06 | s3-waf: modulesdir is in the base set of options now | Andrew Tridgell | 1 | -1/+0 | |
2010-04-06 | s3-waf: the start of the main build for s3 | Andrew Tridgell | 1 | -0/+611 | |
2010-04-06 | s3-waf: more configure tests and minor fixes | Andrew Tridgell | 1 | -26/+60 | |
2010-04-06 | s3-waf: added build subdir for dynconfig generation | Andrew Tridgell | 3 | -0/+97 | |
2010-04-06 | build: Change checks to conform to new CHECK_* behaviour | Kai Blin | 1 | -7/+9 | |
2010-04-06 | build: Check if the compiler will optimize out functions | Kai Blin | 1 | -0/+9 | |
2010-04-06 | build: check for int types included from rpc/rpc.h | Kai Blin | 1 | -0/+16 | |
2010-04-06 | build: Check for POSIX capabilities | Kai Blin | 1 | -0/+19 | |
2010-04-06 | build: Check for various members of struct stat | Kai Blin | 1 | -0/+7 | |
2010-04-06 | build: Fix package name and package string case | Kai Blin | 1 | -2/+2 | |
2010-04-06 | build: Check for functions needed by Samba3 | Kai Blin | 1 | -0/+19 | |
2010-04-06 | build: Check for kernel share modes | Kai Blin | 1 | -0/+15 | |
2010-04-06 | build: Check for IRIX kernel oplock types | Kai Blin | 1 | -0/+5 | |
2010-04-06 | build: Check for Linux kernel oplocks | Kai Blin | 1 | -0/+13 | |
2010-04-06 | build: Check for kernel change notify support | Kai Blin | 1 | -0/+13 | |
2010-04-06 | build: check for inotify support | Kai Blin | 1 | -0/+6 | |
2010-04-06 | build: check for headers needed to generate stack traces | Kai Blin | 1 | -0/+2 | |
2010-04-06 | build: Check for krb5 headers | Kai Blin | 1 | -0/+8 | |
2010-04-06 | build: Check for LDAP libraries | Kai Blin | 1 | -0/+4 | |
2010-04-06 | build: Check for CUPS | Kai Blin | 1 | -0/+5 | |
2010-04-06 | build: Add a basic wscript file for Samba3 | Kai Blin | 1 | -0/+41 | |
2010-04-05 | Add FSCTL_QUERY_ALLOCATED_RANGES to the list of Windows ioctls we support. | Jeremy Allison | 1 | -0/+52 | |
Based on a patch reported and tested by Ira Cooper <samba@ira.wakeful.net>. Jeremy. | |||||
2010-04-05 | Fix issue with aio where r/w lock wasn't kept across aio read operations. | Jeremy Allison | 3 | -51/+110 | |
Change schedule_aio_read_and_X/schedule_aio_write_and_X to return NTSTATUS. Move the grant and release of the lock into the aio code. Jeremy | |||||
2010-04-05 | Fix related to bug #7326 - can't read/write any files with full_audit | Volker Lendecke | 1 | -2/+3 | |
2010-04-05 | s3: Fix a cut&paste error in winbindd_list_groups_done | Volker Lendecke | 1 | -1/+1 | |
2010-04-04 | s3: Fix the GNU ld version detection on SLES | Volker Lendecke | 1 | -1/+1 | |
On SLES 11 "ld -v" gives GNU ld (GNU Binutils; SUSE Linux Enterprise 11) 2.19 The regexp to intended to detect the "2.19" is confused by the "11" in the version string. I'm not really into regexps, and awk '{print $NF}' to me is a simple (and hopefully portable) way to print the last field. | |||||
2010-04-02 | s3: Fix a comment | Volker Lendecke | 1 | -1/+1 | |
2010-04-01 | Move initialize_async_io_handler() inside of smbd/aio.c. | Jeremy Allison | 3 | -38/+42 | |
Call from actual aio read or write. No reason to call this globally on startup. Jeremy. | |||||
2010-04-01 | Add torture test for bug 7310 - DOS attribute inconsistency with MS Office | Jeremy Allison | 1 | -2/+20 | |
Ensure we don't regress. Jeremy. | |||||
2010-04-01 | s3:winbindd: remove unused variables | Stefan Metzmacher | 1 | -2/+0 | |
metze | |||||
2010-04-01 | s3:winbindd: fix problems with SIGCHLD handling (bug #7317) | Stefan Metzmacher | 3 | -17/+6 | |
The main problem is that we call CatchChild() within the parent winbindd, which overwrites the signal handler that was registered by winbindd_setup_sig_chld_handler(). That means winbindd_sig_chld_handler() and winbind_child_died() are never triggered when a winbindd domain child dies. As a result will get "broken pipe" for all requests to that domain. To reduce the risk of similar bugs in future we call CatchChild() in winbindd_reinit_after_fork() now. We also use a full winbindd_reinit_after_fork() in the cache validation child now instead instead of just resetting the SIGCHLD handler by hand. This will also fix possible tdb problems on systems without pread/pwrite and disabled mmap as we now correctly reopen the tdb handle for the child. metze | |||||
2010-04-01 | s3: Ensure NULL termination before printing in winbindd_pam_logoff | Volker Lendecke | 1 | -3/+3 | |
2010-04-01 | s3: Fix a typo in winbindd_pam_logoff | Volker Lendecke | 1 | -1/+1 | |
2010-04-01 | s3:winbindd: correctly invalidate the cached connection | Stefan Metzmacher | 1 | -6/+11 | |
There're maybe additional TCP connection for ncacn_ip_tcp. metze | |||||
2010-04-01 | s3:winbindd: only set child_domain in the child | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2010-04-01 | s3:winbindd: make sure we don't try rpc requests against unaccessable domains | Stefan Metzmacher | 1 | -5/+28 | |
This makes sure we don't crash while trying to dereference domain->conn.cli->foo while trying to establish a rpc connection to the server. metze | |||||
2010-04-01 | s3: fix a typo in winbind_client_response_written | Volker Lendecke | 1 | -2/+2 | |
2010-03-31 | Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count. | Jeremy Allison | 6 | -56/+68 | |
As these always call exit_server, make that part of the function. Use _internal functions for the echo client. Metze please check ! Jeremy. | |||||
2010-03-31 | s3: Merge French translation for pam_winbind after review | Christian PERRIER | 1 | -14/+17 | |
- some wording improvements ("user" is not "usager" but "utilisateur" - gender neutrality changes: by rewording: ("vous n'êtes pas autorisé" --> "vous n'avez pas l'autorisation") - bad translation corrections: "valide"-->"valable" (a very common false friend) - and several changes we consider to be improvements, mostly because they are common wording in computing translations in French Signed-off-by: Lars Müller <lars@samba.org> | |||||
2010-03-31 | s3: Fix an error message in winbindd_pam_chauthtok() | Volker Lendecke | 1 | -1/+1 | |