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

s4:torture/rpc/samr.c - test the "ReplicaSourceNodeName" only against s3

AD handles this differently (see MS-SAMR 2.2.4.1)
This commit is contained in:
Matthias Dieter Wallnöfer 2010-09-19 10:54:29 +02:00
parent af4c9cc7c2
commit 25301b7bf9

View File

@ -6691,10 +6691,12 @@ static bool test_QueryDomainInfo(struct dcerpc_pipe *p,
ret = false;
} else if (info->general.role == SAMR_ROLE_DOMAIN_PDC) {
if (dcerpc_server_name(p) && strcasecmp_m(dcerpc_server_name(p), info->general.primary.string) != 0) {
if (torture_setting_bool(tctx, "samba3", false)) {
torture_warning(tctx, "QueryDomainInfo level %u returned different PDC name (%s) compared to server name (%s), despite claiming to be the PDC\n",
levels[i], info->general.primary.string, dcerpc_server_name(p));
}
}
}
break;
case 4:
if (strcmp(info->oem.oem_information.string, domain_comment) != 0) {