Example 6: Configuration for adapting to an OpenLDAP Directory Server
By following the steps below to configure your Server tab on the JReport Administration page > Configuration > LDAP panel, you can get all users and groups from the developer organization unit.
- Select OpenLDAP Directory Server from the Select LDAP Server drop-down list, and then click Load Settings. The settings are then cleared and you can input your information.
- Make sure that the Enable LDAP Support checkbox is selected, and input the following information:
- LDAP URL: ldap://IP address of your OpenLDAP Directory Server (for example:
ldap://127.0.0.1
)
- LDAP Server Port: 389
- Root Entry: dc=openldap, dc=ldaptest
- Directory Manager DN: cn=Manager,dc=openldap,dc=ldaptest
- Password: 123456789
- Encryption Type: None
- Import LDAP Groups to: Group
- User Schema
- User Attribute Name: uid
- User Common Name: cn
- User Password: userPassword
- Distinguished Name: ou=members
Filter: (&(uid=*)(objectclass=person))
- Group Schema
- Group Common Name: cn
- Group Member Type: uniqueMember
- Distinguished Name: ou=groups
- Filter: (&(cn=*)(objectclass=groupofuniquenames))
- Admin Group:
- You can test the connection settings by clicking the Test Connection button, get the query result of users specified in the option Filter by clicking the Query User button, and get the query result of groups specified in the option Filter by clicking the Query Group button.
- Click Save to save all settings in this tab.