summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:winbind: use transaction in idmap_tdb2_allocate_id_action().Michael Adam2009-07-291-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
* s3:dbwrap: add dbwrap_trans_change_uint32_atomic()Michael Adam2009-07-292-0/+21
| | | | | | A transaction wrapper for dbwrap_change_uint32_atomic(). Michael
* s3:dbwrap: export logic of dbwrap_change_uint32_atomic into an action functionMichael Adam2009-07-291-6/+31
| | | | | | to prepare for adding a transaction wrapper to dbwrap_change_uint32_atomic() Michael
* s3:dbwrap: untangle assignment and check in dbwrap_change_int32_atomic()Michael Adam2009-07-291-2/+2
| | | | Michael
* s3:dbwrap: untangle assignemend and check in dbwrap_change_uint32_atomic()Michael Adam2009-07-291-2/+2
| | | | Michael
* s3:dbwrap: don't leak in dbwrap_change_int32_atomic().Michael Adam2009-07-291-2/+3
| | | | Michael
* s3:dbwrap: don't leak in dbwrap_change_uint32_atomic()Michael Adam2009-07-291-2/+3
| | | | Michael
* s3:dbwrap: change dbwrap_change_int32_atomic() to return NTSTATUS not int32.Michael Adam2009-07-292-8/+9
| | | | Michael
* s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t.Michael Adam2009-07-295-17/+19
| | | | Michael
* s3:winbind: in idmap_tdb2_sid_to_id(), use transaction wrapped stores.Michael Adam2009-07-291-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
* s3:winbind: in idmap_tdb2_id_to_sid(), use transaction wrapped stores.Michael Adam2009-07-291-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
* s3:winbind: use transaction wrapper in idmap_tdb2_allocate_id()Michael Adam2009-07-291-43/+69
| | | | Michael
* s3:winbind: use transaction wrapper in idmap_tdb2_set_mapping()Michael Adam2009-07-291-49/+55
| | | | Michael
* shadow_copy2: The system getrealfilename() can't deal with a 0-length fnameVolker Lendecke2009-07-291-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.
* Fix unqualified "net join"Volker Lendecke2009-07-291-4/+1
| | | | | | | | Kai, please check! Thanks, Volker
* (Hopefully) fix the problem Kai reported withJeremy Allison2009-07-284-8/+60
| | | | | | net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy.
* Remove a duplicate prototypeVolker Lendecke2009-07-281-1/+0
|
* Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison2009-07-2815-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.
* Fix the build breakage by #including modules/vfs_acl_common.cJeremy Allison2009-07-275-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.
* s3: net ads user info should print primary group as well (bug #2658)Kai Blin2009-07-271-15/+57
| | | | | Thanks to Pavel V. Rochnyack <rpv@muma.tusur.ru> for reporting this and offering an initial patch.
* Lift the event loop in rpc_api_pipe_req() one level into cli_do_rpc_ndrVolker Lendecke2009-07-274-72/+126
|
* Fix a valgrind error in chain_replyVolker Lendecke2009-07-272-3/+12
| | | | construct_reply() references the request after chain_reply has freed it.
* Fix a typoVolker Lendecke2009-07-271-1/+1
|
* Fix a valgrind error in winbindVolker Lendecke2009-07-271-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.
* Fix some nonempty blank linesVolker Lendecke2009-07-271-105/+103
|
* Fix a valgrind error in cli_ctemp_doneVolker Lendecke2009-07-271-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?
* Fix valgrind errors in DeleteDomainGroup and DeleteDomAliasVolker Lendecke2009-07-261-4/+4
|
* Fix a valgrind error in _samr_DeleteUserVolker Lendecke2009-07-261-2/+2
| | | | The close_handle invalidates uinfo
* Fix a 32/64bit stack corruption bugVolker Lendecke2009-07-251-1/+1
|
* Cleanup patch after "new VFS"Volker Lendecke2009-07-251-1/+1
|
* Cleanup patch after "struct stat_ex"Volker Lendecke2009-07-251-2/+2
|
* Remove a pointless static fstringVolker Lendecke2009-07-251-5/+3
|
* Move 16 bytes from data to r/o text segmentVolker Lendecke2009-07-251-1/+1
|
* Fix a winbind memleakVolker Lendecke2009-07-251-0/+1
|
* Use a switch statement in charset_name()Volker Lendecke2009-07-251-8/+24
|
* Fix some nonempty blank linesVolker Lendecke2009-07-251-17/+17
|
* First patch for "new VFS" portabilityVolker Lendecke2009-07-251-5/+5
|
* s3: Convert a few callers of unix_convert() over to filename_convert()Tim Prouty2009-07-248-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.
* s3: Remove a few callers of get_full_smb_filename()Tim Prouty2009-07-242-45/+81
|
* s3 onefs: Fix the onefs modules after the big refactoringTim Prouty2009-07-245-22/+22
|
* Factor out common code into vfs_acl_common.c.Jeremy Allison2009-07-245-1274/+682
| | | | Jeremy.
* s3: Simplify rename_internals() by passing in smb_filename structsTim Prouty2009-07-244-157/+127
|
* s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵Tim Prouty2009-07-248-42/+88
| | | | | | caller know if the path has a wildcard This also eliminates the need for resolve_dfspath().
* Make acl_tdb match acl_xattr. Large duplication ofJeremy Allison2009-07-241-68/+225
| | | | | code here needs tidying up. Compiles but not yet tested. Jeremy.
* Fix hash function in acl_xattr to be SHA256, makeJeremy Allison2009-07-242-62/+100
| | | | | | | | the hash function selectable. Upgrade version. Compiles but not fully tested yet (coming). Make vfs_acl_tdb.c compile - this needs updating to match acl_xattr (also coming soon). Jeremy.
* add my copyright after the VFS rewriteVolker Lendecke2009-07-243-0/+3
|
* Move the "enum _vfs_op_type" to full_auditVolker Lendecke2009-07-242-142/+142
| | | | | It's only used there now. Someone should now go in and simplify full_audit... :-)
* Make the smbd VFS typesafeVolker Lendecke2009-07-2453-2411/+2660
|
* Fix the chain2 testVolker Lendecke2009-07-241-1/+3
|
* In chain_reply, copy the subrequests' error to the main requestVolker Lendecke2009-07-241-0/+15
|