From 0ef7c22b5d5ce35ce9a205bb2a9da66cd93af764 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Mon, 19 Oct 2009 18:25:05 +0200 Subject: [PATCH 1/1] s4:password_hash LDB module - substitute "lp_workgroup" with "lp_sam_name" According to abartlet's response on my post about "lp_workgroup" this should be the right call. --- source4/dsdb/samdb/ldb_modules/password_hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c index a3c99f42227..a3ff5f87d97 100644 --- a/source4/dsdb/samdb/ldb_modules/password_hash.c +++ b/source4/dsdb/samdb/ldb_modules/password_hash.c @@ -1595,7 +1595,7 @@ static int get_domain_data_callback(struct ldb_request *req, data->dns_domain = lp_dnsdomain(lp_ctx); data->realm = lp_realm(lp_ctx); - data->netbios_domain = lp_workgroup(lp_ctx); + data->netbios_domain = lp_sam_name(lp_ctx); ac->domain = data; break; -- 2.34.1