summaryrefslogtreecommitdiffstats
path: root/source3/lib/idmap_cache.c
Commit message (Collapse)AuthorAgeFilesLines
* s3:idmap_cache: remove unused idmap_cache_set_sid2[u|g]id()Stefan Metzmacher2014-12-031-72/+0
| | | | | | | | | Change-Id: I40bcfacb812b0dac7917533c9baf82a79f598efd Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Autobuild-User(master): Garming Sam <garming@samba.org> Autobuild-Date(master): Wed Dec 3 06:44:29 CET 2014 on sn-devel-104
* idmap_cache: Use gencache_parseVolker Lendecke2013-12-051-32/+47
| | | | | | | | | | This avoids a few tallocs and brings down user CPU a bit more Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Thu Dec 5 03:06:10 CET 2013 on sn-devel-104
* idmap_cache: Use an fstring instead of talloc_asprintfVolker Lendecke2013-12-051-12/+6
| | | | | | | | In a test doing one million uid2sid calls this brings down user CPU from 1.3 seconds to 0.9 seconds. And it saves a few code lines. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* lib: Use "mem_ctx" arg in gencache_getVolker Lendecke2013-09-051-7/+7
| | | | | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Sep 5 20:09:21 CEST 2013 on sn-devel-104
* lib: Add a "mem_ctx" arg to gencache_get (unused so far)Volker Lendecke2013-09-051-4/+4
| | | | | Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s3:idmap_cache: also store negative entries for unknown sidsStefan Metzmacher2012-06-211-0/+7
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Jun 21 18:04:05 CEST 2012 on sn-devel-104
* s3:idmap_cache: improve checks for format of value string in ↵Michael Adam2012-05-181-0/+15
| | | | | | | idmap_cache_find_sid2unixid() Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri May 18 16:34:27 CEST 2012 on sn-devel-104
* s3:idmap_cache: add common exit point to idmap_cache_find_sid2unixid()Michael Adam2012-05-181-12/+10
|
* s3:idmap_cache: improve debug messages in idmap_cache_find_sid2unixid()Michael Adam2012-05-181-5/+24
|
* s3:idmap_cache: change DEBUG message to level 10Stefan Metzmacher2012-05-061-1/+2
| | | | metze
* s3-idmap: remove (now) unused function idmap_cache_set_sid2both()Andrew Bartlett2012-05-021-24/+0
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3-idmap: Rework idmap_cache to store ID_TYPE_BOTH valuesAndrew Bartlett2012-05-021-172/+233
| | | | | | | | | | | | | This required that the lower level cache store a UID/GID and a type, and that we operate on struct unixid rather than just uid/gid. The ID_TYPE_BOTH is then handled as being a positive mapping for both a UID and GID value. Wrapper functions are provided so that callers are not changed in this patch. Andrew Bartlett Signed-off-by: Michael Adam <obnox@samba.org>
* s3-winbindd: add support for idmap type WBC_ID_TYPE_BOTHAndrew Tridgell2011-09-231-1/+56
| | | | | | | | | | | | this allows the s3 code to understand and cache responses from the s4 winbindd which may include a single SID mapped to both a uid and a gid Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Sep 23 01:47:54 CEST 2011 on sn-devel-104
* s3:idmap_cache: remove an leftover wip commentMichael Adam2011-03-021-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 2 14:55:20 CET 2011 on sn-devel-104
* s3: adjust loglevel for idmap_cacheGregor Beck2011-03-021-10/+10
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s3: add functions to remove entries from idmap cacheGregor Beck2011-02-281-0/+116
|
* 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-idmap: only include idmap headers where needed.Günther Deschner2010-08-261-0/+1
| | | | Guenther
* Move idmap_cache.c from winbindd/ to lib/Volker Lendecke2008-08-261-0/+260
(This used to be commit fe70dcc1b63b1969c13f7fb03ec374b6e5a376a1)