s3:net: finally remove net_context->opt_{user_specified,user_name,password}
[asn/samba-autobuild/.git] / source3 / utils / py_net.c
index 61b549bd9a1271f27a42671453a27f1aa5ca828d..95cc59f33b485acaf5daf39b06afd91fe6f2197d 100644 (file)
@@ -128,8 +128,6 @@ static PyObject *py_net_join_member(py_net_Object *self, PyObject *args, PyObjec
 
        c->creds = self->creds;
        c->explicit_credentials = true;
-       c->opt_user_name = cli_credentials_get_username(self->creds);
-       c->opt_password = cli_credentials_get_password(self->creds);
 
        werr = libnet_Join(mem_ctx, r);
        if (W_ERROR_EQUAL(werr, WERR_NERR_DCNOTFOUND)) {