summaryrefslogtreecommitdiffstats
path: root/src/tests/cmocka/test_ad_common.c
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2014-07-04 16:58:11 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-07-08 20:28:03 +0200
commiteed2073f6f7bed7df0327b9fc0f2d410975d5332 (patch)
tree77d1b5b6d79dcc9ae6f617949fd600e792362446 /src/tests/cmocka/test_ad_common.c
parente592d5f157be869151983bd1b46d6f4f7a29daaf (diff)
downloadsssd-eed2073f6f7bed7df0327b9fc0f2d410975d5332.tar.gz
sssd-eed2073f6f7bed7df0327b9fc0f2d410975d5332.tar.xz
sssd-eed2073f6f7bed7df0327b9fc0f2d410975d5332.zip
LDAP: Try all attributes when saving an entry
The same LDAP attribute might be used several times for the same user or group attribute. For instance, some servers have a global "ID" number that should be used for both UID and GID. However, our sdap_parse_entry() function only copied the LDAP attribute to the first matching sysdb attribute. This patch adds a second nested loop that checks if any of the other LDAP attributes are eligible. Reviewed-by: Michal Židek <mzidek@redhat.com>
Diffstat (limited to 'src/tests/cmocka/test_ad_common.c')
0 files changed, 0 insertions, 0 deletions