How to configure multiple users and group bases ?
...
- The primary source of information is the log file. In most cases, the LDAP connector will try to indicate what the problem is in the logs. In the log file, look for lines with LDAPSecurityManager or LdapDao.
- It is useful to have an LDAP browser at hand, for instance, the Apache Directory Studio. With the browser you can:
- Check if the connection parameters that you configured in are correct.
- Run queries against LDAP and make sure that the expressions you configured in are correct and returning what you expect.
- If you can't spot the problem and need to contact frevvo support:
- Stop
- Go to <frevvo-home>/tomcat/logs/frevvo.log.
- Follow these steps to change the log level from INFO to DEBUG
- Restart
- Execute the steps that is causing problems.
- Send the log file (zip) to Live Forms support (support@frevvo.com) with a description of the problem.
- Restore the log level to INFO.
...
- Verify that your LDAP configuration is correct.
- Check if the MaxPageSize property is set in Active Directory. Look for "MaxPageSize" on this Microsoft Support Page for reference. The default value is 1000.
- Change the MaxPageSize from 1000 to the number of users/groups in your Active Directory.
LDAP Errors
The table below lists LDAP errors you may encounter when configuring your tenant with the LDAP Security Manager. Follow the recommended corrective action to resolve.
Parameters | Value | Error on edit tenant page |
---|---|---|
Connection URL | Wrong URL | Group access failure: AuthenticationException?: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1] |
Connection User | Wrong username | Group access failure: AuthenticationException?: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece] |
Connection Password | Wrong password | Group access failure: AuthenticationException?: [LDAP: error code 49 - 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 52e, vece] |
Users Base | Wrong CN | "User access failure: NameNotFoundException?: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=frevvo,DC=com' ] |
Users Base | Wrong DC | User access failure: UnknownHostException?: frevvod.com |
Groups Base | Wrong CN | Group access failure: NameNotFoundException?: [LDAP: error code 32 - 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of: 'DC=frevvo,DC=com' ] |
Groups Base | Wrong DC | Group access failure: UnknownHostException?: fqrevvo.com |
All Groups Filter | Syntax error like mismatched brackets | Group access failure: InvalidSearchFilterException?: Unbalanced parenthesis |
All Groups Filter | Invalid search e.g. (objectClasses=group) instead of (objectClass=group) | Group access failure: InvalidSearchFilterException?: [LDAP: error code 18 - 0000216B: AtrErr: DSID-03140274, #1: 0: 0000216B: DSID-03140274, problem 1004 (WRONG_MATCH_OPER), data 0, Att 180006 (objectClasses) ] |
All Groups Filter | Wrong value e.g. (objectClass=groups) instead of (objectClass=group) | Tenant updates successfully |
All Users Filter | Same as all groups filter | Same as all groups filter |