Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-08-14 | s3:idmap: remove unused method set_id_hwm from idmap API | Michael Adam | 1 | -12/+0 | |
Michael | |||||
2010-08-14 | s3:idmap: remove unused alloc method get_id_hwm from idmap API | Michael Adam | 1 | -49/+0 | |
Michael | |||||
2010-08-14 | s3:idmap: remove unused method dump_data() from the idmap API | Michael Adam | 1 | -11/+0 | |
Michael | |||||
2010-08-14 | s3:idmap: remove the remove_mapping method from API and backends | Michael Adam | 1 | -12/+0 | |
Michael | |||||
2010-08-14 | s3:idmap_tdb2: fix a debug message | Michael Adam | 1 | -1/+1 | |
2010-05-20 | s3:winbind:idmap_tdb2_set_mapping: untangle assignment from check | Michael Adam | 1 | -1/+2 | |
2010-04-29 | s3: range-check idmap script output | Volker Lendecke | 1 | -0/+13 | |
Not doing so results in the id mapping succeeding once unchecked and later on being refused, because when reading from the tdb we do the checks. | |||||
2010-04-29 | s3: Fix an uninitialized variable in idmap_tdb2_sid_to_id() | Volker Lendecke | 1 | -0/+1 | |
When we find an invalid record in the database, there's no point in checking the non-existing value against the range limits. | |||||
2010-04-29 | s3: Fix some nonempty blank lines | Volker Lendecke | 1 | -14/+14 | |
2009-08-20 | s3-idmap: fix two uninitialized variable warnings in idmap_tdb2. | Günther Deschner | 1 | -3/+3 | |
Guenther | |||||
2009-07-29 | s3:winbind: use transaction in idmap_tdb2_allocate_id_action(). | Michael Adam | 1 | -1/+1 | |
This uses the new dbwrap_trans_change_uint32_atomic() instead of dbwrap_change_uint32_atomic(). Now all db write operations in idmap_tdb2.c are using transactions. Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t. | Michael Adam | 1 | -4/+2 | |
Michael | |||||
2009-07-29 | s3:winbind: in idmap_tdb2_sid_to_id(), use transaction wrapped stores. | Michael Adam | 1 | -9/+15 | |
When a mapping is not found, then the idmap script is called (if defined). When this gives a reply for the desired sid, this reply is stored in the db. This patch wraps theses two store operations into a transaction by re-using the idmap_tdb2_set_mapping_action() function previously defined for idmap_tdb2_set_mapping(). Michael | |||||
2009-07-29 | s3:winbind: in idmap_tdb2_id_to_sid(), use transaction wrapped stores. | Michael Adam | 1 | -9/+12 | |
When a mapping is not found, then the idmap script is called (if defined). When this gives a reply for the desired id, this reply is stored in the db. This patch wraps theses two store operations into a transaction by re-using the idmap_tdb2_set_mapping_action() function previously defined for idmap_tdb2_set_mapping(). Michael | |||||
2009-07-29 | s3:winbind: use transaction wrapper in idmap_tdb2_allocate_id() | Michael Adam | 1 | -43/+69 | |
Michael | |||||
2009-07-29 | s3:winbind: use transaction wrapper in idmap_tdb2_set_mapping() | Michael Adam | 1 | -49/+55 | |
Michael | |||||
2009-05-27 | s3:idmap_tdb2: filter out of range mappings in default idmap config | Michael Adam | 1 | -12/+49 | |
This fixes bug #6416 Michael | |||||
2009-03-02 | More fix to initialize idmap statuses | Bo Yang | 1 | -0/+10 | |
2009-02-06 | s3:idmap_tdb2: untangle assignment and check in idmap_tdb2_alloc_load() | Michael Adam | 1 | -6/+4 | |
Michael | |||||
2009-02-06 | s3:idmap_tdb2: factor lodaing of ranges out into idmap_tdb2_load_ranges() | Michael Adam | 1 | -25/+41 | |
Michael | |||||
2009-02-06 | s3:idmap_tdb2: move together code that belongs together in idmap_tdb2_alloc_load | Michael Adam | 1 | -7/+8 | |
Michael | |||||
2009-02-06 | s3:idmap_tdb2: streamline idmap_tdb2_sid_to_id, | Michael Adam | 1 | -6/+7 | |
adding tmp talloc ctx and removing a variable Michael | |||||
2008-09-29 | removed unused variables | Andrew Tridgell | 1 | -2/+1 | |
2008-09-29 | fixed segv on startup with trusted domains | Andrew Tridgell | 1 | -0/+16 | |
With some setups, idmap_tdb2_allocate_id can be called before the allocate backend is initialised, leading to a segv. This change ensures that the db is opened in all paths that use it | |||||
2008-08-13 | use transactions in idmap_tdb2 | Andrew Tridgell | 1 | -18/+42 | |
(This used to be commit 32b8db27652a66a2ade547a6d27f34d0816f7296) | |||||
2008-08-13 | got rid of the redundent cache database | Andrew Tridgell | 1 | -134/+28 | |
(This used to be commit 126f4ac8e85458ee4693b89a184b99420f1b6bee) | |||||
2008-08-13 | idmap tdb2: fix inconsistent mappings by checking for race and retrying to ↵ | Michael Adam | 1 | -57/+13 | |
fetch mapping. Michael (This used to be commit cb4c74c9c206e5a445ca636fa6562ce721ea5839) | |||||
2008-08-13 | idmap tdb2: fix broken logic in tdb2_delete_bystring(). | Michael Adam | 1 | -5/+8 | |
1. use the return value that idmap_tdb2_open_perm_db() gives us 2. don't delete frep the local db if deleting from the perm db failed. 3. fix wrong interpretation of return value of the local delete Michael (This used to be commit 147573d7f6faab0ad90258b6a28c4b9575ccb6ea) | |||||
2008-08-13 | idmap tdb2: fix broken logic in tdb2_store_bystring(). | Michael Adam | 1 | -5/+8 | |
1. use the return value that idmap_tdb2_open_perm_db() gives us 2. don't write to the local db if writing to the perm db failed. 3. fix wrong interpretation of return value of the local store Michael (This used to be commit be8c6b4f2f40014313899b5cbc1da9d390d94fee) | |||||
2008-08-12 | Remove "idmap alloc config : range" parameter | Volker Lendecke | 1 | -54/+37 | |
This was overwritten by "idmap uid/gid" anyway. These are now the range parameters for the alloc backend. (This used to be commit d563a7b80dc3e759069db2cd54d596a1b8c55191) | |||||
2008-08-12 | idmap rewrite | Volker Lendecke | 1 | -26/+2 | |
(This used to be commit 30a180f2fce8cf6a3e5548f6bba453272ba70b33) | |||||
2008-07-11 | Revert "Fix nonempty whitespace only lines" | Volker Lendecke | 1 | -14/+14 | |
This reverts commit cc77db2acbc35cea58576f1e28c7a760a5e31609. (This used to be commit ed5b516c2027d78011cdaa7cbbc01bb01e766381) | |||||
2008-07-02 | Fix nonempty whitespace only lines | Volker Lendecke | 1 | -14/+14 | |
(This used to be commit cc77db2acbc35cea58576f1e28c7a760a5e31609) | |||||
2008-01-16 | Convert old sid-string handling in idmap_tdb2 to a new one | Alexander Bokovoy | 1 | -4/+7 | |
(This used to be commit ee851730cef1eb506b47faf57e25789ad3c6aafa) | |||||
2008-01-16 | idmap TDB2 backend, used for clustered Samba setups. | Alexander Bokovoy | 1 | -0/+1014 | |
This uses 2 tdb files. One is permanent, and is in shared storage on the cluster (using "tdb:idmap2.tdb =" in smb.conf). The other is a temporary cache tdb on local storage. Signed-off-by: Alexander Bokovoy <ab@samba.org>(This used to be commit b6df7e7709365fb620867ad8954bc5bf24496775) |