Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | r24054: Fix some warnings | Volker Lendecke | 2007-07-26 | 1 | -2/+2 |
| | |||||
* | r24049: Some more 64-bit warnings | Volker Lendecke | 2007-07-25 | 1 | -2/+4 |
| | |||||
* | r24033: We need to be able to cope with packet_handler calling itself | Volker Lendecke | 2007-07-24 | 1 | -4/+5 |
| | | | | recursively | ||||
* | r24032: It helps testing tremendously if the cluster messaging actually sends | Volker Lendecke | 2007-07-24 | 2 | -0/+16 |
| | | | | and receives messages to other nodes... :-) | ||||
* | r24031: Fix some 64 bit warnings | Volker Lendecke | 2007-07-24 | 1 | -3/+4 |
| | |||||
* | r24026: packet_send() expects DATA_BLOB elements as vaargs | Stefan Metzmacher | 2007-07-24 | 1 | -3/+3 |
| | | | | | | and not TDB_DATA metze | ||||
* | r24023: Correctly support REG_BINARY in registry_push_value() and | Günther Deschner | 2007-07-24 | 1 | -2/+6 |
| | | | | | | registry_pull_value(). Guenther | ||||
* | r24008: Fix Bug 4792. Thanks to David Gajewski <dgajews@math.utoledo.edu> and to | Volker Lendecke | 2007-07-23 | 1 | -1/+1 |
| | | | | | | Timur I. Bakeyev for bugging me :-) Volker | ||||
* | r23981: Make tdb_validate_and_backup try harder to end up with a valid tdb: | Michael Adam | 2007-07-20 | 1 | -23/+60 |
| | | | | | | | | | If restoring a backup fails due to lack of space, remove the corrupt tdb previously moved away to "name.corrupt", and retry. If restoring still fails, move the backup in place instead of copying it. Michael | ||||
* | r23980: Fix one more use of pwrite in expand_file. | Michael Adam | 2007-07-20 | 1 | -1/+10 |
| | | | | Michael | ||||
* | r23979: Fix another occurence of (written != requested) as an | Michael Adam | 2007-07-20 | 1 | -5/+22 |
| | | | | | | | | | error condition to write. This is in tdb_new_database. Fix one call to tdb_new_database in tdb_open_ex to not overwrite the newly propagated errno (typically ENOSPC). Michael | ||||
* | r23977: Im prove the pwrite-patch to tdb_expand_file of r23972: | Michael Adam | 2007-07-20 | 1 | -7/+20 |
| | | | | | | | | | | | | | | | | | | | * prevent infinite loops due to 0 bytes written: try once more. if we still get 0 as return, set errno to ENOSPC and return -1 (error) * replace int by correct types (ssize_t and size_t). * print a warning log message in case "written < requested to write" usually this means, that the next call to pwrite will fail with return value -1 and set errno accordingly. Note that the former error condition "written != requested to write" is not a correct error condition of write/pwrite. If this is due to an error, a subsequent call to (p)write will reveal the cause (typically "no space left on device" - ENOSPC). Michael | ||||
* | r23975: Enhance some debug output. | Michael Adam | 2007-07-19 | 1 | -2/+4 |
| | |||||
* | r23972: Fix a bug in pwrite error detection in tdb_expand_file(): | Michael Adam | 2007-07-19 | 1 | -3/+3 |
| | | | | | | | The proper error condition is (ret == -1) instead of (ret != number_of_byte_told_to_write). Michael | ||||
* | r23957: Use tdb_open_log instead of tdb_open. | Michael Adam | 2007-07-18 | 1 | -6/+6 |
| | | | | Michael | ||||
* | r23952: Streamline and improve the logic of tdb_validate_and backup: | Michael Adam | 2007-07-18 | 1 | -29/+63 |
| | | | | | | | | | | | | | | | | | | | | | | | - call tdb_validate on the given tdb. - if validation is successful, create a backup return 0 (success) even if the backup fails. - if validation fails: - move tdb to name.corrupt (don't exit if this fails) - look for a valid backup - if a valid backup is found, restore it, else return -1 (failure) if restoring succeeds, return 0 (success), else -1 (failure) Summing up: If 0 is returned, there is a valid tdb at the given location: either the original one ore one restrored from a backup. If -1 is returned, there is no valid tdb at the given location: Either there is no file at all, or the original file is still in place (if moving it away failed). Michael | ||||
* | r23950: unlink before rename is superfluous. | Michael Adam | 2007-07-18 | 1 | -1/+0 |
| | | | | Michael | ||||
* | r23938: Add a debug message. | Michael Adam | 2007-07-17 | 1 | -0/+2 |
| | |||||
* | r23932: Fill extended status with information in case the validation traverse | Michael Adam | 2007-07-17 | 1 | -1/+5 |
| | | | | | | | | functions did not do so but returned an error. (This is the case when error occurred deeper than at the level of the content checking done by the per entry validate_fn.) Michael | ||||
* | r23930: Introduce tdb_validate_and_backup: | Michael Adam | 2007-07-17 | 1 | -1/+239 |
| | | | | | | | | | | | | | | | | | | This is a wrapper around tdb_validate, that does backup handling: * if the given tdb is valid, a backup is created (name.bak) * if the tdb is invalid, if a valid bakup is found (validated with the same validation function) under the name "name.bak" the orignal tdb is moved to name.corrupt and the backup is restored. For the backup handling, a variant of the backup_tdb function from lib/tdb/tools/tdbbackup.c is included in lib/util_tdb.c. The copy function for the traverse action eliminates the need to maintain a global success state by using a struct wrapping the target tdb and a success flag as the private data. Michael | ||||
* | r23928: Merge all "copy-info3-groups-to-sid-array" blocks to a ↵ | Günther Deschner | 2007-07-17 | 1 | -0/+65 |
| | | | | | | | | sid_array_from_info3() function. Guenther | ||||
* | r23925: Use NULL instead of 0 for a void * argument. | Michael Adam | 2007-07-17 | 1 | -1/+1 |
| | |||||
* | r23865: Fix a type-punned error | Volker Lendecke | 2007-07-13 | 1 | -1/+1 |
| | |||||
* | r23864: merge from SAMBA_3_2: | Stefan Metzmacher | 2007-07-13 | 1 | -2/+13 |
| | | | | | | | handle NT_STATUS_RETRY and always print out the NTSTATUS string before calling ctdb_fatal() metze | ||||
* | r23858: Added srvstr_pull_buf_talloc() and srvstr_pull_talloc() | Jeremy Allison | 2007-07-13 | 1 | -16/+234 |
| | | | | | | | | | | | calls and converted reply_tcon and reply_tconX to use them - to show the boilerplate usage (valgrind tested). In conjunction with Volker's srvstr_get_path_talloc() work this should allow us to start eliminating all pstrings/fstrings out of the main path processing code. I'll watch the build farm tonight... Jeremy. | ||||
* | r23853: Fix a very misleading error message in tdbbackup. | Michael Adam | 2007-07-12 | 1 | -1/+1 |
| | | | | Michael | ||||
* | r23847: As Dr. Volker says, "A pstring a day....". | Jeremy Allison | 2007-07-12 | 1 | -7/+9 |
| | | | | Jeremy. | ||||
* | r23845: Second part of the fix for #4777. Looks like on AIX opendir | Jeremy Allison | 2007-07-11 | 1 | -0/+3 |
| | | | | | | | returns an errno of ELOOP for a symlink of msdfs:server\path\to\link. Cope with this by mapping to a known error NT_STATUS_OBJECT_PATH_NOT_FOUND that we know dfs_path_lookup should ignore. Jeremy. | ||||
* | r23841: Show all acl types when displaying a security descriptor. | Günther Deschner | 2007-07-11 | 1 | -7/+14 |
| | | | | Guenther | ||||
* | r23829: Add ads_get_attrname_by_guid(). | Günther Deschner | 2007-07-11 | 1 | -0/+16 |
| | | | | Guenther | ||||
* | r23828: Add entry and exit debug statments to tdb_validate | Michael Adam | 2007-07-11 | 1 | -0/+5 |
| | | | | | | at a lower debug level. Michael | ||||
* | r23822: Clean some debugging output (as well in content and | Michael Adam | 2007-07-10 | 1 | -34/+19 |
| | | | | | | amount as in source code formatting...) Michael | ||||
* | r23819: It is currently unnecessary to pass the extended validation status | Michael Adam | 2007-07-10 | 1 | -42/+10 |
| | | | | | | | | from the validating child process down to the parent though the pipe. All the parent evaluates is the overall success, so the exit status should do. Michael | ||||
* | r23814: Fix a couple of comments and debug messages. | Michael Adam | 2007-07-10 | 1 | -7/+7 |
| | |||||
* | r23802: fixed URL in XML | Andrew Tridgell | 2007-07-10 | 1 | -1/+1 |
| | |||||
* | r23801: The FSF has moved around a lot. This fixes their Mass Ave address. | Andrew Tridgell | 2007-07-10 | 22 | -44/+22 |
| | |||||
* | r23800: LGPL is now called GNU Lesser General Public License | Andrew Tridgell | 2007-07-10 | 7 | -14/+14 |
| | | | | not GNU Library General Public License | ||||
* | r23799: updated old Franklin Street FSF addresses to new URL | Andrew Tridgell | 2007-07-10 | 10 | -30/+10 |
| | |||||
* | r23798: updated old Temple Place FSF addresses to new URL | Andrew Tridgell | 2007-07-10 | 88 | -177/+88 |
| | |||||
* | r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file | Andrew Tridgell | 2007-07-10 | 1 | -3/+2 |
| | |||||
* | r23795: more v2->v3 conversion | Andrew Tridgell | 2007-07-10 | 1 | -1/+1 |
| | |||||
* | r23794: convert more code from LGPLv2+ to LGPLv3+ | Andrew Tridgell | 2007-07-10 | 4 | -20/+12 |
| | |||||
* | r23791: found some more v2->v3 conversions | Andrew Tridgell | 2007-07-10 | 2 | -2/+2 |
| | |||||
* | r23790: LGPLv3+ conversion for our LGPLv2+ library code | Andrew Tridgell | 2007-07-10 | 89 | -89/+89 |
| | |||||
* | r23786: Use linux/dqblk_xfs.h rather than a private copy of this header in the | Andrew Tridgell | 2007-07-10 | 1 | -1/+3 |
| | | | | | | | | | | Samba3 tree. This is neater, plus it avoids the need to get legal approval from SGI to use their GPLv2-only code under GPLv3. If/when SGI legal sort things out, we could consider adding back this header for very old systems where linux/dqblk_xfs.h is not available. | ||||
* | r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text | Andrew Tridgell | 2007-07-10 | 81 | -162/+81 |
| | |||||
* | r23780: Find and fix more GPL2 -> GPL3. | Jeremy Allison | 2007-07-09 | 109 | -109/+109 |
| | | | | Jeremy. | ||||
* | r23769: Move removal of the tdb from the generic tdb_validate function | Michael Adam | 2007-07-09 | 1 | -6/+0 |
| | | | | | | | to the caller (winbindd_validate_cache in this case). Next, there will be a backup handling for the tdb files. Michael | ||||
* | r23756: Fix Coverity id 388 | Volker Lendecke | 2007-07-09 | 1 | -0/+1 |
| | |||||
* | r23751: Call tdb_close even when validation was not successful. | Michael Adam | 2007-07-08 | 1 | -9/+1 |
| | | | | Michael |