Hide Forgot
Description of problem: When using sssd to serve maps for automounter it sometimes happen that certain maps are not 'seen'. I observe this behavior with large maps (~100 keys): [root@logind yum.repos.d]# automount -m | grep 'orlaj' [root@logind yum.repos.d]# automount -m | grep 'orlaj' [root@logind yum.repos.d]# automount -m | grep 'orlaj' orlaj | belfast:/vol/users/users/& But the requested key is in the cache: [root@logind yum.repos.d]# ldb3search -H /var/lib/sss/db/cache_default.ldb -b cn=autofsmaps,cn=custom,cn=default,cn=sysdb | grep orl no symbol `init_samba_module' found in /usr/lib64/ldb/memberof.so: /usr/lib64/ldb/memberof.so: undefined symbol: init_samba_module WARNING: Module [memberof] not found asq: Unable to register control with rootdse! dn: name=orlajbelfast:/vol/users/users/&,name=auto.home,cn=autofsmaps,cn=custom,cn=default,cn=sysdb automountKey: orlaj name: orlajbelfast:/vol/users/users/& distinguishedName: name=orlajbelfast:/vol/users/users/&,name=auto.home,cn=auto Version-Release number of selected component (if applicable): sssd-1.9.2-6.upstream_1_9_3.el6_3.x86_64 How reproducible: run 'automount -m' command a couple of times and look for missing keys. Quite easily reproducible. Steps to Reproduce: 1. configure sssd&autofs to serve maps for automounter 2. run 'automount -m' a couple of times 3. Actual results: output of the command 'automount -m' is not consistent Expected results: 'automount -m' should always return the same result
Pavel will try to reproduce locally.
Upstream ticket: https://fedorahosted.org/sssd/ticket/1739
Hi, I was unable to reproduce it so far. Can you provider logs please? Thank you.
Logs provided privately by mail.
Hi, unfortunately, the domain log didn't contain anything interesting. Number of returned values is consistent here and everything seems to work as expected. It looks more like a responder problem. Can you provide also sssd_autofs.log please? Thank you.
Hello, File sssd_autofs.log is empty.
Would it be possible for you to enable debugging for autofs service? [autofs] debug_level = level The best level for us would be 0xfff0.
Created attachment 676815 [details] log file Attached the log file as requested. Nothing really interesting in there, but I was still able to replicate the issue. Ondrej
Fixed upstream.
Temporarily moving bugs to MODIFIED to work around errata tool bug
Tested with sssd-1.11.2-18.el7.x86_64 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: autofs15 - BZ 967636 SSSD frequently fails to return automount maps from LDAP :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ PASS ] :: Automount maps are consistant :: [ LOG ] :: Duration: 26s :: [ LOG ] :: Assertions: 10 good, 0 bad :: [ PASS ] :: RESULT: autofs15 - BZ 967636 SSSD frequently fails to return automount maps from LDAP
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.