Uploaded image for project: 'Guacamole'
  1. Guacamole
  2. GUACAMOLE-309

LDAP error details not properly logged

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.9.12-incubating
    • Fix Version/s: 1.1.0
    • Component/s: guacamole-auth-ldap
    • Labels:
      None
    • Environment:
      centos7

      Description

      Hi

      when i try to authenticate with my user in windows server 2008 AD i have a strange behavior:

      May 24 14:23:34 guacatest server: 14:23:34.673 [http-bio-8080-exec-7] INFO  o.a.g.r.auth.AuthenticationService - User "test.fake" successfully authenticated from [xx.xx.xx.x, xxx.xxx.xx.xxx].
      May 24 14:23:34 guacatest server: 14:23:34.876 [http-bio-8080-exec-7] WARN  o.a.g.auth.ldap.user.UserService - Could not query list of all users for attribute "sAMAccountName": Error while querying users.
      May 24 14:23:34 guacatest server: May 24, 2017 2:23:34 PM com.sun.jersey.spi.container.ContainerResponse logException
      May 24 14:23:34 guacatest server: SEVERE: Mapped exception to response: 500 (Internal Server Error) 
      (after java exception)
      

      so i can authenticate but i cant login on my user page.

      my config:

      #AD
      #LDAP properties
      ldap-hostname: fake.go.com
      ldap-port: 389
      ldap-config-base-dn: dc=fake,dc=go,dc=com
      
      ldap-user-base-dn: OU=batch,dc=fake,dc=go,dc=com
      ldap-max-search-results: 100
      
      
      ldap-search-bind-dn: xxxxxxx@dc=fake,dc=go,dc=com
      ldap-search-bind-password: fakepassword
      
      ldap-username-attribute: sAMAccountName
      

      i tried with and without ldap-max-search-results

      Full logs:

      https://pastebin.com/VGYQe8hc

      thanks

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                KarlFiabeschi Karl Fiabeschi
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: