s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
[bbaumbach/samba-autobuild/.git] / source4 / nbt_server / wins / wins_ldb.c
index 93382d7ddc65ba8c28a396e0b84a01d3acb8f709..fd609b2780c8f6f23c1bfcfde749ba9fdf269764 100644 (file)
@@ -89,10 +89,10 @@ static int wins_ldb_init(struct ldb_module *module)
 
        ldb_module_set_private(module, NULL);
 
-       owner = lp_parm_string(lp_ctx, NULL, "winsdb", "local_owner");
+       owner = lpcfg_parm_string(lp_ctx, NULL, "winsdb", "local_owner");
        if (!owner) {
                struct interface *ifaces;
-               load_interfaces(module, lp_interfaces(lp_ctx), &ifaces);
+               load_interfaces(module, lpcfg_interfaces(lp_ctx), &ifaces);
                owner = iface_n_ip(ifaces, 0);
                if (!owner) {
                        owner = "0.0.0.0";