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:
parent
c04f9679a0
commit
5acda019a3
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user