summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap.c
AgeCommit message (Collapse)AuthorFilesLines
2008-11-18Added ability to remove id mappings in wbinfo and libwbclient.Steven Danneman1-0/+17
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-09-04get rid of unneeded argument in get_methods and get_alloc_methodsHerb Lewis1-14/+9
(This used to be commit 07b0323472b78d49cff06b78924c3015bea52a30)
2008-08-13idmap tdb2: fix inconsistent mappings by checking for race and retrying to ↵Michael Adam1-0/+9
fetch mapping. Michael (This used to be commit cb4c74c9c206e5a445ca636fa6562ce721ea5839)
2008-08-12Some doxygen comments for idmapVolker Lendecke1-10/+91
(This used to be commit adecc6d91338e7e34afd0672aada5d0e47247a33)
2008-08-12idmap rewriteVolker Lendecke1-815/+336
(This used to be commit 30a180f2fce8cf6a3e5548f6bba453272ba70b33)
2008-08-12Remove the multi-ID lookup code and the 3.2.0 version of idmap_cacheVolker Lendecke1-434/+0
(This used to be commit 1bd98521dc3f16ad77ccccd3979288c58e03ebe8)
2008-08-12Directly call backends from idmap_[ugs]_to_[ugs]idVolker Lendecke1-0/+39
(This used to be commit f955407042e6d2384acccc399d72ff65ba0e721c)
2008-07-12Fix regression introduced with 4086ef15b395f1a536fb669af2103a33ecc14de4Simo Sorce1-15/+15
We must not return an error here just because we are offline. We must instead fix the mappings to the best of our knowledge (ie mark as mapped, expired ones, and as unmapped, unknown ones) (This used to be commit 4436272dd4d6cdd223b1dc3d217a97cbe3bc887b)
2008-07-12Remove one nested level by reversing if conditionSimo Sorce1-58/+54
(This used to be commit 657a2f20dd4d422d45d7e054f463641cdff16816)
2008-07-12Add back mem leak fixesSimo Sorce1-0/+2
(This used to be commit 2adea093c5709e128bdde1e37c6a897db7cbc3b1)
2008-07-12Make again idmap_init staticSimo Sorce1-1/+1
(This used to be commit e113b7c13f2457676fdec9e52f09046286e25b60)
2008-07-11Revert "Fix two memory leaks in an error path in idmap.c"Volker Lendecke1-2/+0
This reverts commit 7cec389e19323e99b6b6258e539be9d1fd65810f. (This used to be commit d0b34cbb4eba2b6543402af2c9f95407546cefad)
2008-07-11Revert "Make idmap_init() static"Volker Lendecke1-1/+1
This reverts commit c8d1bbfddce41cd6bf37dd0a622ef3437a24b492. (This used to be commit 5cded3da00c0af40a98d86011507553f97fe6a22)
2008-07-11Revert "Convert idmap_cache to gencache"Volker Lendecke1-35/+19
This reverts commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2. (This used to be commit cc536677735ecc318cbd2176ce53b124f44d85a0)
2008-07-11Revert "Make use of ADD_TO_ARRAY"Volker Lendecke1-21/+73
This reverts commit 81f334bd6da601a040f754c46705cfa2fd4f8c45. (This used to be commit d4d106776af3f475d46a4dd78794b7b48a3572af)
2008-07-05Make use of ADD_TO_ARRAYVolker Lendecke1-73/+21
(This used to be commit 81f334bd6da601a040f754c46705cfa2fd4f8c45)
2008-07-05Convert idmap_cache to gencacheVolker Lendecke1-19/+35
(This used to be commit 0bf0434f22b0ea46fda3ccc4dd612adbc88dd4f2)
2008-07-02Make idmap_init() staticVolker Lendecke1-1/+1
This is called only from idmap_alloc_init, which feels kindof weird. Digging deeper in the code... (This used to be commit c8d1bbfddce41cd6bf37dd0a622ef3437a24b492)
2008-07-02Fix two memory leaks in an error path in idmap.cVolker Lendecke1-0/+2
(This used to be commit 7cec389e19323e99b6b6258e539be9d1fd65810f)
2008-06-17idmap: Fix typos in comments.Karolin Seeger1-3/+3
Karolin (This used to be commit 94a4d7fa3209eb668161b8110af6f877b4833fa7)
2008-06-17Fix typo.Karolin Seeger1-1/+1
arguements -> arguments Karolin (This used to be commit 16b5b772d216d10613d433884634b1215efbd6e6)
2008-04-03Fix trusted users on a DC that uses the old idmap syntax. There was no ↵Simo Sorce1-0/+70
default backend therefore on IDs were mapped by default. (This used to be commit f6069126e5e6d239b1ae00e897a420227f923e3f)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke1-6/+6
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-12-12winbindd: remove unused WINBINDD_DUMP_MAPS supportStefan Metzmacher1-67/+0
Also the design of this function was really bad, instead do the dump into a file, the client should get back the list of mappings. metze (This used to be commit ce7fe8acf41e90553431c7cda6823700701835c7)
2007-12-11idmap: add a const to idmap_dump_maps()Stefan Metzmacher1-1/+1
metze (This used to be commit de31913f0a4fd407d935ec4e27a6123ab7847ab5)
2007-12-10Remove the char[1024] strings from dynconfig. ReplaceJeremy Allison1-1/+1
them with malloc'ing accessor functions. Should save a lot of static space :-). Jeremy. (This used to be commit 52dc5eaef2106015b3a8b659e818bdb15ad94b05)
2007-12-05Fix a debug message (missing newline).Michael Adam1-1/+1
Michael (This used to be commit 2a1755327f6cef6c969308e9ebcb238048535533)
2007-11-20Prevent segv in winbindd running on a DC using the "idmap backend" syntax.Gerald (Jerry) Carter1-7/+8
The number of domains should be counted as they are added and not assumed to match the loop counter. manually cherry-picked 8ad2826c48a0d4d26abc3bb209860c776f55822f (This used to be commit 99b75cada2c4caaec5d30c8351080f0a41e44bd1)
2007-10-19Fix an incompatible pointer type warningVolker Lendecke1-2/+2
(This used to be commit 3c50caa9620899f982cd4a833356d965f47ec843)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-4/+4
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-16Fix default domains support using compat syntax.Simo Sorce1-14/+29
Without this fix idmap_rid can't be used with the compatible syntax. Includes fix to keep trusted domains working (This used to be commit 8c770c367c71d118651964fef63e2fd0fa4a05a5)
2007-10-10r25154: move winbindd code into winbindd/Stefan Metzmacher1-0/+1562
metze (This used to be commit 3ac7566ae14c48ff9b0f6b232e0ec4b2f73df558)