summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-19 18:25:05 +0200
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-19 18:25:05 +0200
commit0ef7c22b5d5ce35ce9a205bb2a9da66cd93af764 (patch)
tree996f46a57c193b51b8d2ad328bc8fd25f5821bb9 /source4/dsdb/samdb
parent8d0959b2b17c650505cf4c68db807e551ba38816 (diff)
downloadsamba-0ef7c22b5d5ce35ce9a205bb2a9da66cd93af764.tar.gz
samba-0ef7c22b5d5ce35ce9a205bb2a9da66cd93af764.tar.bz2
samba-0ef7c22b5d5ce35ce9a205bb2a9da66cd93af764.zip
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.
Diffstat (limited to 'source4/dsdb/samdb')
-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;