mirror of
https://github.com/samba-team/samba.git
synced 2025-11-09 20:23:51 +03:00
r24146: It is not an error for a Win2k3-only server not to support the NT4
replication call. Andrew Bartlett
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
078671d501
commit
59cba32c09
@@ -75,6 +75,7 @@ static const struct werror_code_struct dos_errs[] =
|
|||||||
{ "WERR_DFS_CANT_CREATE_JUNCT", WERR_DFS_CANT_CREATE_JUNCT },
|
{ "WERR_DFS_CANT_CREATE_JUNCT", WERR_DFS_CANT_CREATE_JUNCT },
|
||||||
{ "WERR_LOGON_FAILURE", WERR_LOGON_FAILURE },
|
{ "WERR_LOGON_FAILURE", WERR_LOGON_FAILURE },
|
||||||
{ "WERR_INVALID_SECURITY_DESCRIPTOR", WERR_INVALID_SECURITY_DESCRIPTOR },
|
{ "WERR_INVALID_SECURITY_DESCRIPTOR", WERR_INVALID_SECURITY_DESCRIPTOR },
|
||||||
|
{ "WERR_INVALID_DOMAIN_ROLE", WERR_INVALID_DOMAIN_ROLE },
|
||||||
{ "WERR_UNKNOWN_REVISION", WERR_UNKNOWN_REVISION },
|
{ "WERR_UNKNOWN_REVISION", WERR_UNKNOWN_REVISION },
|
||||||
{ "WERR_REVISION_MISMATCH", WERR_REVISION_MISMATCH },
|
{ "WERR_REVISION_MISMATCH", WERR_REVISION_MISMATCH },
|
||||||
{ "WERR_INVALID_OWNER", WERR_INVALID_OWNER },
|
{ "WERR_INVALID_OWNER", WERR_INVALID_OWNER },
|
||||||
|
|||||||
@@ -201,6 +201,7 @@
|
|||||||
#define WERR_NO_SUCH_USER W_ERROR(1317)
|
#define WERR_NO_SUCH_USER W_ERROR(1317)
|
||||||
#define WERR_LOGON_FAILURE W_ERROR(1326)
|
#define WERR_LOGON_FAILURE W_ERROR(1326)
|
||||||
#define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338)
|
#define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338)
|
||||||
|
#define WERR_INVALID_DOMAIN_ROLE W_ERROR(1354)
|
||||||
#define WERR_NO_SUCH_DOMAIN W_ERROR(1355)
|
#define WERR_NO_SUCH_DOMAIN W_ERROR(1355)
|
||||||
#define WERR_NO_SYSTEM_RESOURCES W_ERROR(1450)
|
#define WERR_NO_SYSTEM_RESOURCES W_ERROR(1450)
|
||||||
#define WERR_SERVER_UNAVAILABLE W_ERROR(1722)
|
#define WERR_SERVER_UNAVAILABLE W_ERROR(1722)
|
||||||
|
|||||||
@@ -774,6 +774,9 @@ static BOOL test_FetchNT4Data(struct DsSyncTest *ctx)
|
|||||||
}
|
}
|
||||||
printf("dcerpc_drsuapi_DsGetNT4ChangeLog failed - %s\n", errstr);
|
printf("dcerpc_drsuapi_DsGetNT4ChangeLog failed - %s\n", errstr);
|
||||||
ret = False;
|
ret = False;
|
||||||
|
} else if (W_ERROR_EQUAL(r.out.result, WERR_INVALID_DOMAIN_ROLE)) {
|
||||||
|
printf("DsGetNT4ChangeLog not supported by target server\n");
|
||||||
|
break;
|
||||||
} else if (!W_ERROR_IS_OK(r.out.result)) {
|
} else if (!W_ERROR_IS_OK(r.out.result)) {
|
||||||
printf("DsGetNT4ChangeLog failed - %s\n", win_errstr(r.out.result));
|
printf("DsGetNT4ChangeLog failed - %s\n", win_errstr(r.out.result));
|
||||||
ret = False;
|
ret = False;
|
||||||
|
|||||||
Reference in New Issue
Block a user