Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-29 | s3:dbwrap: change dbwrap_change_int32_atomic() to return NTSTATUS not int32. | Michael Adam | 1 | -6/+7 | |
Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t. | Michael Adam | 1 | -5/+6 | |
Michael | |||||
2009-07-28 | (Hopefully) fix the problem Kai reported with | Jeremy Allison | 1 | -5/+53 | |
net ads leave and IPv6. Ensure all DC lookups prefer IPv4. Jeremy. | |||||
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-24 | Make the smbd VFS typesafe | Volker Lendecke | 1 | -8/+0 | |
2009-07-21 | s3:dbwrap: use the transaction wrapper in dbwrap_trans_store(). | Michael Adam | 1 | -26/+23 | |
Now dbwrap_util.c contains only one call to each of transaction_start, transaction_commit and transaction_cancel. Michael | |||||
2009-07-21 | s3:dbwrap: use the transaction wrapper in dbwrap_trans_delete(). | Michael Adam | 1 | -28/+12 | |
Michael | |||||
2009-07-17 | Fix a typo reading uninitialized memory. Caught by valgrind. | Jeremy Allison | 1 | -3/+1 | |
Jeremy. | |||||
2009-07-16 | Replace more long-lived contexts with talloc_autofree_context(). | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-07-16 | Replace short-lived NULL talloc contexts with talloc_tos(). | Jeremy Allison | 3 | -22/+22 | |
Jeremy. | |||||
2009-07-15 | s3:tldap: fix the build - a void function should not return a value | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2009-07-15 | s3:dbwrap: fix embarrassing typo :-) | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-07-15 | s3:dbwrap_util: add my C | Michael Adam | 1 | -0/+1 | |
Michael | |||||
2009-07-15 | s3:dbwrap: add dbwrap_fetch_bystring_upper(). | Michael Adam | 1 | -0/+17 | |
To fetch a key whose name is stored but not given in upper case. Michael | |||||
2009-07-15 | s3:dbwrap: add dbwrap_store_bystring_upper(). | Michael Adam | 1 | -0/+17 | |
This stores a key under the uppercase version of the given keyname. Michael | |||||
2009-07-15 | s3:dbwrap: add dbwrap_delete_bystring_upper() | Michael Adam | 1 | -0/+16 | |
To delete a key whose name is not given in but stored in uppercase. Michael | |||||
2009-07-15 | s3:dbwrap: add a wrapper dbwrap_trans_do() | Michael Adam | 1 | -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 | |||||
2009-07-15 | s3:lib: map ENOSYS to NT_STATUS_NOT_SUPPORTED instead of NT_STATUS_ACCESS_DENIED | Stefan Metzmacher | 1 | -0/+1 | |
Jeremy: please check and decide if we want to backport this. metze | |||||
2009-07-15 | Consolidate gencache also every 100 writes in a single process | Volker Lendecke | 1 | -0/+14 | |
2009-07-15 | Consolidate string and data_blob routines in gencache | Volker Lendecke | 1 | -138/+56 | |
2009-07-15 | Make gencache more stable | Volker Lendecke | 1 | -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. | |||||
2009-07-15 | Add tdb_data_cmp | Volker Lendecke | 1 | -0/+19 | |
2009-07-15 | Remove gencache_init/shutdown | Volker Lendecke | 2 | -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. | |||||
2009-07-15 | Remove gencache_[un]lock_key | Volker Lendecke | 1 | -25/+0 | |
2009-07-15 | TDB_CONTEXT -> "struct tdb_context" | Volker Lendecke | 1 | -1/+1 | |
2009-07-15 | Replace ASSERTs in gencache with "return false" | Volker Lendecke | 1 | -12/+18 | |
It's a bit strong to panic here I think. | |||||
2009-07-14 | s3: allow setting the TCP_QUICKACK socket option | Björn Jacke | 1 | -0/+3 | |
2009-07-14 | s3-account_policy: add pdb_policy_type enum. | Günther Deschner | 1 | -44/+44 | |
Guenther | |||||
2009-07-14 | s3-account_policy: remove trailing whitespace. | Günther Deschner | 1 | -32/+32 | |
Guenther | |||||
2009-07-13 | libds: merge the UF<->ACB flag mapping functions. | Günther Deschner | 2 | -151/+1 | |
Guenther | |||||
2009-07-10 | Quieten events and tldap debug messages | Volker Lendecke | 1 | -1/+1 | |
2009-07-10 | Fix our base64 implementation for blobs of length 4.... | Volker Lendecke | 1 | -1/+1 | |
The additional length check bit us exactly at 4, removing it. The torture test survives valgrind up to 2000 bytes :-) | |||||
2009-07-09 | Make escape_ldap_string take a talloc context | Volker Lendecke | 2 | -17/+20 | |
2009-07-08 | s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name() | Tim Prouty | 1 | -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. | |||||
2009-07-08 | Rename update_stat_ex_writetime() -> update_stat_ex_mtime() | Jeremy Allison | 1 | -2/+2 | |
to better describe what we're doing here. Jeremy | |||||
2009-07-08 | The migration to struct stat_ex broke the calculation of | Jeremy Allison | 1 | -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 | |||||
2009-07-08 | When faking a create time, use the full timespec values, not time_t. | Jeremy Allison | 1 | -61/+63 | |
Jeremy. | |||||
2009-07-04 | Add tldap_pull_guid | Volker Lendecke | 1 | -0/+11 | |
2009-07-03 | tldap: Do not do a return before we got the search_result | Volker Lendecke | 1 | -1/+0 | |
2009-07-03 | Revert "[s3]pidfile_create: use check is_default_dyn_CONFIGFILE() since we ↵ | Michael Adam | 1 | -1/+1 | |
have it." This reverts commit 1d3dcd1e420104c23769b691d0b8b7958d5c58a7. This fixes Bug #6531 (Pid File creation.) Usually, I would extend is_default_dyn_XYZ() so that it returns true when dyn_XYZ has not been set yet or when its value is equal to the compiled in default value XZY. But this would have a change in effect in popt_common and torture.c: is_default_dyn_CONFIGFILE() is used there to check whether the config file should be overwritten by the contents of the environment variable SMB_CONF_PATH. Currently this is only done when set_dyn_CONFIGFILE() had _not_ previously been called at all, not even with the same value as the compiled in default. Michael | |||||
2009-07-02 | LDB_ERR_INVALID_DN_SYNTAX doesn't exist ... | Andrew Tridgell | 1 | -1/+1 | |
The correct name is ldb.ERR_INVALID_DN_SYNTAX | |||||
2009-07-01 | s3:util: let parent_dirname() correctly return toplevel filenames | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-06-29 | s3:lib/sysquotas: fix usage of SMB_STRUCT_STAT (struct stat_ex). | Michael Adam | 1 | -3/+3 | |
This fixes the build with quotas / configure time detection of sys_quota interface. Michael | |||||
2009-06-29 | Fix ndrdump to use a common setup_logging() API | Andrew Bartlett | 1 | -0/+9 | |
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 | |||||
2009-06-29 | Fix bug 6514: net gives unhelpful "lp_load failed" when it's missing smb.conf | David Markey | 1 | -1/+1 | |
2009-06-28 | If the connection is down, don't try another write. | Volker Lendecke | 1 | -0/+17 | |
2009-06-28 | Add tldap_search_va | Volker Lendecke | 1 | -8/+20 | |
2009-06-28 | tldap_msg_received: Properly free the asn1_struct in case of an error | Volker Lendecke | 1 | -0/+1 | |
2009-06-27 | Move read_ldap_done after read_ldap_send | Volker Lendecke | 1 | -24/+25 | |