Based on Sample Sales project
If checking via an external server does not work:
- Open application.properties
- Uncomment block
LDAP for local server settings
- Comment out block
LDAP for external server settings
- Set to LDAPSmokeUITest.groovy value
isLocalServer = true
. - Follow the instructions below
- Download here and install Apache Directory Studio
- Run Apache Directory Studio (ApacheDirectoryStudio.exe on Windows or ApacheDirectoryStudio on Linux)
- Create new server using LDAP Servers tab:
- Choose server type ApacheDS 2.0.0 and set server name -> Click Finish:
- Invoke a server's context menu -> Choose Create connection:
- Select server -> Run
- Switch to Connections tab -> Invoke created connection's context menu -> Open connection:
- Invoke context menu of tree item dc=example, dc=com -> New -> New Entry
- Create entry from stratch -> Next
- Choose object class 'inetOrgPerson' -> Add -> Next
- In RDN combobox select cn -> set any name to the text unput(ldapuser e.g.) -> Next
- Set the same value to the sn field -> Finish
- Invoke context menu from sn attribute -> New attribute
- In Attribute type combobox select userPassword -> Next
- Set password and password confirmation (please use any complicated value, like 11passwd11)
- Switch to Connections tab -> New connection
- Set any name to Connection name field
- In Hostname combobox select localhost
- In Hostname combobox select 10389 -> Next
- In Hostname Bind DN or user select cn=ldapuser, dc=example, dc=com (ldapuser is created user name)
- Set password to Bind password field -> Finish
- Switch to LDAP Servers -> Click two times to created server
- Deactivate Allow Anonymous Access checkbox -> press Ctrl + S
- Set to application.properties created username and password
- Run Apache Directory Studio
- Select server -> Run
- Switch to Connections tab -> Select connection with custom name -> Open connection
- Set to application.properties used username and password