Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-05-18 | s3:idmap_cache: improve checks for format of value string in ↵ | Michael Adam | 1 | -0/+15 | |
idmap_cache_find_sid2unixid() Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri May 18 16:34:27 CEST 2012 on sn-devel-104 | |||||
2012-05-18 | s3:idmap_cache: add common exit point to idmap_cache_find_sid2unixid() | Michael Adam | 1 | -12/+10 | |
2012-05-18 | s3:idmap_cache: improve debug messages in idmap_cache_find_sid2unixid() | Michael Adam | 1 | -5/+24 | |
2012-05-15 | s3: Remove some unused code | Volker Lendecke | 1 | -14/+0 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Tue May 15 18:24:10 CEST 2012 on sn-devel-104 | |||||
2012-05-14 | lib/util: move tevent_req_poll_ntstatus() to tevent_ntstatus.c | Stefan Metzmacher | 1 | -11/+0 | |
metze | |||||
2012-05-14 | s3:lib/util: use map_nt_error_from_unix_common() in tevent_req_poll_ntstatus() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-05-14 | move the dbwrap library to the top level | Michael Adam | 14 | -2812/+2 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon May 14 04:04:55 CEST 2012 on sn-devel-104 | |||||
2012-05-13 | s3:lib:dbwrap: use [u]int[num]_t consistently in dbwrap_tdb.c | Michael Adam | 1 | -1/+1 | |
2012-05-13 | s3:lib:dbwrap: use [u]int[num]_t consistently in dbwrap_rbt.c | Michael Adam | 1 | -2/+2 | |
2012-05-13 | s3:lib:dbwrap: use [u]int[num]_t consistently in dbwrap_ctdb.c | Michael Adam | 1 | -6/+8 | |
2012-05-13 | s3:lib:dbwrap: use [u]int[num]_t consistently in dbwrap_file.c | Michael Adam | 1 | -6/+7 | |
2012-05-13 | s3:lib:dbwrap: use [u]int[num]_t consistently in dbwrap_util.c | Michael Adam | 1 | -9/+9 | |
2012-05-13 | s3:dbwrap: move definition of dbwrap_lock_order to dbwrap.h | Michael Adam | 4 | -8/+7 | |
This is needed in all of the library, not only in the dbwrap_open part. | |||||
2012-05-09 | s3-lib/sysacls: Do not include an embedded \0 between ACL entries in ↵ | Andrew Bartlett | 1 | -2/+3 | |
sys_acl_to_text() This makes it possible to print the entire string again. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 9 06:07:06 CEST 2012 on sn-devel-104 | |||||
2012-05-09 | s3-lib: Add const to sys_acl_to_text | Andrew Bartlett | 1 | -1/+1 | |
2012-05-09 | s3-lib: Fix indentation in sys_acl_to_text() | Andrew Bartlett | 1 | -2/+2 | |
2012-05-06 | s3:idmap_cache: change DEBUG message to level 10 | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2012-05-02 | s3-idmap: remove (now) unused function idmap_cache_set_sid2both() | Andrew Bartlett | 2 | -25/+0 | |
Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-05-02 | s3-idmap: Rework idmap_cache to store ID_TYPE_BOTH values | Andrew Bartlett | 2 | -176/+240 | |
This required that the lower level cache store a UID/GID and a type, and that we operate on struct unixid rather than just uid/gid. The ID_TYPE_BOTH is then handled as being a positive mapping for both a UID and GID value. Wrapper functions are provided so that callers are not changed in this patch. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2012-05-01 | s3:util add sid_check_is_wellknown_builtin() | Christian Ambach | 1 | -0/+27 | |
2012-04-30 | s3-lib Add a way to allocate the task_id value in server_id | Andrew Bartlett | 1 | -0/+42 | |
This safely allocates the task_id so that when we have multiple event contexts, they can each have their own messaging context, particularly for the imessaging subsystem under source4. Andrew Bartlett | |||||
2012-04-24 | s3: Fix Coverity ID 2751: REVERSE_INULL | Volker Lendecke | 1 | -1/+1 | |
2012-04-23 | s3-dbwrap: A void function can not return a value | Andrew Bartlett | 1 | -1/+1 | |
Only non-gcc compilers seem to notice this as an error. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 23 05:58:52 CEST 2012 on sn-devel-104 | |||||
2012-04-21 | s3: Implement db_id for dbwrap_cache | Volker Lendecke | 1 | -0/+9 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Sat Apr 21 13:46:00 CEST 2012 on sn-devel-104 | |||||
2012-04-21 | s3: Initialize "stored_callback" in dbwrap_cache | Volker Lendecke | 1 | -0/+1 | |
This should fix one of the recent flaky tests | |||||
2012-04-20 | s3:id_cache: do not use the in-memory idmap cache (it is going to be removed) | Michael Adam | 1 | -90/+0 | |
This also removes the ID_CACHE_FLUSH message. | |||||
2012-04-20 | s3-dbwrap: dbwrap_watch_record_stored => NT_STATUS_NOT_FOUND is ok... | Stefan Metzmacher | 1 | -0/+3 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Fri Apr 20 17:05:52 CEST 2012 on sn-devel-104 | |||||
2012-04-19 | s3-g_lock: Use dbwrap_record_watch_send/recv | Volker Lendecke | 1 | -446/+170 | |
This simplifies the g_lock implementation. The new implementation tries to acquire a lock. If that fails due to a lock conflict, wait for the g_lock record to change. Upon change, just try again. The old logic had to cope with pending records and an ugly hack into ctdb itself. As a bonus, we now get a really clean async g_lock_lock_send/recv that can asynchronously wait for a global lock. This would have been almost impossible to do without the dbwrap_record_watch infrastructure. | |||||
2012-04-19 | s3-dbwrap: Add dbwrap_record_watch_send/recv | Volker Lendecke | 2 | -0/+529 | |
With this API you can asynchronously wait for a record to be modified | |||||
2012-04-20 | s3-dbwrap: Add dbwrap_set_stored_callback | Volker Lendecke | 6 | -2/+47 | |
This is a per-db function that is called whenever some record is modified | |||||
2012-04-20 | s3-dbwrap: Add "db_context" to "db_record" | Volker Lendecke | 4 | -0/+10 | |
2012-04-20 | s3-dbwrap: Add dbwrap_db_id | Volker Lendecke | 6 | -0/+50 | |
This returns a blob uniquely identifying the database | |||||
2012-04-20 | s3: Fix msg_channel in the cluster case | Volker Lendecke | 1 | -3/+6 | |
2012-04-19 | s3: Fix the build on FreeBSD | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Thu Apr 19 19:13:45 CEST 2012 on sn-devel-104 | |||||
2012-04-19 | s3: Fix Coverity ID 2743: CHECKED_RETURN | Volker Lendecke | 1 | -3/+6 | |
2012-04-19 | s3: Fix Coverity ID 2744: CHECKED_RETURN | Volker Lendecke | 1 | -1/+6 | |
2012-04-19 | s3: Fix Coverity ID 2745 and 2746: FORWARD_NULL | Volker Lendecke | 1 | -11/+15 | |
We can assume that the rbt dbs are around | |||||
2012-04-19 | s3: Attempt to fix Coverity ID 2748: INTEGER_OVERFLOW | Volker Lendecke | 1 | -1/+1 | |
Not sure this will actually please Coverity, but it fixes a severe bug | |||||
2012-04-19 | s3-xattr_tdb: Remove dead code: talloc_stackframe() cannot fail | Andrew Bartlett | 1 | -12/+0 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 14:15:42 CEST 2012 on sn-devel-104 | |||||
2012-04-19 | s3-dbwrap: Remove dead code: talloc_stackframe() cannot fail | Andrew Bartlett | 1 | -10/+1 | |
2012-04-18 | s3-dbwrap: Fix an unused var warning | Volker Lendecke | 1 | -0/+2 | |
2012-04-18 | s3-xattr_tdb: Use talloc_stackframe() more to allow calling from common code | Andrew Bartlett | 1 | -14/+31 | |
2012-04-18 | s3-xattr_tdb: Be nice to xattr_tdb_getxattr callers, return the full blob | Andrew Bartlett | 2 | -9/+6 | |
In this case, the blob is already in memory, so it is easier to return the full blob to the caller, and let the caller decide if some interface restriction stops the full blob from being passed all the way up the stack. This allows us to quickly write a python wrapper for this xattr storage mechanism. Andrew Bartlett | |||||
2012-04-18 | s3-xattr_tdb: make xattr_tdb a private library, for use outside vfs_xattr_tdb | Andrew Bartlett | 2 | -0/+495 | |
2012-04-18 | s3-lib: Add file_id_string() | Andrew Bartlett | 2 | -3/+23 | |
2012-04-18 | s3-build: move file_id.c into samba3-util and create a private header | Andrew Bartlett | 2 | -0/+31 | |
2012-04-18 | lib/util: Move map_nt_error_from_tdb to the top level | Andrew Bartlett | 1 | -58/+0 | |
This will help with making dbwrap available as a top level library. Andrew Bartlett | |||||
2012-04-18 | s3-dbwrap: push lp_ctx up another layer in the stack | Andrew Bartlett | 3 | -5/+6 | |
This will allow db_open_tdb() to be called from common code, which may already have a loadparm context loaded. It also slowly moves the lp_ctx up the stack, as required to remove the library loop between smbconf and the registry. Andrew Bartlett | |||||
2012-04-18 | s3-dbwrap: Add talloc_stackframe() calls | Andrew Bartlett | 1 | -5/+21 | |
This is in preperation for calling dbwrap from common code, where we may not have a stackframe set up. Andrew Bartlett | |||||
2012-04-17 | s3: Make ctdbd_messaging_send_blob available in non-clustered mode | Volker Lendecke | 1 | -1/+10 | |
This will avoid the need for some #ifdefs |