summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:dbwrap: add dbwrap_delete_bystring_upper()Michael Adam2009-07-151-0/+1
| | | | | | To delete a key whose name is not given in but stored in uppercase. Michael
* s3:dbwrap: add a wrapper dbwrap_trans_do()Michael Adam2009-07-151-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
* Consolidate string and data_blob routines in gencacheVolker Lendecke2009-07-151-1/+2
|
* Make gencache more stableVolker Lendecke2009-07-151-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.
* Add tdb_data_cmpVolker Lendecke2009-07-151-0/+2
|
* Remove gencache_init/shutdownVolker Lendecke2009-07-151-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.
* Remove gencache_[un]lock_keyVolker Lendecke2009-07-151-2/+0
|
* Revert this commit :Jeremy Allison2009-07-142-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.
* s3: Make smbd aware of permission change of usershare. Since usershare are ↵Bo Yang2009-07-152-1/+12
| | | | relatively volatile and non-previledge users must disconnect from smbd and reconnect to it to make share permission in effect.
* s3-account_policy: add pdb_policy_type enum.Günther Deschner2009-07-143-27/+31
| | | | Guenther
* Make cli_posix_lock/unlock asynchronous.Jeremy Allison2009-07-131-3/+18
| | | | Jeremy.
* s3-rpc_server: pass down full unix token to map_max_allowed_access().Günther Deschner2009-07-131-2/+3
| | | | | | | Also use unix_token->uid instead of geteuid() when checking for mapping of the SEC_FLAG_MAXIMUM_ALLOWED flag. Guenther
* libds: merge the UF<->ACB flag mapping functions.Günther Deschner2009-07-131-7/+9
| | | | Guenther
* libds: share UF_ flags between samba3 and 4.Günther Deschner2009-07-131-125/+2
| | | | Guenther
* Remove reply_unixerror() - no longer needed. Should make Metze's refactoring ↵Jeremy Allison2009-07-102-3/+0
| | | | | | a lot easier. Jeremy.
* Make escape_ldap_string take a talloc contextVolker Lendecke2009-07-091-1/+1
|
* s3: Change the share_mode_lock struct to store a base_name and stream_nameTim Prouty2009-07-082-7/+6
|
* s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name()Tim Prouty2009-07-081-3/+0
| | | | | Actually I moved split_ntfs_stream_name into torture.c which is the one consumer of it. This could probably be changed at some point.
* s3: Plumb smb_filename through dos_mode() and related funtionsTim Prouty2009-07-081-5/+7
|
* s3: convert unix_mode to take an smb_filenameTim Prouty2009-07-081-1/+2
|
* Rename update_stat_ex_writetime() -> update_stat_ex_mtime()Jeremy Allison2009-07-081-1/+1
| | | | | to better describe what we're doing here. Jeremy
* The migration to struct stat_ex broke the calculation ofJeremy Allison2009-07-082-0/+3
| | | | | | | | | | | | | | | | create time from the existing timestamps (for systems that need to do this). Once the write time is changed via a sticky write, the create time might need to be recalculated. To do this I needed to add a bool into struct stat_ex to remember if the st_ex_btime field was calculated, or read from the OS. Also fixed the returning of modified write timestamps in the return from NTCreateX, SMBattr and SMBattrE (which weren't taking into account the modified timestamp stored in the open file table). Attempting to fix an issue with Excel 2003 and offline files. Volker and Metze, please review. Jeremy
* s3: Remove unnecessary const qualifiersTim Prouty2009-07-071-5/+4
|
* s3: QNX doesn't know uint - replace with uint_tBjörn Jacke2009-07-071-4/+4
|
* s3: Plumb smb_filename through SMB_VFS_NTIMESTim Prouty2009-07-062-6/+7
|
* s3 sticky write time: Removed unused args and tighten up a function by ↵Tim Prouty2009-07-061-3/+4
| | | | making an arg const
* s3: Plumb smb_filename around SMB_VFS_CHFLAGSTim Prouty2009-07-061-4/+2
| | | | | | | | | | | SMB_VFS_CHFLAGS isn't actually getting the smb_filename struct for now since it only operates on the basefile. This is the strategy for all path-based operations that will never actually operate on a stream. By clarifying the meaning of path based operations that don't take an smb_filename struct, modules that implement streams such as vfs_onefs no longer need to implement SMB_VFS_CHFLAGS to ensure it's only called on the base_name.
* s3: Plumb smb_filename through SMB_VFS_UNLINKTim Prouty2009-07-062-3/+4
|
* s3: Plumb smb_filename through SMB_VFS_RENAMETim Prouty2009-07-062-4/+6
|
* Add const to init_rpc_hdr_baVolker Lendecke2009-07-051-1/+1
|
* Remove "typedef struct ndr_syntax_id RPC_IFACE;"Volker Lendecke2009-07-052-8/+6
|
* Introduce null_ndr_syntax_idVolker Lendecke2009-07-051-0/+1
|
* Make check_bind_req static to rpc_server/srv_pipe.cVolker Lendecke2009-07-051-2/+0
|
* Actually increase PASSDB_INTERFACE_VERSION to 18 :-)Volker Lendecke2009-07-051-1/+1
|
* Add tldap_pull_guidVolker Lendecke2009-07-041-0/+2
|
* Add pdb_get_domain_infoVolker Lendecke2009-07-042-0/+12
|
* Make pdb_ads return an additional flagVolker Lendecke2009-07-041-0/+1
|
* s3-spoolss: add rpccli_spoolss_getprinterdriver convenience wrapper.Günther Deschner2009-07-031-0/+7
| | | | Guenther
* do not redefine _INT32Matt Kraai2009-07-031-2/+4
|
* s3:smbd: make change_notify_reply() more generic and hide send_nt_replies() ↵Stefan Metzmacher2009-07-021-3/+9
| | | | | | | | behind a callback This prepares change notify support for SMB2. metze
* s3:smbd: simplify the notify code a bit and always reply via ↵Stefan Metzmacher2009-07-021-1/+3
| | | | | | change_notify_reply() -> send_nt_replies() metze
* Fix bug #6496 - MS-DFS: cannot follow multibyte char link name.SATOH Fumiyasu2009-06-301-1/+1
| | | | | | | | | consumed_ucs is the number of bytes of the UCS2 path consumed not counting any terminating null. We need to convert back to unix charset and count again to get the number of bytes consumed from the incoming path.
* Fix ndrdump to use a common setup_logging() APIAndrew Bartlett2009-06-291-0/+1
| | | | | | | | | By adding a new common setup_logging_stdout() API, we no longer need to abuse the ABI compatability between the different setup_logging() calls in Samba3 and Samba4's DEBUG() subsystems. The revert of 49a6d757b4d944cd22c91b2838beb83f04fbe1e9 works with this to fix bug 6211. Andrew Bartlett
* Turn the pdb_rid_algorithm into a capabilities call that returns flagsVolker Lendecke2009-06-282-2/+5
|
* If the connection is down, don't try another write.Volker Lendecke2009-06-281-0/+1
|
* Add tldap_search_vaVolker Lendecke2009-06-281-0/+4
|
* Add tstream_read_packetVolker Lendecke2009-06-272-0/+11
|
* s3: pass a valid stat into file_ntimes()Tim Prouty2009-06-251-1/+1
| | | | file_ntimes() calls can_write_to_file() which expects a valid stat struct
* s3 file_access: Convert some more functions over to use smb_filneameTim Prouty2009-06-251-1/+2
|
* s3: Change set_ea() and its callers to use smb_filenameTim Prouty2009-06-251-1/+2
|