[SCM] Samba Shared Repository - branch master updated - release-4-0-0alpha8-1425-g4487209

Matthias Dieter Wallnöfer mdw at samba.org
Mon Sep 7 01:02:32 MDT 2009


The branch, master has been updated
       via  44872096fbf1d7541f34f5b9d5a22029cfd65e38 (commit)
      from  1d9a95e31028d18c66be8db3ab728aebce54aaf9 (commit)

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


- Log -----------------------------------------------------------------
commit 44872096fbf1d7541f34f5b9d5a22029cfd65e38
Author: Matthias Dieter Wallnöfer <mwallnoefer at yahoo.de>
Date:   Mon Sep 7 09:00:46 2009 +0200

    s4:simple_ldap_map - "primaryGroupId"
    
    Previous patch was incomplete regarding the "primaryGroupId" attribute. Complete it.

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

Summary of changes:
 source4/dsdb/samdb/ldb_modules/simple_ldap_map.c |   19 +++++++++++++++----
 1 files changed, 15 insertions(+), 4 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c b/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c
index b6a0ee0..248d286 100644
--- a/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c
+++ b/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c
@@ -341,6 +341,17 @@ static const struct ldb_map_attribute entryuuid_attributes[] =
 		}
 	},
 	{
+		.local_name = "primaryGroupID",
+		.type = MAP_CONVERT,
+		.u = {
+			.convert = {
+				 .remote_name = "primaryGroupID",
+				 .convert_local = normalise_to_signed32,
+				 .convert_remote = val_copy,
+			}
+		}
+	},
+	{
 		.local_name = "groupType",
 		.type = MAP_CONVERT,
 		.u = {
@@ -348,7 +359,7 @@ static const struct ldb_map_attribute entryuuid_attributes[] =
 				 .remote_name = "groupType",
 				 .convert_local = normalise_to_signed32,
 				 .convert_remote = val_copy,
-			 },
+			 }
 		}
 	},
 	{
@@ -359,7 +370,7 @@ static const struct ldb_map_attribute entryuuid_attributes[] =
 				 .remote_name = "userAccountControl",
 				 .convert_local = normalise_to_signed32,
 				 .convert_remote = val_copy,
-			 },
+			 }
 		}
 	},
 	{
@@ -370,7 +381,7 @@ static const struct ldb_map_attribute entryuuid_attributes[] =
 				 .remote_name = "sAMAccountType",
 				 .convert_local = normalise_to_signed32,
 				 .convert_remote = val_copy,
-			 },
+			 }
 		}
 	},
 	{
@@ -381,7 +392,7 @@ static const struct ldb_map_attribute entryuuid_attributes[] =
 				 .remote_name = "systemFlags",
 				 .convert_local = normalise_to_signed32,
 				 .convert_remote = val_copy,
-			 },
+			 }
 		}
 	},
 	{


-- 
Samba Shared Repository


More information about the samba-cvs mailing list