Example 4: Configuration for adapting to the Active Directory Advanced Server
Follow 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 myorg organizational unit.
- Select Win2000 Active Directory 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 Windows 2000 Advanced Server
- LDAP Server Port: 389
- Root Entry: DC=testad,DC=local
- Directory Manager DN: CN=administrator,CN=Users,DC=testad,DC=local
- Password: 1234
- Encryption Type: None
- Import LDAP Groups to: Group
- User Schema
- User Attribute Name: cn
- User Common Name: userPrincipalName
- User Password: userPassword
- Distinguished Name: ou=myorg
- Filter: (&(cn=*)(objectclass=person))
- Group Schema
- Group Common Name: cn
- Group Member Type: member
- Distinguished Name: ou=myorg
- Filter: (&(cn=*)(objectclass=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 Group Query button.
- Click Save to save all settings in this tab.