Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-29 | s3:secrets: use transaction wrapped store in get rand seed. | Michael Adam | 1 | -2/+2 | |
Now secrets.tdb is only writen with transactions. Michael | |||||
2009-07-29 | s3:dbwrap: add dbwrap_trans_change_int32_atomic() | Michael Adam | 2 | -0/+21 | |
A transaction wrapper for dbwrap_change_int32_atomic(). Michael | |||||
2009-07-29 | s3:dbwrap: export logic of dbwrap_change_int32_atomic into an action function | Michael Adam | 1 | -6/+31 | |
to prepare for adding a transaction wrapper to dbwrap_change_int32_atomic() Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_int32_atomic() to take int32_t, not int32 | Michael Adam | 2 | -3/+3 | |
Michael | |||||
2009-07-29 | s3:winbind: use transaction store in idmap_tdb_set_hwm() to store new hwm. | Michael Adam | 1 | -5/+4 | |
Btw, the previous code must have failed to warn when exceeding the high_hwm, because it overwrote hwm with the return value of the dbwrap_store_uint32(), which does not return the hwm but 0 or -1, depending on success. Michael | |||||
2009-07-29 | s3:winbind: fix typo in debug message in idmap_tdb. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-07-29 | s3:winbind: fix typo in debugmessage of idmap_tdb | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-07-29 | s3:winbind: use transaction in idmap_tdb2_allocate_id_action(). | Michael Adam | 1 | -1/+1 | |
This uses the new dbwrap_trans_change_uint32_atomic() instead of dbwrap_change_uint32_atomic(). Now all db write operations in idmap_tdb2.c are using transactions. Michael | |||||
2009-07-29 | s3:dbwrap: add dbwrap_trans_change_uint32_atomic() | Michael Adam | 2 | -0/+21 | |
A transaction wrapper for dbwrap_change_uint32_atomic(). Michael | |||||
2009-07-29 | s3:dbwrap: export logic of dbwrap_change_uint32_atomic into an action function | Michael Adam | 1 | -6/+31 | |
to prepare for adding a transaction wrapper to dbwrap_change_uint32_atomic() Michael | |||||
2009-07-29 | s3:dbwrap: untangle assignment and check in dbwrap_change_int32_atomic() | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-07-29 | s3:dbwrap: untangle assignemend and check in dbwrap_change_uint32_atomic() | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2009-07-29 | s3:dbwrap: don't leak in dbwrap_change_int32_atomic(). | Michael Adam | 1 | -2/+3 | |
Michael | |||||
2009-07-29 | s3:dbwrap: don't leak in dbwrap_change_uint32_atomic() | Michael Adam | 1 | -2/+3 | |
Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_int32_atomic() to return NTSTATUS not int32. | Michael Adam | 2 | -8/+9 | |
Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t. | Michael Adam | 5 | -17/+19 | |
Michael | |||||
2009-07-29 | s3:winbind: in idmap_tdb2_sid_to_id(), use transaction wrapped stores. | Michael Adam | 1 | -9/+15 | |
When a mapping is not found, then the idmap script is called (if defined). When this gives a reply for the desired sid, this reply is stored in the db. This patch wraps theses two store operations into a transaction by re-using the idmap_tdb2_set_mapping_action() function previously defined for idmap_tdb2_set_mapping(). Michael | |||||
2009-07-29 | s3:winbind: in idmap_tdb2_id_to_sid(), use transaction wrapped stores. | Michael Adam | 1 | -9/+12 | |
When a mapping is not found, then the idmap script is called (if defined). When this gives a reply for the desired id, this reply is stored in the db. This patch wraps theses two store operations into a transaction by re-using the idmap_tdb2_set_mapping_action() function previously defined for idmap_tdb2_set_mapping(). Michael | |||||
2009-07-29 | s3:winbind: use transaction wrapper in idmap_tdb2_allocate_id() | Michael Adam | 1 | -43/+69 | |
Michael | |||||
2009-07-29 | s3:winbind: use transaction wrapper in idmap_tdb2_set_mapping() | Michael Adam | 1 | -49/+55 | |
Michael | |||||
2009-07-29 | shadow_copy2: The system getrealfilename() can't deal with a 0-length fname | Volker Lendecke | 1 | -0/+3 | |
This fixes viewing the content of snapshots in the share root directory. We have to treat the filename that *just* consists of "@GMT-YYYY.MM.DD-HH.MM.SS" like the share root, which is the current working directory. | |||||
2009-07-29 | Fix unqualified "net join" | Volker Lendecke | 1 | -4/+1 | |
Kai, please check! Thanks, Volker | |||||
2009-07-28 | (Hopefully) fix the problem Kai reported with | Jeremy Allison | 4 | -8/+60 | |
net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy. | |||||
2009-07-28 | Remove a duplicate prototype | Volker Lendecke | 1 | -1/+0 | |
2009-07-28 | Added prefer_ipv4 bool parameter to resolve_name(). | Jeremy Allison | 15 | -37/+104 | |
W2K3 DC's can have IPv6 addresses but won't serve krb5/ldap or cldap on those addresses. Make sure when we're asking for DC's we prefer IPv4. If you have an IPv6-only network this prioritizing code will be a no-op. And if you have a mixed network then you need to prioritize IPv4 due to W2K3 DC's. Jeremy. | |||||
2009-07-27 | Fix the build breakage by #including modules/vfs_acl_common.c | Jeremy Allison | 5 | -50/+33 | |
into acl_tdb and acl_xattr. Duplicates the code size, but keeps the code in common so I don't have to do bug fixes in two places (which is what I really cared about). Jeremy. | |||||
2009-07-27 | s3: net ads user info should print primary group as well (bug #2658) | Kai Blin | 1 | -15/+57 | |
Thanks to Pavel V. Rochnyack <rpv@muma.tusur.ru> for reporting this and offering an initial patch. | |||||
2009-07-27 | Lift the event loop in rpc_api_pipe_req() one level into cli_do_rpc_ndr | Volker Lendecke | 4 | -72/+126 | |
2009-07-27 | Fix a valgrind error in chain_reply | Volker Lendecke | 2 | -3/+12 | |
construct_reply() references the request after chain_reply has freed it. | |||||
2009-07-27 | Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2009-07-27 | Fix a valgrind error in winbind | Volker Lendecke | 1 | -1/+2 | |
When looking for idle clients, we dereferenced state->response. As this is dynamically allocated now, the proper test is whether state->response exists at all. This is the case when an async operation is in process at that moment. | |||||
2009-07-27 | Fix some nonempty blank lines | Volker Lendecke | 1 | -105/+103 | |
2009-07-27 | Fix a valgrind error in cli_ctemp_done | Volker Lendecke | 1 | -1/+3 | |
For performance reasons cli_smb_recv does not make copies of the buffers we received from the client, so both "vwv" and "bytes" vanish with TALLOC_FREE(subreq). I know this is a bit counter-intuitive, but I think in this case it's justified not to make copies. Comments? | |||||
2009-07-26 | Fix valgrind errors in DeleteDomainGroup and DeleteDomAlias | Volker Lendecke | 1 | -4/+4 | |
2009-07-26 | Fix a valgrind error in _samr_DeleteUser | Volker Lendecke | 1 | -2/+2 | |
The close_handle invalidates uinfo | |||||
2009-07-25 | Fix a 32/64bit stack corruption bug | Volker Lendecke | 1 | -1/+1 | |
2009-07-25 | Cleanup patch after "new VFS" | Volker Lendecke | 1 | -1/+1 | |
2009-07-25 | Cleanup patch after "struct stat_ex" | Volker Lendecke | 1 | -2/+2 | |
2009-07-25 | Remove a pointless static fstring | Volker Lendecke | 1 | -5/+3 | |
2009-07-25 | Move 16 bytes from data to r/o text segment | Volker Lendecke | 1 | -1/+1 | |
2009-07-25 | Fix a winbind memleak | Volker Lendecke | 1 | -0/+1 | |
2009-07-25 | Use a switch statement in charset_name() | Volker Lendecke | 1 | -8/+24 | |
2009-07-25 | Fix some nonempty blank lines | Volker Lendecke | 1 | -17/+17 | |
2009-07-25 | First patch for "new VFS" portability | Volker Lendecke | 1 | -5/+5 | |
2009-07-24 | s3: Convert a few callers of unix_convert() over to filename_convert() | Tim Prouty | 8 | -112/+90 | |
This patch also changes the unix convert flags to make sure the correct semantics are preservered for allowing/disallowing wildcards in the last component of the path. | |||||
2009-07-24 | s3: Remove a few callers of get_full_smb_filename() | Tim Prouty | 2 | -45/+81 | |
2009-07-24 | s3 onefs: Fix the onefs modules after the big refactoring | Tim Prouty | 5 | -22/+22 | |
2009-07-24 | Factor out common code into vfs_acl_common.c. | Jeremy Allison | 5 | -1274/+682 | |
Jeremy. | |||||
2009-07-24 | s3: Simplify rename_internals() by passing in smb_filename structs | Tim Prouty | 4 | -157/+127 | |
2009-07-24 | s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵ | Tim Prouty | 8 | -42/+88 | |
caller know if the path has a wildcard This also eliminates the need for resolve_dfspath(). |