summaryrefslogtreecommitdiffstats
path: root/src/tests
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2011-03-16 12:34:26 -0400
committerStephen Gallagher <sgallagh@redhat.com>2011-03-23 06:48:31 -0400
commit5fb53f1f2dc079e5bf3494436bb169ddd8b8be96 (patch)
treed49a79e818f443e37cb03a470e874ff9443bbde4 /src/tests
parenteb88e52a6fa27bd0bead9a839cccb6cb681c7c36 (diff)
downloadsssd-5fb53f1f2dc079e5bf3494436bb169ddd8b8be96.tar.gz
sssd-5fb53f1f2dc079e5bf3494436bb169ddd8b8be96.tar.xz
sssd-5fb53f1f2dc079e5bf3494436bb169ddd8b8be96.zip
Ignore alternate names for users and groups
Create sysdb_get_rdn() function This function takes a DN formatted string and returns the RDN value from it. Add sysdb_attrs_primary_name() This function will check a sysdb_attrs struct for the primary name of the entity it represents. If there are multiple entries, it will pick the one that matches the RDN. If none match, it will throw an error. Ignore aliases for users Users in ldap with multiple values for their username attribute will now be compared against the RDN of the entry to determine the "primary" username. We will save only this primary name to the ldb cache. RFC2307: Ignore aliases for groups Groups in ldap with multiple values for their groupname attribute will now be compared against the RDN of the entry to determine the "primary" group name. We will save only this primary group name to the ldb cache. RFC2307bis: Ignore aliases for groups Groups in ldap with multiple values for their groupname attribute will now be compared against the RDN of the entry to determine the "primary" group name. We will save only this primary group name to the ldb cache.
Diffstat (limited to 'src/tests')
0 files changed, 0 insertions, 0 deletions