Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/ | Michael Adam | 2011-07-29 | 1 | -1/+1 |
| | | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Jul 29 13:34:22 CEST 2011 on sn-devel-104 | ||||
* | s3:dbwrap: move db_open() to a file dbwrap_open.c of its own. | Michael Adam | 2011-07-29 | 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. | ||||
* | source3/winbindd/idmap_tdb.c: tdb2 support for wrong endian. | Rusty Russell | 2011-06-20 | 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> | ||||
* | s3: only include tdb headers where needed. | Günther Deschner | 2011-05-06 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-includes: only include system/filesys.h when needed. | Günther Deschner | 2011-03-30 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3: Fix Coverity ID 2296: UNUSED_VALUE | Volker Lendecke | 2011-03-27 | 1 | -3/+0 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 27 12:12:35 CEST 2011 on sn-devel-104 | ||||
* | s3:idmap: remove the params argument from the init function | Michael Adam | 2011-03-22 | 1 | -1/+1 |
| | |||||
* | s3: Remove close_fn from idmap_methods | Volker Lendecke | 2011-03-06 | 1 | -6/+0 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104 | ||||
* | s3-idmap-tdb: private_data is a talloc child of dom | Volker Lendecke | 2011-03-06 | 1 | -7/+0 |
| | |||||
* | s3: Fix some nonempty blank lines | Volker Lendecke | 2011-02-27 | 1 | -9/+9 |
| | |||||
* | s3: Fix a typo in a DEBUG msg | Volker Lendecke | 2010-11-02 | 1 | -1/+1 |
| | | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Nov 2 13:13:39 UTC 2010 on sn-devel-104 | ||||
* | libcli/security Provide a common, top level libcli/security/security.h | Andrew Bartlett | 2010-10-12 | 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 | ||||
* | s3-build: use dbwrap.h only where needed. | Günther Deschner | 2010-08-26 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-idmap: only include idmap headers where needed. | Günther Deschner | 2010-08-26 | 1 | -0/+1 |
| | | | | Guenther | ||||
* | s3-idmap: fix uninitialized variable in idmap_tdb_sids_to_unixids_action(). | Günther Deschner | 2010-08-19 | 1 | -1/+1 |
| | | | | | | Michael, please check. Guenther | ||||
* | s3:idmap_tdb: use idmap_rw_new_mapping in idmap_tdb_new_mapping | Michael Adam | 2010-08-14 | 1 | -34/+3 |
| | |||||
* | s3:idmap_tdb: add idmap_rw_ops to idmap_tdb_context and initialize them in ↵ | Michael Adam | 2010-08-14 | 1 | -0/+15 |
| | | | | init_db | ||||
* | s3:idmap_tdb: add my (C) | Michael Adam | 2010-08-14 | 1 | -0/+1 |
| | |||||
* | s3:idmap_tdb: properly initialize the idmap_tdb context with zero | Michael Adam | 2010-08-14 | 1 | -1/+1 |
| | |||||
* | s3:idmap_tdb: prevent opening the idmap db more than once. | Michael Adam | 2010-08-14 | 1 | -0/+5 |
| | |||||
* | s3:idmap_tdb: rewrite sids_to_unixids to create mappings for unmapped sids. | Michael Adam | 2010-08-14 | 1 | -19/+72 |
| | |||||
* | s3:idmap_tdb: add a idmap_tdb_new_mapping(). | Michael Adam | 2010-08-14 | 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. | ||||
* | s3:idmap_tdb: move the set_mapping code up | Michael Adam | 2010-08-14 | 1 | -103/+104 |
| | |||||
* | s3:idmap_tdb: use transaction wrapper for idmap_tdb_set_mapping(). | Michael Adam | 2010-08-14 | 1 | -38/+46 |
| | |||||
* | s3:idmap_tdb: remove unused struct idmap_tdb_state. | Michael Adam | 2010-08-14 | 1 | -8/+0 |
| | |||||
* | s3:idmap_tdb: remove unused idmap_alloc_db | Michael Adam | 2010-08-14 | 1 | -2/+0 |
| | |||||
* | s3:idmap_tdb: remove unused idmap_tdb_alloc_close(). | Michael Adam | 2010-08-14 | 1 | -10/+0 |
| | |||||
* | s3:idmap_tdb: give idmap_domain arg to idmap_tdb_allocate_id and use ctx->db | Michael Adam | 2010-08-14 | 1 | -5/+9 |
| | | | | instead of alloc_db | ||||
* | s3:idmap_tdb: call idmap_tdb_init_hwm() from idmap_tdb_open_db(). | Michael Adam | 2010-08-14 | 1 | -1/+2 |
| | |||||
* | s3:idmap_tdb: move idmap_tdb_init_hwm up. | Michael Adam | 2010-08-14 | 1 | -62/+58 |
| | |||||
* | s3:idmap_tdb: remove unused idmap_tdb_load_ranges() | Michael Adam | 2010-08-14 | 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. | ||||
* | s3:idmap_tdb: have idmap_tdb_open_db take an idmap_domain struct as argument | Michael Adam | 2010-08-14 | 1 | -18/+11 |
| | | | | the other arguments are not needed any more and are removed. | ||||
* | s3:idmap_tdb: rename idmap_tdb_alloc_init->idmap_tdb_init_hwm and use db ↵ | Michael Adam | 2010-08-14 | 1 | -24/+13 |
| | | | | | | from idmap_tdb_context instead of the special idmap_alloc_db | ||||
* | s3:idmap_tdb: move definition of struct idmap_tdb_context up. | Michael Adam | 2010-08-14 | 1 | -4/+4 |
| | |||||
* | s3:idmap_tdb: remove filter_low_id,filter_high_id from idmap_tdb_context | Michael Adam | 2010-08-14 | 1 | -57/+3 |
| | | | | These are now taken from the idmap_domain struct. | ||||
* | s3:idmap_tdb: add idmap domain arg to idmap_tdb_upgrade and use domain range | Michael Adam | 2010-08-14 | 1 | -4/+4 |
| | |||||
* | s3:idmap_tdb: use filter from idmap_domain rather than from idmap_tdb_context | Michael Adam | 2010-08-14 | 1 | -6/+4 |
| | |||||
* | s3:idmap_tdb: give idmap domain argument to idmap_tdb_sid_to_id | Michael Adam | 2010-08-14 | 1 | -2/+5 |
| | | | | | instead of idmap_tdb_context. This is in preparation of using the filter from the idmap_domain struct. | ||||
* | s3:idmap_tdb: give idmap domain argument to idmap_tdb_id_to_sid | Michael Adam | 2010-08-14 | 1 | -3/+6 |
| | | | | | instead of idmap_tdb_context. This is in preparation of using the filter from the idmap_domain struct. | ||||
* | s3:idmap_tdb: implement allocate_id in idmap methods for tdb backend | Michael Adam | 2010-08-14 | 1 | -0/+1 |
| | |||||
* | s3:idmap_tdb: add idmap_tdb_get_new_id() to allocate a new id given a domain | Michael Adam | 2010-08-14 | 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. | ||||
* | s3:idmap_tdb: convert idmap_tdb_allocate_id() to use transaction wrappers | Michael Adam | 2010-08-14 | 1 | -45/+68 |
| | |||||
* | s3:idmap_tdb: remove an extra blank line | Michael Adam | 2010-08-14 | 1 | -1/+0 |
| | |||||
* | s3:idmap_tdb: remove unused idmap_alloc_methods | Michael Adam | 2010-08-14 | 1 | -7/+0 |
| | |||||
* | s3:idmap_tdb: remove unused idmap_alloc_tdb_init() | Michael Adam | 2010-08-14 | 1 | -5/+0 |
| | |||||
* | s3:idmap_tdb: don't call idmap_alloc_tdb_init in idmap_tdb_init | Michael Adam | 2010-08-14 | 1 | -7/+0 |
| | | | | | | The registering of alloc backends is being removed. The idmap backends are responsible for initializing their alloc code on their own if necessary. | ||||
* | s3:idmap_tdb: make idmap_alloc_tdb_init() static. | Michael Adam | 2010-08-14 | 1 | -1/+1 |
| | |||||
* | s3:idmap: remove the set_mapping method from the idmap API | Michael Adam | 2010-08-14 | 1 | -1/+0 |
| | |||||
* | s3:idmap: remove unused method set_id_hwm from idmap API | Michael Adam | 2010-08-14 | 1 | -45/+0 |
| | | | | Michael | ||||
* | s3:idmap: remove unused alloc method get_id_hwm from idmap API | Michael Adam | 2010-08-14 | 1 | -46/+0 |
| | | | | Michael |