Hi all, ----------------------------------------------------------------------------------------------------------------
Review Board 3.0.17 ---------------------------------------------------------------------------------------------------------------- My LDAP settings: -> Authentication Method: LDAP -> LDAP Server: ldap://192.168.x.x:389 -> Review Board LDAP Bind Account: a...@domain.co.uk -> Review Board LDAP Bind Password: ******** -> LDAP Base DN: cn=Users,dc=domain,dc=co,dc=uk -> Username Attribute: sAMAccountName -> Given Name Attribute: givenName -> Surname Attribute: sn -> Full Name Attribute: displayName -> E-Mail LDAP Attribute: mail -> E-Mail Domain: (blank) -> Custom LDAP User Search Filter: sAMAccountName=%s ---------------------------------------------------------------------------------------------------------------- My ldapsearch results: ldapsearch -D 'du...@domain.co.uk' -b 'cn=Users,dc=domain,dc=co,dc=uk' -H ldap://192.168.x.x -W sAMAccountName=dummy Enter LDAP Password: # extended LDIF # # LDAPv3 # base <cn=Users,dc=domain,dc=co,dc=uk> with scope subtree # filter: sAMAccountName=dummy # requesting: ALL # # dummy, Users, domain.co.uk dn: CN=dummy,CN=Users,DC=domain,DC=co,DC=uk objectClass: top objectClass: person objectClass: organizationalPerson objectClass: user sn: Account givenName: Dummy instanceType: 4 whenCreated: 20180313125318.0Z displayName: Dummy Account uSNCreated: 2511997 objectGUID:: Y5A3vaWhyuKF9j3q/Ek+9w== badPwdCount: 0 codePage: 0 countryCode: 0 badPasswordTime: 0 lastLogoff: 0 lastLogon: 0 objectSid:: AQUAAAAAAAUVAAAAyHdPCeZosyKsV0w3FAUAAA== accountExpires: 9223372036854775807 logonCount: 0 sAMAccountName: dummy sAMAccountType: 805306368 userPrincipalName: du...@domain.co.uk objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=domain,DC=co,DC =uk userAccountControl: 66048 cn: dummy name: dummy memberOf: CN=Domain Users,CN=Users,DC=domain,DC=co,DC=uk memberOf: CN=Remote Desktop Users,CN=Builtin,DC=domain,DC=co,DC=uk memberOf: CN=RDP Domain Users,CN=Users,DC=domain,DC=co,DC=uk primaryGroupID: 2354 msSFU30NisDomain: example_domain uidNumber: 5652 loginShell: /bin/bash unixHomeDirectory: /home/dummy gidNumber: 4700 msSFU30Name: dummy uid: dummy mail: du...@domain.com pwdLastSet: 132177051640000000 whenChanged: 20191108164604.0Z uSNChanged: 3800280 distinguishedName: CN=dummy,CN=Users,DC=domain,DC=co,DC=uk # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 ---------------------------------------------------------------------------------------------------------------- On login attempt Review Board error log produces: 2020-05-21 10:43:09,771 - INFO - - root - Reloading logging settings 2020-05-21 10:43:09,772 - DEBUG - - root - Logging to /var/log/reviewboard/reviewboard.log with a minimum level of DEBUG 2020-05-21 10:43:09,826 - WARNING - - root - Error authenticating user "dummy" in LDAP: {'info': u'acl_read: Error retrieving instanceType for base. at ../source4/dsdb/samdb/ldb_modules/acl_read.c:356', 'desc': u'No such object'} 2020-05-21 10:43:09,827 - ERROR - - root - Unexpected error authenticating user "dummy" in LDAP: 'NoneType' object has no attribute 'decode' Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/reviewboard/accounts/backends/ldap.py", line 146, in authenticate userdn.decode('utf-8'), username) AttributeError: 'NoneType' object has no attribute 'decode' ---------------------------------------------------------------------------------------------------------------- Is it related to DB backend being set up as MySQL 5.7 with utf8 or something else? -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/4711e7ae-60ab-42fd-8b55-2b708bb0d62c%40googlegroups.com.