Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-11-29 | s3: Fix a "not handled in switch" warning | Volker Lendecke | 1 | -0/+1 | |
2009-11-29 | s3: Move directory_exist_stat to testparm.c, it only looks at the mode | Volker Lendecke | 1 | -21/+0 | |
2009-11-29 | s3: Pass fake_dir_create_times down to file_exist_stat, none of the callers ↵ | Volker Lendecke | 1 | -2/+3 | |
look at the mtime | |||||
2009-11-29 | s3: "get_file_size" only looks at the size | Volker Lendecke | 1 | -1/+1 | |
2009-11-29 | s3: "socket_exist" only looks at the mode | Volker Lendecke | 1 | -1/+1 | |
2009-11-29 | s3: "sys_path_to_bdev" only looks at the devicenumber | Volker Lendecke | 1 | -4/+3 | |
2009-11-29 | s3: "check_log_size" only looks at the size | Volker Lendecke | 1 | -2/+1 | |
2009-11-29 | s3: Pass the "fake dir create times" parameter to sys_*stat | Volker Lendecke | 4 | -18/+25 | |
Step 0 to restore it as a per-share paramter | |||||
2009-11-26 | s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵ | Günther Deschner | 11 | -0/+12 | |
samba. Guenther | |||||
2009-11-25 | s3-registry: fix REG_MULTI_SZ handling in registry_push_value. | Günther Deschner | 1 | -3/+20 | |
Catched by smbconftort test on the buildfarm. Guenther | |||||
2009-11-24 | s3-registry: use push_reg_multi_sz() in registry_push_value(). | Günther Deschner | 1 | -59/+3 | |
Guenther | |||||
2009-11-24 | s3-registry: remove reg_pull_multi_sz(). | Günther Deschner | 2 | -28/+18 | |
Guenther | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in mask_match() explicit" | Volker Lendecke | 1 | -8/+4 | |
This reverts commit e23d8a3d1f558a7e98ef2afd71e1d15c5b3a71bc. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in mask_match_list() ↵ | Volker Lendecke | 1 | -3/+3 | |
explicit" This reverts commit 1e22899d268ae5a089f941a204413c07ee64fc78. | |||||
2009-11-23 | Revert "s3: Make the implicit reference to Protocol in is_in_path() explicit" | Volker Lendecke | 1 | -3/+2 | |
This reverts commit f7b4151a64d8c6851e62255a7139fd00a5fc63a3. | |||||
2009-11-23 | Revert "s3: Move the global variable Protocol to struct smbd_server_connection" | Volker Lendecke | 1 | -0/+12 | |
This reverts commit c85a4c9ba4a7de65a7850f6f9708df66bd24deea. | |||||
2009-11-21 | s3: Make alloc_sub_basic() static | Volker Lendecke | 1 | -2/+5 | |
2009-11-21 | s3: Move the global variable Protocol to struct smbd_server_connection | Volker Lendecke | 1 | -12/+0 | |
2009-11-21 | s3: Make the implicit reference to Protocol in is_in_path() explicit | Volker Lendecke | 1 | -2/+3 | |
2009-11-21 | s3: Make the implicit reference to Protocol in mask_match_list() explicit | Volker Lendecke | 1 | -3/+3 | |
2009-11-21 | s3: Make the implicit reference to Protocol in mask_match() explicit | Volker Lendecke | 1 | -4/+8 | |
2009-11-21 | s3: Fix some nonempty blank lines | Volker Lendecke | 2 | -43/+42 | |
2009-11-21 | s3: Avoid two calls to strcmp() | Volker Lendecke | 1 | -4/+4 | |
2009-11-21 | s3: Fix a bool/enum mismatch | Volker Lendecke | 1 | -1/+1 | |
2009-11-21 | s3:fix endianness bug in dbwrap_change_int32_atomic() (bug #6901) | Michael Adam | 1 | -4/+6 | |
Michael | |||||
2009-11-21 | s3:fix endianness bug in dbwrap_change_uint32_atomic() (bug #6901) | Michael Adam | 1 | -4/+6 | |
Michael | |||||
2009-11-19 | s3: Factor timeval_string out of current_timestring() | Volker Lendecke | 1 | -12/+13 | |
2009-11-18 | s3:load_interfaces(): use function gfree_interfaces() that we have. | Michael Adam | 1 | -9/+1 | |
To reduce code duplication. Michael | |||||
2009-11-17 | Remove "store create time" code, cause create time to be stored | Jeremy Allison | 2 | -0/+34 | |
in the "user.DOSATTRIB" EA. From the docs: In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store the create time for a file as well as the DOS attributes. This is done in a backwards compatible way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this extended attribute by earlier versions of Samba, but they will not be able to read the create time stored there. Storing the create time separately from the normal filesystem meta-data allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem. Passes make test but will need more testing. Jeremy. | |||||
2009-11-15 | s3: Fix a memleak in sys_popen | Volker Lendecke | 1 | -0/+1 | |
Found with "dfree command" set | |||||
2009-11-14 | Attempt to fix the s4 build -- we can not use map_nt_error_from_unix in lib/ | Volker Lendecke | 1 | -0/+11 | |
2009-11-08 | Revert "s3: Make libnetapi_open_pipe take strings instead of a ↵ | Volker Lendecke | 12 | -61/+54 | |
ndr_interface_table" This reverts commit 5fc9d93408effe75abcd231c45cbc14656692ebe. | |||||
2009-11-08 | s3: Make libnetapi_open_pipe take strings instead of a ndr_interface_table | Volker Lendecke | 12 | -54/+61 | |
2009-11-07 | s3: get_pipe_name_from_iface -> get_pipe_name_from_syntax | Volker Lendecke | 1 | -1/+1 | |
2009-11-05 | s3: Add parameter "ctdb timeout" | Volker Lendecke | 2 | -4/+21 | |
When something in the cluster blocks, it can happen that we wait indefinitely long for ctdb, just adding to the blocking condition. In theory, nothing should block, but as someone said "In practice the difference between theory and practice is larger than in theory". This adds a timeout parameter in seconds, after which we stop waiting for ctdb and panic. | |||||
2009-11-04 | Remove "Protocol" as an extern, and add accessor functions. | Jeremy Allison | 1 | -1/+11 | |
Jeremy. | |||||
2009-11-03 | s3: Remove debug_ctx() | Volker Lendecke | 2 | -18/+3 | |
smbd just crashed on me: In a debug message I called a routine preparing a string that itself used debug_ctx. The outer routine also used it after the inner routine had returned. It was still referencing the talloc context that the outer debug_ctx() had given us, which the inner DEBUG had already freed. | |||||
2009-11-03 | s3:dbwrap_ctdb: add debug message to transaction_fetch_start() | Michael Adam | 1 | -0/+4 | |
for the case that another local process has started a transaction bewteen releasing the transaction_lock record and starting the transaction. Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: split combined check in two and add descriptive debug | Michael Adam | 1 | -1/+14 | |
in db_ctdb_transaction_fetch_start() for error conditions when re-fetching the transaction_lock record inside the transaction Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: fix race condition with concurrent transactions on the same ↵ | Michael Adam | 1 | -0/+12 | |
node. In ctdb_transaction_commit(), when the trans2_commit control fails, there is a race condition in the 1 second sleep between the local transaction_cancel and the call to ctdb_replay_transaction(): The database is not locked, and neither is the transaction_lock record. So another client can start and possibly complete a new transaction in this gap, but only on the same node: The locking of the transaction_lock record on a different node which involves migration of the record to the other node has been disabled by introduction of the transaction_active flag on the db which closes precisely this gap from the start of the commit until the call to TRANS2_FINISH or TRANS2_ERROR. But this mechanism does not cover the case where a process on the same node tries to start a transaction: There is no obstacle to locking the transaction_lock record because the record does not need to be migrated. This commit closes this race condition in ctdb_transaction_fetch_start() by using the new ctdb_ctrl_transaction_active() call to ask the local ctdb daemon whether it has a transaction running on the database. If so, the check is repeated until the running transaction is done. This does introduce an additional call to the local ctdbd when starting transactions, but it does close the (hopefully) last race condition. Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: add new db_ctdb_transaction_active() that calls ↵ | Michael Adam | 1 | -0/+21 | |
CTDB_CONTROL_TRANS2_COMMIT Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: fix a race in starting concurrent transactions on a single node | Michael Adam | 1 | -0/+25 | |
There are two races in concurrent transactions on a single node. One in starting a transaction and one with replay during commit. This commit closes the first race by storing the client pid in the transaction-lock record and comparing the stored pid against its own pid after releasing the lock and refetching the record inside the transaction. Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: use db_ctdb_ltdb_fetch() inside db_ctdb_transaction_fetch_start | Michael Adam | 1 | -6/+4 | |
Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: use db_ctdb_ltdb_fetch() inside db_ctdb_transaction_fetch() | Michael Adam | 1 | -16/+6 | |
Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: add a function db_ctdb_ltdb_fetch() | Michael Adam | 1 | -0/+53 | |
This fetches a record from the db and splits out the ctdb header. Michael | |||||
2009-11-03 | s3:dbrwap_ctdb: add a function db_ctdb_ltdb_store() | Michael Adam | 1 | -27/+39 | |
and use it in db_ctdb_store() and db_ctdb_transaction_store(). Michael | |||||
2009-11-03 | s3:dbwrap_ctdb: reformat a comment slightly to enhance clearness. | Michael Adam | 1 | -3/+5 | |
Michael | |||||
2009-11-02 | s3: Fix a 100% CPU loop when ctdbd dies during a traverse | Volker Lendecke | 1 | -0/+1 | |
2009-11-02 | s3-gencache: restore gencache_get behavior with NULL args (with torture test). | Günther Deschner | 1 | -4/+8 | |
Without this, we panic in wins_srv_is_dead() and fail to start nmbd with wins support. Volker, please check. Guenther | |||||
2009-10-29 | s3: Fix incorrect rc check of nscd_flush_cache. | Jim McDonough | 1 | -1/+1 | |
At least this only resulted in an incorrect debug message. |