summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2005-10-19 16:30:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:44:58 -0500
commitc1113796ebccf73c554d153c6c4d5b1ec16cb4bd (patch)
treeda61cf9ca7eecc8d8ff4b832b1d8903e7870745f
parent7e3d377b1d72badc7b2338245aef3a51a152f35c (diff)
downloadsamba-c1113796ebccf73c554d153c6c4d5b1ec16cb4bd.tar.gz
samba-c1113796ebccf73c554d153c6c4d5b1ec16cb4bd.tar.bz2
samba-c1113796ebccf73c554d153c6c4d5b1ec16cb4bd.zip
r11187: in case the msDS-KeyVersionNumber is replicated (I didn't assume this...)
show the string in the debug output, and show it with --option="dssync:print_pwd_blobs=yes" metze (This used to be commit 98c1e8e3df90c05691a12bb25357fd75da419c5c)
-rw-r--r--source4/librpc/idl/drsuapi.idl1
-rw-r--r--source4/torture/rpc/dssync.c3
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl
index e64686c425..c03892d5dc 100644
--- a/source4/librpc/idl/drsuapi.idl
+++ b/source4/librpc/idl/drsuapi.idl
@@ -391,6 +391,7 @@ interface drsuapi
DRSUAPI_ATTRIBUTE_serverReference = 0x00090203,
DRSUAPI_ATTRIBUTE_objectCategory = 0x0009030e,
DRSUAPI_ATTRIBUTE_msDS_Behavior_Version = 0x000905b3,
+ DRSUAPI_ATTRIBUTE_msDS_KeyVersionNumber = 0x000906f6,
DRSUAPI_ATTRIBUTE_msDS_HasDomainNCs = 0x0009071c,
DRSUAPI_ATTRIBUTE_msDS_hasMasterNCs = 0x0009072c
} drsuapi_DsAttributeId;
diff --git a/source4/torture/rpc/dssync.c b/source4/torture/rpc/dssync.c
index 25c4c3d3cb..9e9348283a 100644
--- a/source4/torture/rpc/dssync.c
+++ b/source4/torture/rpc/dssync.c
@@ -334,6 +334,9 @@ static void test_analyse_objects(struct DsSyncTest *ctx,
case DRSUAPI_ATTRIBUTE_supplementalCredentials:
name = "supplementalCredentials";
break;
+ case DRSUAPI_ATTRIBUTE_msDS_KeyVersionNumber:
+ name = "msDS-KeyVersionNumber";
+ break;
default:
continue;
}