1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

werror: replace WERR_SETUP_NOT_JOINED with WERR_NERR_SETUPNOTJOINED in source3/utils/

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
Günther Deschner 2015-12-03 15:24:39 +01:00 committed by Jeremy Allison
parent 3bb394f3d6
commit a9b20c647e
2 changed files with 2 additions and 2 deletions

View File

@ -1459,7 +1459,7 @@ int net_ads_join(struct net_context *c, int argc, const char **argv)
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;

View File

@ -299,7 +299,7 @@ static int net_dom_renamecomputer(struct net_context *c, int argc, const char **
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;
}