From 03055af9b2af8a5a1c23946369a21d6437cf1b8c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 18 Sep 2012 15:31:26 -0700 Subject: s3: Fix idmap_hash 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 for finding this. Autobuild-User(master): Volker Lendecke Autobuild-Date(master): Thu Sep 20 05:03:54 CEST 2012 on sn-devel-104 --- source3/winbindd/idmap_hash/idmap_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd/idmap_hash/idmap_hash.c') diff --git a/source3/winbindd/idmap_hash/idmap_hash.c b/source3/winbindd/idmap_hash/idmap_hash.c index cb518a8c60..bff1e9e3fa 100644 --- a/source3/winbindd/idmap_hash/idmap_hash.c +++ b/source3/winbindd/idmap_hash/idmap_hash.c @@ -259,7 +259,7 @@ done: static NTSTATUS nss_hash_init(struct nss_domain_entry *e ) { - return be_init(NULL); + return NT_STATUS_OK; } /********************************************************************** -- cgit