1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-08 04:58:40 +03:00

s4-dsdb: some more attribuutes that we should only give if asked for

This commit is contained in:
Andrew Tridgell 2009-11-20 15:19:35 +11:00
parent 18cacc506e
commit 92eff41ca5
2 changed files with 14 additions and 2 deletions

View File

@ -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 }
};

View File

@ -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;