From 1cb99fc6af388843d313e0de48fee17103df806a Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 21 Feb 2017 14:51:08 +0100 Subject: idmap_hash: Add a deprecation message BUG: https://bugzilla.samba.org/show_bug.cgi?id=12582 Signed-off-by: Andreas Schneider Reviewed-by: Michael Adam Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Fri Mar 3 16:54:34 CET 2017 on sn-devel-144 --- source3/winbindd/idmap_hash/idmap_hash.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/winbindd/idmap_hash') diff --git a/source3/winbindd/idmap_hash/idmap_hash.c b/source3/winbindd/idmap_hash/idmap_hash.c index 743b0ec4ff8..36cc0f1e354 100644 --- a/source3/winbindd/idmap_hash/idmap_hash.c +++ b/source3/winbindd/idmap_hash/idmap_hash.c @@ -112,6 +112,10 @@ static NTSTATUS idmap_hash_initialize(struct idmap_domain *dom) size_t num_domains = 0; int i; + DBG_ERR("The idmap_hash module is deprecated and should not be used. " + "Please migrate to a different plugin. This module will be " + "removed in a future version of Samba\n"); + if (!strequal(dom->name, "*")) { DBG_ERR("Error: idmap_hash configured for domain '%s'. " "But the hash module can only be used for the default " -- cgit v1.2.1