summaryrefslogtreecommitdiffstats
path: root/source3/lib
Commit message (Collapse)AuthorAgeFilesLines
* Implement db_rbt_traverseVolker Lendecke2009-08-081-4/+33
|
* Fix some nonempty blank linesVolker Lendecke2009-08-076-37/+36
|
* s3/smbldap: Fix typo in debug message.Karolin Seeger2009-08-061-1/+1
| | | | Karolin
* Increase the max_grp value to 128 (AIX NGROUPS_MAX value) instead of 32 to ↵Yannick Bergeron2009-07-311-1/+1
| | | | allow AIX to call sys_getgrouplist only once
* s3:dbwrap: add dbwrap_trans_change_int32_atomic()Michael Adam2009-07-291-0/+17
| | | | | | A transaction wrapper for dbwrap_change_int32_atomic(). Michael
* s3:dbwrap: export logic of dbwrap_change_int32_atomic into an action functionMichael Adam2009-07-291-6/+31
| | | | | | to prepare for adding a transaction wrapper to dbwrap_change_int32_atomic() Michael
* s3:dbwrap: change dbwrap_change_int32_atomic() to take int32_t, not int32Michael Adam2009-07-291-2/+2
| | | | Michael
* s3:dbwrap: add dbwrap_trans_change_uint32_atomic()Michael Adam2009-07-291-0/+17
| | | | | | 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-291-6/+7
| | | | Michael
* s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t.Michael Adam2009-07-291-5/+6
| | | | Michael
* (Hopefully) fix the problem Kai reported withJeremy Allison2009-07-281-5/+53
| | | | | | net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy.
* Use a switch statement in charset_name()Volker Lendecke2009-07-251-8/+24
|
* Fix some nonempty blank linesVolker Lendecke2009-07-251-17/+17
|
* Make the smbd VFS typesafeVolker Lendecke2009-07-241-8/+0
|
* s3:dbwrap: use the transaction wrapper in dbwrap_trans_store().Michael Adam2009-07-211-26/+23
| | | | | | | Now dbwrap_util.c contains only one call to each of transaction_start, transaction_commit and transaction_cancel. Michael
* s3:dbwrap: use the transaction wrapper in dbwrap_trans_delete().Michael Adam2009-07-211-28/+12
| | | | Michael
* Fix a typo reading uninitialized memory. Caught by valgrind.Jeremy Allison2009-07-171-3/+1
| | | | Jeremy.
* Replace more long-lived contexts with talloc_autofree_context().Jeremy Allison2009-07-161-1/+1
| | | | Jeremy.
* Replace short-lived NULL talloc contexts with talloc_tos().Jeremy Allison2009-07-163-22/+22
| | | | Jeremy.
* s3:tldap: fix the build - a void function should not return a valueStefan Metzmacher2009-07-151-3/+3
| | | | metze
* s3:dbwrap: fix embarrassing typo :-)Michael Adam2009-07-151-1/+1
| | | | Michael
* s3:dbwrap_util: add my CMichael Adam2009-07-151-0/+1
| | | | Michael
* s3:dbwrap: add dbwrap_fetch_bystring_upper().Michael Adam2009-07-151-0/+17
| | | | | | To fetch a key whose name is stored but not given in upper case. Michael
* s3:dbwrap: add dbwrap_store_bystring_upper().Michael Adam2009-07-151-0/+17
| | | | | | This stores a key under the uppercase version of the given keyname. Michael
* s3:dbwrap: add dbwrap_delete_bystring_upper()Michael Adam2009-07-151-0/+16
| | | | | | 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/+33
| | | | | | | | | 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
* s3:lib: map ENOSYS to NT_STATUS_NOT_SUPPORTED instead of NT_STATUS_ACCESS_DENIEDStefan Metzmacher2009-07-151-0/+1
| | | | | | Jeremy: please check and decide if we want to backport this. metze
* Consolidate gencache also every 100 writes in a single processVolker Lendecke2009-07-151-0/+14
|
* Consolidate string and data_blob routines in gencacheVolker Lendecke2009-07-151-138/+56
|
* Make gencache more stableVolker Lendecke2009-07-151-15/+268
| | | | | | | | | | 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/+19
|
* Remove gencache_init/shutdownVolker Lendecke2009-07-152-21/+1
| | | | | 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-25/+0
|
* TDB_CONTEXT -> "struct tdb_context"Volker Lendecke2009-07-151-1/+1
|
* Replace ASSERTs in gencache with "return false"Volker Lendecke2009-07-151-12/+18
| | | | It's a bit strong to panic here I think.
* s3: allow setting the TCP_QUICKACK socket optionBjörn Jacke2009-07-141-0/+3
|
* s3-account_policy: add pdb_policy_type enum.Günther Deschner2009-07-141-44/+44
| | | | Guenther
* s3-account_policy: remove trailing whitespace.Günther Deschner2009-07-141-32/+32
| | | | Guenther
* libds: merge the UF<->ACB flag mapping functions.Günther Deschner2009-07-132-151/+1
| | | | Guenther
* Quieten events and tldap debug messagesVolker Lendecke2009-07-101-1/+1
|
* Fix our base64 implementation for blobs of length 4....Volker Lendecke2009-07-101-1/+1
| | | | | The additional length check bit us exactly at 4, removing it. The torture test survives valgrind up to 2000 bytes :-)
* Make escape_ldap_string take a talloc contextVolker Lendecke2009-07-092-17/+20
|
* s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name()Tim Prouty2009-07-081-90/+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.
* Rename update_stat_ex_writetime() -> update_stat_ex_mtime()Jeremy Allison2009-07-081-2/+2
| | | | | to better describe what we're doing here. Jeremy
* The migration to struct stat_ex broke the calculation ofJeremy Allison2009-07-081-14/+58
| | | | | | | | | | | | | | | | 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