summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_rid.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-03s3:idmap_rid: force mapping type to ID_TYPE_BOTH for sid->unixid mappingMichael Adam1-0/+2
This is to remove problems with the same unix-id being used both as a uid and a gid. The rid backend will map a given number to the same SID, no matter whether this is a uid or a gid. This will prime the idmap cache with mappings. The sid-to-u/gid mapping, when not going through the cache, instead checks for the type of the sid and only allows unix ids of the corresponding type. Hence the rid backend will give different results, depending on whether the cache is filled or not. This patch lets the rid backend always create sid->id mappings of type both. Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2011-12-03Revert making public of the samba-module library.Jelmer Vernooij1-1/+1
This library was tiny - containing just two public functions than were themselves trivial. The amount of overhead this causes isn't really worth the benefits of sharing the code with other projects like OpenChange. In addition, this code isn't really generically useful anyway, as it can only load from the module path set for Samba at configure time. Adding a new library was breaking the API/ABI anyway, so OpenChange had to be updated to cope with the new situation one way or another. I've added a simpler (compatible) routine for loading modules to OpenChange, which is less than 100 lines of code. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 3 08:36:33 CET 2011 on sn-devel-104
2011-10-28lib/util Rename samba_init_module -> samba_module_initAndrew Bartlett1-1/+1
This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
2011-10-21s3:winbindd/idmap make idmap modules loadable againChristian Ambach1-1/+1
commit 355b5e3a831415d9bef97 changed the module system to expect 'samba_init_module' as fixed initializer function
2011-06-09s3-talloc Change TALLOC_ZERO_P() to talloc_zero()Andrew Bartlett1-1/+1
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc.
2011-03-22s3:idmap: remove the params argument from the init functionMichael Adam1-2/+1
2011-03-06s3: Remove close_fn from idmap_methodsVolker Lendecke1-6/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104
2011-03-06s3-idmap-rid: private_data is a talloc child of domVolker Lendecke1-1/+0
2011-03-06s3: Remove an unnecessary if-statementVolker Lendecke1-3/+1
2010-10-15s3-winbind: Fixed the build of idmap_rid.Andreas Schneider1-0/+1
2010-08-26s3-idmap: only include idmap headers where needed.Günther Deschner1-0/+1
Guenther
2010-08-14s3:idmap_rid: remove a comment that does not apply in that place.Michael Adam1-4/+0
Probably got copied from a different location.
2010-08-14s3:idmap_rid: remove unused domain_name from the idmap_rid_context.Michael Adam1-3/+1
2010-08-14s3:idmap_rid: remove range from idmap_rid_context()Michael Adam1-39/+0
Now, the idmap_domain range that is centrally parsed is used.
2010-08-14s3:idmap_rid: use range from idmap_domain in idmap_rid_sid_to_id()Michael Adam1-8/+8
2010-08-14s3:idmap_rid: use ranges from idmap_domain struct in idmap_rid_id_to_sid()Michael Adam1-11/+12
2010-08-14s3:idmap_rid: remove unused talloc context var from idmap_rid_sids_to_unixids()Michael Adam1-8/+0
2010-08-14s3:idmap_rid: remove unused talloc context arg from idmap_rid_sid_to_id()Michael Adam1-2/+2
2010-08-14s3:idmap_rid: remove unused talloc context var from idmap_rid_unixids_to_sids()Michael Adam1-8/+0
2010-08-14s3:idmap_rid: remove unused talloc ctx argument from idmap_rid_id_to_sid()Michael Adam1-2/+2
2010-08-14s3:idmap_rid: untangle assignment from check in idmap_rid_initialize()Michael Adam1-1/+2
2009-03-02More fix to initialize idmap statusesBo Yang1-0/+10
2008-08-12idmap rewriteVolker Lendecke1-18/+2
(This used to be commit 30a180f2fce8cf6a3e5548f6bba453272ba70b33)
2008-07-11Revert "fix typos"Volker Lendecke1-4/+2
This reverts commit e0957c6f4b1e81c27fda1de7fb7cbc9c585f5ac9. (This used to be commit 0d2fc3c394d300d906cdcd14f1abf8e6f84beff7)
2008-07-02fix typosVolker Lendecke1-2/+4
(This used to be commit e0957c6f4b1e81c27fda1de7fb7cbc9c585f5ac9)
2007-12-15Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke1-1/+1
(This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
2007-10-10r25154: move winbindd code into winbindd/Stefan Metzmacher1-0/+267
metze (This used to be commit 3ac7566ae14c48ff9b0f6b232e0ec4b2f73df558)