summaryrefslogtreecommitdiff
path: root/source3/include
AgeCommit message (Collapse)AuthorFilesLines
2009-08-03Add some const to winbind_userinfoVolker Lendecke1-4/+5
2009-07-31Rename LOOKUP_NAME_EXPLICIT to LOOKUP_NAME_NO_NSSVolker Lendecke1-3/+2
It took me a bit to understand what this flag does. I hope this is a bit clearer, at least it is to me.
2009-07-31s3:rpc_client: add dispatch_send/recv() to struct rpc_pipe_clientStefan Metzmacher1-0/+11
metze
2009-07-30Remove the extraneous logic in smb_set_info_standard - weJeremy Allison1-0/+1
do the time twiddling logic at the smb_set_file_time level. Jeremy.
2009-07-29s3:dbwrap: add dbwrap_trans_change_int32_atomic()Michael Adam1-0/+4
A transaction wrapper for dbwrap_change_int32_atomic(). Michael
2009-07-29s3:dbwrap: change dbwrap_change_int32_atomic() to take int32_t, not int32Michael Adam1-1/+1
Michael
2009-07-29s3:dbwrap: add dbwrap_trans_change_uint32_atomic()Michael Adam1-0/+4
A transaction wrapper for dbwrap_change_uint32_atomic(). Michael
2009-07-29s3:dbwrap: change dbwrap_change_int32_atomic() to return NTSTATUS not int32.Michael Adam1-2/+2
Michael
2009-07-29s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t.Michael Adam1-1/+1
Michael
2009-07-28(Hopefully) fix the problem Kai reported withJeremy Allison1-0/+3
net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy.
2009-07-28Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison1-1/+2
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-27Fix the build breakage by #including modules/vfs_acl_common.cJeremy Allison1-27/+0
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-27Lift the event loop in rpc_api_pipe_req() one level into cli_do_rpc_ndrVolker Lendecke1-4/+7
2009-07-27Fix a valgrind error in chain_replyVolker Lendecke1-0/+2
construct_reply() references the request after chain_reply has freed it.
2009-07-24s3: Convert a few callers of unix_convert() over to filename_convert()Tim Prouty2-2/+4
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-24Factor out common code into vfs_acl_common.c.Jeremy Allison1-0/+27
Jeremy.
2009-07-24s3: Simplify rename_internals() by passing in smb_filename structsTim Prouty1-2/+2
2009-07-24s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵Tim Prouty1-0/+2
caller know if the path has a wildcard This also eliminates the need for resolve_dfspath().
2009-07-24add my copyright after the VFS rewriteVolker Lendecke2-0/+2
2009-07-24Move the "enum _vfs_op_type" to full_auditVolker Lendecke1-142/+0
It's only used there now. Someone should now go in and simplify full_audit... :-)
2009-07-24Make the smbd VFS typesafeVolker Lendecke4-780/+1063
2009-07-21s3: Remove the now unused fname parameter from filename_convert()Tim Prouty1-2/+1
2009-07-21s3: Plumb smb_filename through map_open_params_to_ntcreateTim Prouty1-1/+2
2009-07-20s3: Plumb smb_filename through open_fake_fileTim Prouty1-2/+2
2009-07-20s3: Separate out a new file: filename_utils.cTim Prouty1-20/+23
This is to ease the linking pain of everything that links LOCKING_OBJ
2009-07-20s3: Move is_ntfs_stream*() to filename.cTim Prouty1-2/+2
2009-07-20s3: Change fsp->fsp_name to be an smb_filename struct!Tim Prouty2-2/+5
2009-07-20Make cli_send_mailslot() static. Preparing to do away with unexpected.tdb....Jeremy Allison1-7/+0
Jeremy.
2009-07-16s3-rpc_parse: remove more unused code.Günther Deschner1-16/+0
Guenther
2009-07-16s3-spoolss: make some of the command hooks static.Günther Deschner1-3/+0
Guenther
2009-07-15Make cli_unlock and cli_unlock64 async. Fix POSIX lock test.Jeremy Allison1-2/+16
Jeremy.
2009-07-15s3:registry: add function regsubkey_ctr_reinit()Michael Adam1-0/+1
This reinitializes an already allocated regsubkey_ctr structure, emptying out the subkey array and hash table. Michael
2009-07-15s3:dbwrap: add dbwrap_fetch_bystring_upper().Michael Adam1-0/+2
To fetch a key whose name is stored but not given in upper case. Michael
2009-07-15s3:dbwrap: add dbwrap_store_bystring_upper().Michael Adam1-0/+2
This stores a key under the uppercase version of the given keyname. Michael
2009-07-15s3:dbwrap: add dbwrap_delete_bystring_upper()Michael Adam1-0/+1
To delete a key whose name is not given in but stored in uppercase. Michael
2009-07-15s3:dbwrap: add a wrapper dbwrap_trans_do()Michael Adam1-0/+3
This function wraps the action() callback into a db transaction and the transaction is either committed or cancelled, depending on the return value of the action function. Michael
2009-07-15Consolidate string and data_blob routines in gencacheVolker Lendecke1-1/+2
2009-07-15Make gencache more stableVolker Lendecke1-0/+1
This provides a compromise between stability and performance: gencache is a persistent database these days that for performance reasons can not use tdb transactions for all writes. This patch splits up gencache into gencache.tdb and gencache_notrans.tdb. gencache_notrans is used with CLEAR_IF_FIRST, writes to it don't use transactions. By default every 5 minutes and when a program exits, all entries from _notrans.tdb are transferred to gencache.tdb in one transaction.
2009-07-15Add tdb_data_cmpVolker Lendecke1-0/+2
2009-07-15Remove gencache_init/shutdownVolker Lendecke1-2/+0
gencache_get/set/del/iterate call gencache_init() internally anyway. And we've been very lazy calling gencache_shutdown, so this seems not really required.
2009-07-15Remove gencache_[un]lock_keyVolker Lendecke1-2/+0
2009-07-14Revert this commit :Jeremy Allison2-12/+1
s3: Make smbd aware of permission change of usershare. Since usershare are relatively volatile and non-previledge users must disconnect from smbd and reconnect to it to make share permission in effect. For now. This is a feature request and I think we need to design it a little differently so as not to touch core change_to_user() code. Jeremy.
2009-07-15s3: Make smbd aware of permission change of usershare. Since usershare are ↵Bo Yang2-1/+12
relatively volatile and non-previledge users must disconnect from smbd and reconnect to it to make share permission in effect.
2009-07-14s3-account_policy: add pdb_policy_type enum.Günther Deschner3-27/+31
Guenther
2009-07-13Make cli_posix_lock/unlock asynchronous.Jeremy Allison1-3/+18
Jeremy.
2009-07-13s3-rpc_server: pass down full unix token to map_max_allowed_access().Günther Deschner1-2/+3
Also use unix_token->uid instead of geteuid() when checking for mapping of the SEC_FLAG_MAXIMUM_ALLOWED flag. Guenther
2009-07-13libds: merge the UF<->ACB flag mapping functions.Günther Deschner1-7/+9
Guenther
2009-07-13libds: share UF_ flags between samba3 and 4.Günther Deschner1-125/+2
Guenther
2009-07-10Remove reply_unixerror() - no longer needed. Should make Metze's refactoring ↵Jeremy Allison2-3/+0
a lot easier. Jeremy.
2009-07-09Make escape_ldap_string take a talloc contextVolker Lendecke1-1/+1