summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/samdb/ldb_modules/operational.c7
-rw-r--r--source4/rpc_server/drsuapi/getncchanges.c9
2 files changed, 14 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c
index 23d1a9fe7f..4e27157bb9 100644
--- a/source4/dsdb/samdb/ldb_modules/operational.c
+++ b/source4/dsdb/samdb/ldb_modules/operational.c
@@ -185,7 +185,12 @@ static const struct {
enum op_remove op;
} operational_remove[] = {
{ "ntSecurityDescriptor", OPERATIONAL_REMOVE_UNASKED },
- { "parentGUID", OPERATIONAL_REMOVE_ALWAYS }
+ { "parentGUID", OPERATIONAL_REMOVE_ALWAYS },
+ { "replPropertyMetaData", OPERATIONAL_REMOVE_UNASKED },
+ { "ntPwdHistory", OPERATIONAL_REMOVE_UNASKED },
+ { "lmPwdHistory", OPERATIONAL_REMOVE_UNASKED },
+ { "unicodePwd", OPERATIONAL_REMOVE_UNASKED },
+ { "supplementalCredentials", OPERATIONAL_REMOVE_UNASKED }
};
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c
index 2fb3016ad3..8155bef28f 100644
--- a/source4/rpc_server/drsuapi/getncchanges.c
+++ b/source4/rpc_server/drsuapi/getncchanges.c
@@ -340,7 +340,14 @@ WERROR dcesrv_drsuapi_DsGetNCChanges(struct dcesrv_call_state *dce_call, TALLOC_
struct drsuapi_DsReplicaObjectListItemEx **currentObject;
NTSTATUS status;
DATA_BLOB session_key;
- const char *attrs[] = { "*", "distinguishedName", "ntSecurityDescriptor", NULL };
+ const char *attrs[] = { "*", "distinguishedName",
+ "ntSecurityDescriptor",
+ "replPropertyMetaData",
+ "lmPwdHistory",
+ "ntPwdHistory",
+ "supplementalCredentials",
+ "unicodePwd",
+ NULL };
WERROR werr;
struct dcesrv_handle *h;
struct drsuapi_bind_state *b_state;