Intermittent LDAP Login Issues - Any idea on the cause? - FogBugz Knowledge Exchange most recent 30 from http://fogbugz.stackexchange.com 2013-05-21T04:54:55Z http://fogbugz.stackexchange.com/feeds/question/10292 http://www.creativecommons.org/licenses/by-nc/2.5/rdf http://fogbugz.stackexchange.com/questions/10292/intermittent-ldap-login-issues-any-idea-on-the-cause Intermittent LDAP Login Issues - Any idea on the cause? JohnFx 2012-04-19T16:51:39Z 2012-09-26T22:17:09Z <p>I've got a workaround for this and it only happens infrequently, but I thought I'd post about this to see if anyone else is experiencing this, and/or if this is a known issue in FogBugz.</p> <p><strong>Setup:</strong><br> FogBugz Local install on Windows using Active Directory authentication.</p> <p><strong>Symptom:</strong><br> Every now and then (maybe 2-3 times a year) no one seems to be able to log into our FogBugz site with their AD credentials. Users who have clicked "Remember me" seem to be able to access the site just fine, but if anyone clicks the logout button they lose the ability to log back in.</p> <p><strong>Workaround:</strong><br> Recycling the IIS App pool for the site always seems to fix the problem immediately.</p> <p>Any ideas on what might cause this strange behavior? Maybe FB is caching some stale LDAP information that is refreshed when the site is reloaded?</p> <blockquote> <p><img src="http://www.gravatar.com/avatar/baf927dcc0b0c5d0f41dece1e575aa0f?s=32&amp;d=identicon&amp;r=PG" alt="Fog Creek"> <a href="http://fogbugz.stackexchange.com/questions/1023/whats-that-kiwi-logo-and-case-number-at-the-bottom-of-my-feature-request" rel="nofollow">Case FC2266331</a></p> </blockquote> http://fogbugz.stackexchange.com/questions/10292/intermittent-ldap-login-issues-any-idea-on-the-cause/10294#10294 Answer by db for Intermittent LDAP Login Issues - Any idea on the cause? db 2012-04-19T17:17:41Z 2012-04-19T17:17:41Z <p>I've filed a case to look into this and updated your question with our internal tracking number.</p> http://fogbugz.stackexchange.com/questions/10292/intermittent-ldap-login-issues-any-idea-on-the-cause/10310#10310 Answer by Derrick Miller for Intermittent LDAP Login Issues - Any idea on the cause? Derrick Miller 2012-04-23T17:48:05Z 2012-04-23T17:48:05Z <p>Each time a user logs into FogBugz it queries the Active Directory server. FogBugz does not cache any kind of authentication with Active Directory. At this time, the issue is not a currently known issue nor have we had any other reports. I recommend ensuring your FogBugz application pool is restarted after an upgrade as your workaround suggests. If this issue reoccurs, it would be helpful to get the <a href="http://fogbugz.stackexchange.com/questions/2637/how-do-i-enable-full-website-logging-in-fogbugz" rel="nofollow">full website debug logs</a> by setting nLogThreshold to 20 while reproducing the issue and <a href="http://www.fogcreek.com/sendmail.html" rel="nofollow">sending the log to FogCreek</a>.</p> http://fogbugz.stackexchange.com/questions/10292/intermittent-ldap-login-issues-any-idea-on-the-cause/10822#10822 Answer by Ian Anderson for Intermittent LDAP Login Issues - Any idea on the cause? Ian Anderson 2012-09-26T22:17:09Z 2012-09-26T22:17:09Z <p>Just had this happen to us as well. Never had it happen before in 5 years of use. Restarting the AppPool fixed the issue. </p>