summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/idmap_hash
Commit message (Collapse)AuthorAgeFilesLines
* Rename module init functions from samba_init_moduleChristof Schmitt2014-04-021-1/+1
| | | | | | | | | | | | | | | Some modules use samba_init_module as the name for the init functions, others use a name based on the module name. Rename the init functions from samba_init_module, to be consistent across all modules. This change also allows to build idmap_tdb2 and perfcount_test statically. Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Wed Apr 2 08:50:04 CEST 2014 on sn-devel-104
* s3: Fix idmap_hashVolker Lendecke2012-09-201-1/+1
| | | | | | | | | Calling be_init with NULL safely crashes, because we dereference NULL. We don't need to call it here, this is called in all workers anyway. Thanks to Jiri Sasek <jiri.sasek@oracle.com> for finding this. Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Thu Sep 20 05:03:54 CEST 2012 on sn-devel-104
* idmap-hash: Attempt to fix Coverity ID 709116 Overflowed array index writeVolker Lendecke2012-06-201-1/+6
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Michael Adam <obnox@samba.org> Autobuild-Date(master): Wed Jun 20 12:53:59 CEST 2012 on sn-devel-104
* idmap-hash: Fix Coverity ID 709117 Dereference before null checkVolker Lendecke2012-06-201-5/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* idmap-hash: Fix Coverity 709118 Dereference before null checkVolker Lendecke2012-06-201-5/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* idmap-hash: Adapt mapfile_read_line to README.CodingVolker Lendecke2012-06-201-1/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* idmap-hash: Fix Coverity ID 709119 Unused pointer valueVolker Lendecke2012-06-201-1/+1
| | | | | | "p" is overwritten further down again before it's first use Signed-off-by: Michael Adam <obnox@samba.org>
* Revert making public of the samba-module library.Jelmer Vernooij2011-12-031-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
* lib/util Rename samba_init_module -> samba_module_initAndrew Bartlett2011-10-281-1/+1
| | | | | | | This is to provide a cleaner namespace in the public samba plugin functions. Andrew Bartlett
* s3:winbindd/idmap make idmap modules loadable againChristian Ambach2011-10-211-1/+1
| | | | | commit 355b5e3a831415d9bef97 changed the module system to expect 'samba_init_module' as fixed initializer function
* s3-talloc Change TALLOC_ZERO_ARRAY() to talloc_zero_array()Andrew Bartlett2011-06-091-1/+1
| | | | | Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_ARRAY isn't standard talloc.
* s3-winbind: another strlcpy()/fstring fixAndrew Tridgell2011-05-061-2/+2
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri May 6 07:50:33 CEST 2011 on sn-devel-104
* Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison2011-05-041-2/+2
|
* s3-idmap: fix the build of idmap_hash on FreeBSD.Günther Deschner2011-03-311-0/+1
| | | | Guenther
* s3:idmap: remove the params argument from the init functionMichael Adam2011-03-221-5/+4
|
* s3: Remove close_fn from idmap_methodsVolker Lendecke2011-03-061-9/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 6 13:37:13 CET 2011 on sn-devel-104
* s3-idmap-hash: Make "hashed_domains" properly tallocedVolker Lendecke2011-03-061-7/+7
|
* s3: Remove unused args from get_nss_infoVolker Lendecke2011-03-061-2/+0
|
* s3: Fix some nonempty blank linesVolker Lendecke2011-02-271-2/+2
|
* s3: Fix some typosVolker Lendecke2010-12-191-1/+1
|
* s3: fix the build of idmap_adex, idmap_tdb2, idmap_hash and several vfs modules.Günther Deschner2010-10-181-0/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Oct 18 14:39:39 UTC 2010 on sn-devel-104
* s3-idmap: only include idmap headers where needed.Günther Deschner2010-08-262-0/+2
| | | | Guenther
* s3: avoid global include of ads.h.Günther Deschner2010-08-051-0/+1
| | | | Guenther
* s3-nss_info: only include nss_info.h where needed.Günther Deschner2010-07-011-0/+1
| | | | Guenther
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-5/+5
| | | | | | | | | | 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>
* s3: Replace most calls to sid_append_rid() by sid_compose()Volker Lendecke2010-01-101-2/+1
|
* Add some const to winbind_userinfoVolker Lendecke2009-08-031-3/+3
|
* More fix to initialize idmap statusesBo Yang2009-03-021-0/+10
|
* s3:winbindd/nss_info: change nss_map_{to|from}_alias to take nss_domain_entryMichael Adam2008-12-011-3/+3
| | | | | | instead of just the domain name Michael
* idmap_hash: Add the idmap/nss-info provider from Likewise Open.Gerald (Jerry) Carter2008-09-163-0/+628
* Port the Likewise Open idmap/nss_info provider (renamed to idmap_hash). * uids & gids are generated based on a hashing algorithm that collapse the Domain SID to a 31 bit number. The reverse mapping from the high order 11 bits to the originat8ing sdomain SID is stored in a has table initialized at start up. * Includes support for "idmap_hash:name_map = <filename>" for the name aliasing layer. The name map file consist of entries in the form "alias = DOMAIN\name"