s4-loadparm: 2nd half of lp_ to lpcfg_ conversion
[samba.git] / source4 / utils / net / net_join.c
index 316bc129f1854d4c1cd85bab6fb0ae9d4dc2f9cc..df75ff737a9373332fdb7e658f89a0cda7d59eb1 100644 (file)
@@ -68,7 +68,7 @@ int net_join(struct net_context *ctx, int argc, const char **argv)
                return -1;
        }
        /* prepare parameters for the join */
-       r->in.netbios_name              = lp_netbios_name(ctx->lp_ctx);
+       r->in.netbios_name              = lpcfg_netbios_name(ctx->lp_ctx);
        r->in.domain_name               = domain_name;
        r->in.join_type                 = secure_channel_type;
        r->in.level                     = LIBNET_JOIN_AUTOMATIC;