Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-10-11 | s3:dbwrap: change dbwrap_store_int32() to NTSTATUS return type | Michael Adam | 1 | -6/+12 | |
for consistency and better error propagation | |||||
2011-10-11 | s3:dbwrap: change dbwrap_fetch_uint32() to NTSTATUS return type (instead of ↵ | Michael Adam | 1 | -6/+5 | |
bool) for consistency and better error propagation | |||||
2011-10-11 | s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return code | Michael Adam | 1 | -4/+18 | |
Return the int32 value retrieved from the db by reference. Before this, return value "-1" was used as a error indication, but it could also be a valid value from the database. | |||||
2011-10-11 | s3:idmap_tdb: fix hwm-handling to use uint32 consistently | Michael Adam | 1 | -8/+10 | |
The initialization code user int32, later writes used uint32... | |||||
2011-10-11 | s3:idmap: convert idmap_tdb to use dbwrap wrapper functions. | Michael Adam | 1 | -22/+34 | |
Avoid direct use of the db_record and db_context structs. | |||||
2011-10-11 | s3:dbwrap: convert dbwrap_fetch(), dbwrap_fetch_bystring() and ↵ | Michael Adam | 1 | -4/+4 | |
dbwrap_fetch_bystring_upper() to NTSTATUS | |||||
2011-07-29 | s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/ | Michael Adam | 1 | -1/+1 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104 | |||||
2011-07-29 | s3:dbwrap: move db_open() to a file dbwrap_open.c of its own. | Michael Adam | 1 | -0/+1 | |
Also start new folder lib/dbwrap/ where dbwrap_open.c is stored and make the fallbacke implementation functoins non-static and create a dbwrap_private.h header file that contains their prototypes. | |||||
2011-06-20 | source3/winbindd/idmap_tdb.c: tdb2 support for wrong endian. | Rusty Russell | 1 | -2/+16 | |
TDB has no idea of endian itself, but it knows whether the TDB is the same endian as the current machine, so we should use that rather than implementing TDB_BIGENDIAN in tdb2. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-05-06 | s3: only include tdb headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-30 | s3-includes: only include system/filesys.h when needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-27 | s3: Fix Coverity ID 2296: UNUSED_VALUE | Volker Lendecke | 1 | -3/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 27 12:12:35 CEST 2011 on sn-devel-104 | |||||
2011-03-22 | s3:idmap: remove the params argument from the init function | Michael Adam | 1 | -1/+1 | |
2011-03-06 | s3: Remove close_fn from idmap_methods | Volker Lendecke | 1 | -6/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104 | |||||
2011-03-06 | s3-idmap-tdb: private_data is a talloc child of dom | Volker Lendecke | 1 | -7/+0 | |
2011-02-27 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -9/+9 | |
2010-11-02 | s3: Fix a typo in a DEBUG msg | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 2 13:13:39 UTC 2010 on sn-devel-104 | |||||
2010-10-12 | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 1 | -0/+1 | |
This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104 | |||||
2010-08-26 | s3-build: use dbwrap.h only where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-26 | s3-idmap: only include idmap headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-19 | s3-idmap: fix uninitialized variable in idmap_tdb_sids_to_unixids_action(). | Günther Deschner | 1 | -1/+1 | |
Michael, please check. Guenther | |||||
2010-08-14 | s3:idmap_tdb: use idmap_rw_new_mapping in idmap_tdb_new_mapping | Michael Adam | 1 | -34/+3 | |
2010-08-14 | s3:idmap_tdb: add idmap_rw_ops to idmap_tdb_context and initialize them in ↵ | Michael Adam | 1 | -0/+15 | |
init_db | |||||
2010-08-14 | s3:idmap_tdb: add my (C) | Michael Adam | 1 | -0/+1 | |
2010-08-14 | s3:idmap_tdb: properly initialize the idmap_tdb context with zero | Michael Adam | 1 | -1/+1 | |
2010-08-14 | s3:idmap_tdb: prevent opening the idmap db more than once. | Michael Adam | 1 | -0/+5 | |
2010-08-14 | s3:idmap_tdb: rewrite sids_to_unixids to create mappings for unmapped sids. | Michael Adam | 1 | -19/+72 | |
2010-08-14 | s3:idmap_tdb: add a idmap_tdb_new_mapping(). | Michael Adam | 1 | -0/+52 | |
High level function to create a new mapping for an unmapped sid. This builds logic that used to reside in the top level idmap code in the backend. To be called inside a transaction to guarantee atomicity of the operation. | |||||
2010-08-14 | s3:idmap_tdb: move the set_mapping code up | Michael Adam | 1 | -103/+104 | |
2010-08-14 | s3:idmap_tdb: use transaction wrapper for idmap_tdb_set_mapping(). | Michael Adam | 1 | -38/+46 | |
2010-08-14 | s3:idmap_tdb: remove unused struct idmap_tdb_state. | Michael Adam | 1 | -8/+0 | |
2010-08-14 | s3:idmap_tdb: remove unused idmap_alloc_db | Michael Adam | 1 | -2/+0 | |
2010-08-14 | s3:idmap_tdb: remove unused idmap_tdb_alloc_close(). | Michael Adam | 1 | -10/+0 | |
2010-08-14 | s3:idmap_tdb: give idmap_domain arg to idmap_tdb_allocate_id and use ctx->db | Michael Adam | 1 | -5/+9 | |
instead of alloc_db | |||||
2010-08-14 | s3:idmap_tdb: call idmap_tdb_init_hwm() from idmap_tdb_open_db(). | Michael Adam | 1 | -1/+2 | |
2010-08-14 | s3:idmap_tdb: move idmap_tdb_init_hwm up. | Michael Adam | 1 | -62/+58 | |
2010-08-14 | s3:idmap_tdb: remove unused idmap_tdb_load_ranges() | Michael Adam | 1 | -35/+0 | |
The idmap_tdb_state (which should actually be called idmap_tdb_alloc_context) is being removed since the alloc part is combined with the id mapping part. | |||||
2010-08-14 | s3:idmap_tdb: have idmap_tdb_open_db take an idmap_domain struct as argument | Michael Adam | 1 | -18/+11 | |
the other arguments are not needed any more and are removed. | |||||
2010-08-14 | s3:idmap_tdb: rename idmap_tdb_alloc_init->idmap_tdb_init_hwm and use db ↵ | Michael Adam | 1 | -24/+13 | |
from idmap_tdb_context instead of the special idmap_alloc_db | |||||
2010-08-14 | s3:idmap_tdb: move definition of struct idmap_tdb_context up. | Michael Adam | 1 | -4/+4 | |
2010-08-14 | s3:idmap_tdb: remove filter_low_id,filter_high_id from idmap_tdb_context | Michael Adam | 1 | -57/+3 | |
These are now taken from the idmap_domain struct. | |||||
2010-08-14 | s3:idmap_tdb: add idmap domain arg to idmap_tdb_upgrade and use domain range | Michael Adam | 1 | -4/+4 | |
2010-08-14 | s3:idmap_tdb: use filter from idmap_domain rather than from idmap_tdb_context | Michael Adam | 1 | -6/+4 | |
2010-08-14 | s3:idmap_tdb: give idmap domain argument to idmap_tdb_sid_to_id | Michael Adam | 1 | -2/+5 | |
instead of idmap_tdb_context. This is in preparation of using the filter from the idmap_domain struct. | |||||
2010-08-14 | s3:idmap_tdb: give idmap domain argument to idmap_tdb_id_to_sid | Michael Adam | 1 | -3/+6 | |
instead of idmap_tdb_context. This is in preparation of using the filter from the idmap_domain struct. | |||||
2010-08-14 | s3:idmap_tdb: implement allocate_id in idmap methods for tdb backend | Michael Adam | 1 | -0/+1 | |
2010-08-14 | s3:idmap_tdb: add idmap_tdb_get_new_id() to allocate a new id given a domain | Michael Adam | 1 | -0/+24 | |
Currently this only works with the default domain, calling out to idmap_tdb_allocate_id(). In the future this will be extended to also work for non-default domains. | |||||
2010-08-14 | s3:idmap_tdb: convert idmap_tdb_allocate_id() to use transaction wrappers | Michael Adam | 1 | -45/+68 | |
2010-08-14 | s3:idmap_tdb: remove an extra blank line | Michael Adam | 1 | -1/+0 | |
2010-08-14 | s3:idmap_tdb: remove unused idmap_alloc_methods | Michael Adam | 1 | -7/+0 | |