s4:password_hash LDB module - substitute "lp_workgroup" with "lp_sam_name"
[ira/wip.git] / source4 / dsdb / samdb / ldb_modules / password_hash.c
index a3c99f42227efd2cade1e47528f9fe4d24b444a5..a3ff5f87d97d82050f1a1e40a84ace7b7ea03998 100644 (file)
@@ -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;