diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-09-07 09:00:46 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2009-09-07 09:00:46 +0200 |
commit | 44872096fbf1d7541f34f5b9d5a22029cfd65e38 (patch) | |
tree | b86e9918a966c11b29f36ae4a86755fe21840725 | |
parent | 1d9a95e31028d18c66be8db3ab728aebce54aaf9 (diff) | |
download | samba-44872096fbf1d7541f34f5b9d5a22029cfd65e38.tar.gz samba-44872096fbf1d7541f34f5b9d5a22029cfd65e38.tar.bz2 samba-44872096fbf1d7541f34f5b9d5a22029cfd65e38.zip |
s4:simple_ldap_map - "primaryGroupId"
Previous patch was incomplete regarding the "primaryGroupId" attribute. Complete it.
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/simple_ldap_map.c | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c b/source4/dsdb/samdb/ldb_modules/simple_ldap_map.c index b6a0ee0c76..248d286ba6 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, - }, + } } }, { |