summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_hash
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2017-02-21 14:51:08 +0100
committerAndreas Schneider <asn@cryptomilk.org>2017-03-03 16:54:34 +0100
commit1cb99fc6af388843d313e0de48fee17103df806a (patch)
tree633f9b7665d5d745316a294b0136b80dc50a992a /source3/winbindd/idmap_hash
parent5ced307a46674f0d484db0d3201d64e70b44787d (diff)
downloadsamba-1cb99fc6af388843d313e0de48fee17103df806a.tar.gz
idmap_hash: Add a deprecation message
BUG: https://bugzilla.samba.org/show_bug.cgi?id=12582 Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Fri Mar 3 16:54:34 CET 2017 on sn-devel-144
Diffstat (limited to 'source3/winbindd/idmap_hash')
-rw-r--r--source3/winbindd/idmap_hash/idmap_hash.c4
1 files changed, 4 insertions, 0 deletions
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 "