summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/idmap_tdb.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:dbwrap: move all .c and .h files of dbwrap to lib/dbwrap/Michael Adam2011-07-291-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 Adam2011-07-291-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 Russell2011-06-201-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 Deschner2011-05-061-0/+1
| | | | Guenther
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* s3: Fix Coverity ID 2296: UNUSED_VALUEVolker Lendecke2011-03-271-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 functionMichael Adam2011-03-221-1/+1
|
* s3: Remove close_fn from idmap_methodsVolker Lendecke2011-03-061-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 domVolker Lendecke2011-03-061-7/+0
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-02-271-9/+9
|
* s3: Fix a typo in a DEBUG msgVolker Lendecke2010-11-021-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.hAndrew Bartlett2010-10-121-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 Deschner2010-08-261-0/+1
| | | | Guenther
* s3-idmap: only include idmap headers where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* s3-idmap: fix uninitialized variable in idmap_tdb_sids_to_unixids_action().Günther Deschner2010-08-191-1/+1
| | | | | | Michael, please check. Guenther
* s3:idmap_tdb: use idmap_rw_new_mapping in idmap_tdb_new_mappingMichael Adam2010-08-141-34/+3
|
* s3:idmap_tdb: add idmap_rw_ops to idmap_tdb_context and initialize them in ↵Michael Adam2010-08-141-0/+15
| | | | init_db
* s3:idmap_tdb: add my (C)Michael Adam2010-08-141-0/+1
|
* s3:idmap_tdb: properly initialize the idmap_tdb context with zeroMichael Adam2010-08-141-1/+1
|
* s3:idmap_tdb: prevent opening the idmap db more than once.Michael Adam2010-08-141-0/+5
|
* s3:idmap_tdb: rewrite sids_to_unixids to create mappings for unmapped sids.Michael Adam2010-08-141-19/+72
|
* s3:idmap_tdb: add a idmap_tdb_new_mapping().Michael Adam2010-08-141-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 upMichael Adam2010-08-141-103/+104
|
* s3:idmap_tdb: use transaction wrapper for idmap_tdb_set_mapping().Michael Adam2010-08-141-38/+46
|
* s3:idmap_tdb: remove unused struct idmap_tdb_state.Michael Adam2010-08-141-8/+0
|
* s3:idmap_tdb: remove unused idmap_alloc_dbMichael Adam2010-08-141-2/+0
|
* s3:idmap_tdb: remove unused idmap_tdb_alloc_close().Michael Adam2010-08-141-10/+0
|
* s3:idmap_tdb: give idmap_domain arg to idmap_tdb_allocate_id and use ctx->dbMichael Adam2010-08-141-5/+9
| | | | instead of alloc_db
* s3:idmap_tdb: call idmap_tdb_init_hwm() from idmap_tdb_open_db().Michael Adam2010-08-141-1/+2
|
* s3:idmap_tdb: move idmap_tdb_init_hwm up.Michael Adam2010-08-141-62/+58
|
* s3:idmap_tdb: remove unused idmap_tdb_load_ranges()Michael Adam2010-08-141-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 argumentMichael Adam2010-08-141-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 Adam2010-08-141-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 Adam2010-08-141-4/+4
|
* s3:idmap_tdb: remove filter_low_id,filter_high_id from idmap_tdb_contextMichael Adam2010-08-141-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 rangeMichael Adam2010-08-141-4/+4
|
* s3:idmap_tdb: use filter from idmap_domain rather than from idmap_tdb_contextMichael Adam2010-08-141-6/+4
|
* s3:idmap_tdb: give idmap domain argument to idmap_tdb_sid_to_idMichael Adam2010-08-141-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_sidMichael Adam2010-08-141-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 backendMichael Adam2010-08-141-0/+1
|
* s3:idmap_tdb: add idmap_tdb_get_new_id() to allocate a new id given a domainMichael Adam2010-08-141-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 wrappersMichael Adam2010-08-141-45/+68
|
* s3:idmap_tdb: remove an extra blank lineMichael Adam2010-08-141-1/+0
|
* s3:idmap_tdb: remove unused idmap_alloc_methodsMichael Adam2010-08-141-7/+0
|
* s3:idmap_tdb: remove unused idmap_alloc_tdb_init()Michael Adam2010-08-141-5/+0
|
* s3:idmap_tdb: don't call idmap_alloc_tdb_init in idmap_tdb_initMichael Adam2010-08-141-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 Adam2010-08-141-1/+1
|
* s3:idmap: remove the set_mapping method from the idmap APIMichael Adam2010-08-141-1/+0
|
* s3:idmap: remove unused method set_id_hwm from idmap APIMichael Adam2010-08-141-45/+0
| | | | Michael
* s3:idmap: remove unused alloc method get_id_hwm from idmap APIMichael Adam2010-08-141-46/+0
| | | | Michael