summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/samdb/ldb_modules/password_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/password_hash.c b/source4/dsdb/samdb/ldb_modules/password_hash.c
index a3c99f4222..a3ff5f87d9 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;