Guenther
Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
TALLOC_CTX *ctx = NULL;
struct libnet_JoinCtx *r = NULL;
const char *domain = lp_realm();
- WERROR werr = WERR_SETUP_NOT_JOINED;
+ WERROR werr = WERR_NERR_SETUPNOTJOINED;
bool createupn = false;
const char *machineupn = NULL;
const char *machine_password = NULL;
account, password, rename_options);
if (status != 0) {
printf(_("Failed to rename machine: "));
- if (status == W_ERROR_V(WERR_SETUP_NOT_JOINED)) {
+ if (status == W_ERROR_V(WERR_NERR_SETUPNOTJOINED)) {
printf(_("Computer is not joined to a Domain\n"));
goto done;
}