diff options
author | Pavel Březina <pbrezina@redhat.com> | 2013-01-07 09:56:18 +0100 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-01-07 21:47:24 +0100 |
commit | 023ebc3d7e76978cfe7952480e0d7d88a2e1f690 (patch) | |
tree | 46257bcf116e2a17ea93c6e94b745a51d7babfff /src/providers/ldap/sdap_idmap.c | |
parent | 4869633dc87dadb2b9a114444d375c39703ac863 (diff) | |
download | sssd-023ebc3d7e76978cfe7952480e0d7d88a2e1f690.tar.gz sssd-023ebc3d7e76978cfe7952480e0d7d88a2e1f690.tar.bz2 sssd-023ebc3d7e76978cfe7952480e0d7d88a2e1f690.zip |
sudo smart refresh: do not include usn in filter if no valid usn is known
https://fedorahosted.org/sssd/ticket/1736
When there are no rules during first refresh, we don't have valid
USN value. We use 0 in this case, but it turned out that OpenLDAP
takes it as invalid time format (if modifyTimestamp is used instead
of USN) and thus returns no records.
Now we don't include USN/modifyTimestamp attribute in the filter
if such situasion occurs.
Diffstat (limited to 'src/providers/ldap/sdap_idmap.c')
0 files changed, 0 insertions, 0 deletions