summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2013-05-07 23:49:05 +0200
committerJakub Hrozek <jhrozek@redhat.com>2013-05-27 19:09:04 +0200
commit4cbd4db56836dc72bfcbc73a3a7b9bc5253304c0 (patch)
tree5fe341478a3a78897579db19e29d5b65c6355ae1
parenta157a30729b3733e72b8a344ea79558613349bf6 (diff)
downloadsssd-4cbd4db56836dc72bfcbc73a3a7b9bc5253304c0.tar.gz
sssd-4cbd4db56836dc72bfcbc73a3a7b9bc5253304c0.tar.xz
sssd-4cbd4db56836dc72bfcbc73a3a7b9bc5253304c0.zip
IPA: read user and group SID
To allow mapping of SIDs to names or POSIX IDs and back the related attributes must be read from the FreeIPA directory server.
-rw-r--r--src/providers/ipa/ipa_opts.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/providers/ipa/ipa_opts.h b/src/providers/ipa/ipa_opts.h
index 57b17e5a1..4dfa72db4 100644
--- a/src/providers/ipa/ipa_opts.h
+++ b/src/providers/ipa/ipa_opts.h
@@ -169,7 +169,7 @@ struct sdap_attr_map ipa_user_map[] = {
{ "ldap_user_fullname", "cn", SYSDB_FULLNAME, NULL },
{ "ldap_user_member_of", "memberOf", SYSDB_MEMBEROF, NULL },
{ "ldap_user_uuid", "nsUniqueId", SYSDB_UUID, NULL },
- { "ldap_user_objectsid", NULL, SYSDB_SID, NULL },
+ { "ldap_user_objectsid", "ipaNTSecurityIdentifier", SYSDB_SID_STR, NULL },
{ "ldap_user_primary_group", NULL, SYSDB_PRIMARY_GROUP, NULL },
{ "ldap_user_modify_timestamp", "modifyTimestamp", SYSDB_ORIG_MODSTAMP, NULL },
{ "ldap_user_entry_usn", NULL, SYSDB_USN, NULL },
@@ -202,7 +202,7 @@ struct sdap_attr_map ipa_group_map[] = {
{ "ldap_group_gid_number", "gidNumber", SYSDB_GIDNUM, NULL },
{ "ldap_group_member", "member", SYSDB_MEMBER, NULL },
{ "ldap_group_uuid", "nsUniqueId", SYSDB_UUID, NULL },
- { "ldap_group_objectsid", NULL, SYSDB_SID, NULL },
+ { "ldap_group_objectsid", "ipaNTSecurityIdentifier", SYSDB_SID_STR, NULL },
{ "ldap_group_modify_timestamp", "modifyTimestamp", SYSDB_ORIG_MODSTAMP, NULL },
{ "ldap_group_entry_usn", NULL, SYSDB_USN, NULL },
SDAP_ATTR_MAP_TERMINATOR