Bot can't authenticate under UNIX user/group database

XMLWordPrintable

    • Type: Bug
    • Resolution: Cannot Reproduce
    • Priority: Major
    • Component/s: ircbot-plugin
    • None
    • Environment:
      Ubuntu Server, Tomcat 6

      Hi there,
      It looks like ircbot can't authenticate when the server is running the UNIX user/group database scheme. I tried setting it to "Logged-in users can do anything" (which is actually less security than I would like) and the bot will always NPE for anything but reporting:

      ====
      Lewisham: EisHudson: build argouml
      [3:44pm] EisHudson: Lewisham: Error java.lang.NullPointerException
      ====

      If I turn off all security, and "Let Anyone Do Anything", the bot will build.

      It looks like the problem is this, from my catalina logs:

      ====
      WARNING: IRC notifier plugin couldn't authenticate against Hudson: org.acegisecurity.BadCredentialsException: pam_authenticate failed : Authentication failure; nested exception is org.jvnet.libpam.PAMException: pam_authenticate failed : Authentication failure
      ====

      Kohsuke mentioned to add to the ticket that ircbot should send full stack traces to the logger. I have a default logger set up, but nothing appeared there, only in the catalina logs (no full stack trace there either), but I'm half convinced that's a dodgy set up I have

      Thanks!

            Assignee:
            kutzi
            Reporter:
            Lewisham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: