Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-9258

"Remember me" doesn't work with Active Directory plugin

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • Debian Squeeze on Linux qa01 2.6.26-2-vserver-amd64 #1 SMP Tue Jan 25 06:09:17 UTC 2011 x86_64 GNU/Linux
      Mac OS X 10.7.3 x86_64
      FC13, Tomcat 6, Jenkins 1.480.2

    Description

      When clicking the "Remember me on this computer" during login, after some time the user is logged out.

      I'm using Active Directory as Security Realm.

      Example protocol:

      I logged in at 09:19 and checked the "Remember me on this computer" checkbox.

      At 10:10 I freshly opened the jenkins front page again and I was logged it.

      At 11:38 again, and I found myself logged out.

      All tests were conducted with Firefox 4, accepting cookies and such.

      This is reproducible on an installation via Debian package. At the time of writing the version number is 1.405

      Attachments

        Issue Links

          Activity

            Changing the title to make sure people don't conflate this with other remember me problems.

            kohsuke Kohsuke Kawaguchi added a comment - Changing the title to make sure people don't conflate this with other remember me problems.

            Implemented this in Active Directory plugin 1.35 in conjunction with core changes scheduled for 1.556.

            A work around in the mean time is to make sure you have bind DN and password.

            kohsuke Kohsuke Kawaguchi added a comment - Implemented this in Active Directory plugin 1.35 in conjunction with core changes scheduled for 1.556. A work around in the mean time is to make sure you have bind DN and password.
            aflat aflat added a comment -

            That workaround doesn't work if your master is on a windows 2008 machine, since you can't enter a bind DN/password, since those fields are hidden.

            aflat aflat added a comment - That workaround doesn't work if your master is on a windows 2008 machine, since you can't enter a bind DN/password, since those fields are hidden.
            m_broida m_broida added a comment -

            The workaround also won't work if you're not using AD.
            We don't use AD, we use a local script for login.
            Yet Jenkins keeps logging me out, several times each day.
            Why?

            m_broida m_broida added a comment - The workaround also won't work if you're not using AD. We don't use AD, we use a local script for login. Yet Jenkins keeps logging me out, several times each day. Why?
            haridsv Hari Dara added a comment -

            @Kohsuke We have Jenkins 1.577 installation with AD and have this issue, but I see that your fix went into 1.556 itself. Could I be seeing a corner case?

            haridsv Hari Dara added a comment - @Kohsuke We have Jenkins 1.577 installation with AD and have this issue, but I see that your fix went into 1.556 itself. Could I be seeing a corner case?

            People

              kohsuke Kohsuke Kawaguchi
              mfn mfn
              Votes:
              75 Vote for this issue
              Watchers:
              76 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: