s4:password_hash LDB module - substitute "lp_workgroup" with "lp_sam_name"
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Mon, 19 Oct 2009 16:25:05 +0000 (18:25 +0200)
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
Mon, 19 Oct 2009 16:25:05 +0000 (18:25 +0200)
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

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->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;
 
                ac->domain = data;
                break;