summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_tdb.c
AgeCommit message (Collapse)AuthorFilesLines
2010-08-14s3:idmap_tdb: don't call idmap_alloc_tdb_init in idmap_tdb_initMichael Adam1-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-14s3:idmap_tdb: make idmap_alloc_tdb_init() static.Michael Adam1-1/+1
2010-08-14s3:idmap: remove the set_mapping method from the idmap APIMichael Adam1-1/+0
2010-08-14s3:idmap: remove unused method set_id_hwm from idmap APIMichael Adam1-45/+0
Michael
2010-08-14s3:idmap: remove unused alloc method get_id_hwm from idmap APIMichael Adam1-46/+0
Michael
2010-08-14s3:idmap: remove unused method dump_data() from the idmap APIMichael Adam1-94/+0
Michael
2010-08-14s3:idmap: remove the remove_mapping method from API and backendsMichael Adam1-119/+0
Michael
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-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-17s3:winbind:idmap_tdb: don't check ranges when an invalid entry was found.Michael Adam1-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-10s3: Replace most calls to sid_append_rid() by sid_compose()Volker Lendecke1-2/+1
2009-07-29s3:winbind: use transaction store in idmap_tdb_set_hwm() to store new hwm.Michael Adam1-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-29s3:winbind: fix typo in debug message in idmap_tdb.Michael Adam1-1/+1
Michael
2009-07-29s3:winbind: fix typo in debugmessage of idmap_tdbMichael Adam1-1/+1
Michael
2009-07-29s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t.Michael Adam1-4/+5
Michael
2009-05-27s3:idmap_tdb: add an entry debug statment to idmap_tdb_db_init()Michael Adam1-0/+2
Michael
2009-05-27s3:idmap_tdb: filter out of range mappings in default idmap configMichael Adam1-16/+57
This fixes bug #6415 Michael
2009-03-02More fix to initialize idmap statusesBo Yang1-0/+10
2009-02-06s3:idmap_tdb: simplify talloc usage with temp context from talloc_stackframeMichael Adam1-6/+2
Michael
2009-02-06s3:idmap_tdb: refactor out new function idmap_tdb_load_ranges()Michael Adam1-22/+30
Michael
2009-02-06s3:idmap_tdb: use transactions in idmap_tdb_allocate_id()Michael Adam1-1/+18
Michael
2009-02-06s3:idmap_tdb: add tmp talloc ctx to idmap_tdb_sid_to_id and remove an fstringMichael Adam1-7/+5
Michael
2009-01-30s3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns.Michael Adam1-0/+5
Michael
2009-01-19s3:idmap_tdb: convert to the dbwrap apiStefan Metzmacher1-244/+223
metze
2008-11-18Clean-up various trailing space and >80 column lines.Steven Danneman1-19/+30
2008-11-18Added ability to remove id mappings in wbinfo and libwbclient.Steven Danneman1-2/+12
The idmap_tdb backend already provides an interface to remove existing id mappings. This commit plumbs that ability up through, winbindd, libwbclient, and wbinfo. Added new winbindd command: WINBINDD_REMOVE_MAPPING Added new libwbclient interfaces: wbcRemoveUidMapping() and wbcRemoveGidMapping() Added new wbinfo options: --remove-uid-mapping --remove-gid-mapping Increased libwbclient version to 0.2 Increased winbind interface version to 20
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-1/+1
2008-08-12Remove two unused variablesVolker Lendecke1-2/+1
(This used to be commit 257b0401ee675b6b7eddf2b46a0f8115940e6640)
2008-08-12Remove "idmap alloc config : range" parameterVolker Lendecke1-47/+28
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-12idmap rewriteVolker Lendecke1-42/+3
(This used to be commit 30a180f2fce8cf6a3e5548f6bba453272ba70b33)
2008-07-11Revert "Fix nonempty whitespace only lines"Volker Lendecke1-3/+3
This reverts commit cc77db2acbc35cea58576f1e28c7a760a5e31609. (This used to be commit ed5b516c2027d78011cdaa7cbbc01bb01e766381)
2008-07-02Fix nonempty whitespace only linesVolker Lendecke1-3/+3
(This used to be commit cc77db2acbc35cea58576f1e28c7a760a5e31609)
2007-12-15s/sid_to_string/sid_to_fstring/Volker Lendecke1-5/+5
least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546)
2007-12-15Replace sid_string_static with sid_to_stringVolker Lendecke1-3/+9
This adds 28 fstrings on the stack, but I think an fstring on the stack is still far better than a static one. (This used to be commit c7c885078be8fd3024c186044ac28275d7609679)
2007-11-01Patch 2 of 3 from Debian Samba packagers:Gerald (Jerry) Carter1-1/+1
The point is doing the following associations: - non discardable state data (all TDB files that may need to be backed up) go to statedir - shared data (codepage stuff) go to codepagedir The patch *does not change* the default location for these directories. So, there is no behaviour change when applying it. The main change is for samba developers who have to think when dealing with files that previously pertained to libdir whether they: - go in statedir - go in codepagedir - stay in libdir (This used to be commit d6cdbfd875bb2653e831d314726c3240beb0a96b)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-7/+7
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r25154: move winbindd code into winbindd/Stefan Metzmacher1-0/+1232
metze (This used to be commit 3ac7566ae14c48ff9b0f6b232e0ec4b2f73df558)