Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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 | |
2010-08-14 | s3:idmap_tdb: remove unused idmap_alloc_tdb_init() | Michael Adam | 1 | -5/+0 | |
2010-08-14 | s3:idmap_tdb: don't call idmap_alloc_tdb_init in idmap_tdb_init | Michael Adam | 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. | |||||
2010-08-14 | s3:idmap_tdb: make idmap_alloc_tdb_init() static. | Michael Adam | 1 | -1/+1 | |
2010-08-14 | s3:idmap: remove the set_mapping method from the idmap API | Michael Adam | 1 | -1/+0 | |
2010-08-14 | s3:idmap: remove unused method set_id_hwm from idmap API | Michael Adam | 1 | -45/+0 | |
Michael | |||||
2010-08-14 | s3:idmap: remove unused alloc method get_id_hwm from idmap API | Michael Adam | 1 | -46/+0 | |
Michael | |||||
2010-08-14 | s3:idmap: remove unused method dump_data() from the idmap API | Michael Adam | 1 | -94/+0 | |
Michael | |||||
2010-08-14 | s3:idmap: remove the remove_mapping method from API and backends | Michael Adam | 1 | -119/+0 | |
Michael | |||||
2010-05-21 | s3:dom_sid Global replace of DOM_SID with struct dom_sid | Andrew Bartlett | 1 | -2/+2 | |
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-05-17 | s3:winbind:idmap_tdb: don't check ranges when an invalid entry was found. | Michael Adam | 1 | -0/+1 | |
There is no point in checking the ranges this if the record found had an invalid/unknown type: the mapping is not filled in. If it were initialized to some defaults before, the check just might replace the status NT_STATUS_INTERNAL_DB_ERROR with a NT_STATUS_NONE_MAPPED, which is not as precise. | |||||
2010-01-10 | s3: Replace most calls to sid_append_rid() by sid_compose() | Volker Lendecke | 1 | -2/+1 | |
2009-07-29 | s3:winbind: use transaction store in idmap_tdb_set_hwm() to store new hwm. | Michael Adam | 1 | -5/+4 | |
Btw, the previous code must have failed to warn when exceeding the high_hwm, because it overwrote hwm with the return value of the dbwrap_store_uint32(), which does not return the hwm but 0 or -1, depending on success. Michael | |||||
2009-07-29 | s3:winbind: fix typo in debug message in idmap_tdb. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-07-29 | s3:winbind: fix typo in debugmessage of idmap_tdb | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t. | Michael Adam | 1 | -4/+5 | |
Michael | |||||
2009-05-27 | s3:idmap_tdb: add an entry debug statment to idmap_tdb_db_init() | Michael Adam | 1 | -0/+2 | |
Michael | |||||
2009-05-27 | s3:idmap_tdb: filter out of range mappings in default idmap config | Michael Adam | 1 | -16/+57 | |
This fixes bug #6415 Michael | |||||
2009-03-02 | More fix to initialize idmap statuses | Bo Yang | 1 | -0/+10 | |
2009-02-06 | s3:idmap_tdb: simplify talloc usage with temp context from talloc_stackframe | Michael Adam | 1 | -6/+2 | |
Michael | |||||
2009-02-06 | s3:idmap_tdb: refactor out new function idmap_tdb_load_ranges() | Michael Adam | 1 | -22/+30 | |
Michael | |||||
2009-02-06 | s3:idmap_tdb: use transactions in idmap_tdb_allocate_id() | Michael Adam | 1 | -1/+18 | |
Michael | |||||
2009-02-06 | s3:idmap_tdb: add tmp talloc ctx to idmap_tdb_sid_to_id and remove an fstring | Michael Adam | 1 | -7/+5 | |
Michael | |||||
2009-01-30 | s3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns. | Michael Adam | 1 | -0/+5 | |
Michael |