summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2010-04-06fix a segfault in the notify subsystemChristian Ambach1-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-06s4-waf: move to a universal method of recursing into subdirsAndrew Tridgell2-20/+20
This works with both standalone lib builds and bundled builds
2010-04-06s4-waf: set default for bundled librariesAndrew Tridgell1-0/+2
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2-0/+4
them
2010-04-06s3-waf: added options for static/shared module buildingAndrew Tridgell1-0/+60
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06s3-waf: build version.hAndrew Tridgell1-0/+2
2010-04-06s3-waf: charsets needs to be quoted as strings in config.hAndrew Tridgell1-6/+6
Pair-Programmed-With: Kai Blin <kai@samba.org>
2010-04-06s3-waf: fixed tests for charsetsAndrew Tridgell1-3/+3
Pair-Programmed-With: Kai
2010-04-06s3-waf: check for default charsetsKai Blin4-0/+56
2010-04-06s3-waf: use new variable expansion featureAndrew Tridgell1-11/+3
2010-04-06s3-waf: modulesdir is in the base set of options nowAndrew Tridgell1-1/+0
2010-04-06s3-waf: the start of the main build for s3Andrew Tridgell1-0/+611
2010-04-06s3-waf: more configure tests and minor fixesAndrew Tridgell1-26/+60
2010-04-06s3-waf: added build subdir for dynconfig generationAndrew Tridgell3-0/+97
2010-04-06build: Change checks to conform to new CHECK_* behaviourKai Blin1-7/+9
2010-04-06build: Check if the compiler will optimize out functionsKai Blin1-0/+9
2010-04-06build: check for int types included from rpc/rpc.hKai Blin1-0/+16
2010-04-06build: Check for POSIX capabilitiesKai Blin1-0/+19
2010-04-06build: Check for various members of struct statKai Blin1-0/+7
2010-04-06build: Fix package name and package string caseKai Blin1-2/+2
2010-04-06build: Check for functions needed by Samba3Kai Blin1-0/+19
2010-04-06build: Check for kernel share modesKai Blin1-0/+15
2010-04-06build: Check for IRIX kernel oplock typesKai Blin1-0/+5
2010-04-06build: Check for Linux kernel oplocksKai Blin1-0/+13
2010-04-06build: Check for kernel change notify supportKai Blin1-0/+13
2010-04-06build: check for inotify supportKai Blin1-0/+6
2010-04-06build: check for headers needed to generate stack tracesKai Blin1-0/+2
2010-04-06build: Check for krb5 headersKai Blin1-0/+8
2010-04-06build: Check for LDAP librariesKai Blin1-0/+4
2010-04-06build: Check for CUPSKai Blin1-0/+5
2010-04-06build: Add a basic wscript file for Samba3Kai Blin1-0/+41
2010-04-05Add FSCTL_QUERY_ALLOCATED_RANGES to the list of Windows ioctls we support.Jeremy Allison1-0/+52
Based on a patch reported and tested by Ira Cooper <samba@ira.wakeful.net>. Jeremy.
2010-04-05Fix issue with aio where r/w lock wasn't kept across aio read operations.Jeremy Allison3-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-05Fix related to bug #7326 - can't read/write any files with full_auditVolker Lendecke1-2/+3
2010-04-05s3: Fix a cut&paste error in winbindd_list_groups_doneVolker Lendecke1-1/+1
2010-04-04s3: Fix the GNU ld version detection on SLESVolker Lendecke1-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-02s3: Fix a commentVolker Lendecke1-1/+1
2010-04-01Move initialize_async_io_handler() inside of smbd/aio.c.Jeremy Allison3-38/+42
Call from actual aio read or write. No reason to call this globally on startup. Jeremy.
2010-04-01Add torture test for bug 7310 - DOS attribute inconsistency with MS OfficeJeremy Allison1-2/+20
Ensure we don't regress. Jeremy.
2010-04-01s3:winbindd: remove unused variablesStefan Metzmacher1-2/+0
metze
2010-04-01s3:winbindd: fix problems with SIGCHLD handling (bug #7317)Stefan Metzmacher3-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-01s3: Ensure NULL termination before printing in winbindd_pam_logoffVolker Lendecke1-3/+3
2010-04-01s3: Fix a typo in winbindd_pam_logoffVolker Lendecke1-1/+1
2010-04-01s3:winbindd: correctly invalidate the cached connectionStefan Metzmacher1-6/+11
There're maybe additional TCP connection for ncacn_ip_tcp. metze
2010-04-01s3:winbindd: only set child_domain in the childStefan Metzmacher1-1/+1
metze
2010-04-01s3:winbindd: make sure we don't try rpc requests against unaccessable domainsStefan Metzmacher1-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-01s3: fix a typo in winbind_client_response_writtenVolker Lendecke1-2/+2
2010-03-31Make smbd_lock_socket/smbd_unlock_socket recursive with a ref_count.Jeremy Allison6-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-31s3: Merge French translation for pam_winbind after reviewChristian PERRIER1-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-31s3: Fix an error message in winbindd_pam_chauthtok()Volker Lendecke1-1/+1