1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

werror: replace WERR_DCNOTFOUND with WERR_NERR_DCNOTFOUND in source3/utils/net_ads.c

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:36 +01:00 committed by Jeremy Allison
parent c04f9679a0
commit 5acda019a3

View File

@ -1586,7 +1586,7 @@ int net_ads_join(struct net_context *c, int argc, const char **argv)
r->in.msg_ctx = c->msg_ctx;
werr = libnet_Join(ctx, r);
if (W_ERROR_EQUAL(werr, WERR_DCNOTFOUND) &&
if (W_ERROR_EQUAL(werr, WERR_NERR_DCNOTFOUND) &&
strequal(domain, lp_realm())) {
r->in.domain_name = lp_workgroup();
r->in.domain_name_type = JoinDomNameTypeNBT;