On Tue, May 27, 2014 at 03:52:23PM +0200, Lukas Slebodnik wrote:
ehlo,
There were two different crashed in BZ1079237 [1]
The first one was in sssd_be (it was fixed commit e18d5c703c529f99bd375da887d9)
and the second one in sss autofs plugin. (client code)
Attached patches should fix the sond crash.
How to reproduce?
a) -- revert commit e18d5c703c529f99bd375da887d9
-- have more then one attribute "automountKey" in LDAP entry
-- call automount -m
b) #can be reproduced with current master
-- use small value of option timeout in autofs section (can be default)
-- attach gdb to the autof responder
-- add breakpoint to the function b setautomntent_send and continue
-- call automount -m
-- gdb in autofs responder will interrupt execution (do nothing)
-- automount will crash after few seconds (60-120)
Reproduced and verified the fix using this ^^ method. The code looks
good to me as well and follows the pattern in other responders now
ACK to both.