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