[SCM] Samba Shared Repository - branch master updated

Andrew Tridgell tridge at samba.org
Thu Nov 19 22:13:31 MST 2009


The branch, master has been updated
       via  92eff41... s4-dsdb: some more attribuutes that we should only give if asked for
      from  18cacc5... s4-drs: we need to specifically ask for ntSecurityDescriptor

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit 92eff41ca52858124982b7db5e30c5321a16019d
Author: Andrew Tridgell <tridge at samba.org>
Date:   Fri Nov 20 15:19:35 2009 +1100

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

-----------------------------------------------------------------------

Summary of changes:
 source4/dsdb/samdb/ldb_modules/operational.c |    7 ++++++-
 source4/rpc_server/drsuapi/getncchanges.c    |    9 ++++++++-
 2 files changed, 14 insertions(+), 2 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/samdb/ldb_modules/operational.c b/source4/dsdb/samdb/ldb_modules/operational.c
index 23d1a9f..4e27157 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 2fb3016..8155bef 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;	


-- 
Samba Shared Repository


More information about the samba-cvs mailing list