-
Type:
Regression Bug
-
Status: Closed
-
Resolution: No Longer Reproducible
-
Affects Version/s: 6.2.0 CE B2
-
Fix Version/s: 7.0.0 Beta 3
-
Component/s: Application Security > LDAP
-
Labels:
-
Environment:Tomcat 7 + MySQL 5. Portal 6.2.x GIT ID: 597e90da15b6a47bc6cdf2ec0b57ab89f43340f6 .
-
Fix Priority:4
- Setup an Active Directory Server in a Windows Server 2008 machine
- Create a Base DN groups and users
- Assign some user(s) to a group(s)
- In another machine have an instance of portal ready to start (to import the users and groups)
- Start Portal attempt to import the users and groups using LDAP (going to Control Panel > Portal Settings > Authentication > LDAP, add an LDAP server)
- Fill out the appropriate forms:
- Server Name: mydomain
- Microsoft Active Directory Server: (bubble in)
- Base Provider URL: ldap://[VM_ip address]:389
- Base DN: ou=Employees,dc=mydomain,dc=com
- Principal: mydomain\administrator - Credentials: (your server password)
- You may test the LDAP connection (if all is correct, it should say "Liferay has successfully connected to the LDAP server")
- Continue to fill out the appropraite forms:
- Authentication Search Filter: (&(objectCategory=Person)(mail=@email_address@))
- Import Search Filter: (objectClass=User)
- UUID:
- Screen Name: sn
- Email Address: mail
- Password: userPassword
- First Name: givenName
- Middle Name:
- Last Name: sn
- Full Name: cn
- Job Title:
- Status:
- Group:
- You may test the LDAP users (if all is correct, it should list the users and their information)
- Continue to fill out the appropriate forms:
- Import Search Filter: (objectClass=group)
- Group Name: cn
- Description: description
- User: member
- You may now test the LDAP Groups
Expected results:
Test of groups will list the groups in the BaseDN.
Actual results:
"No groups were found" message is shown, and on server reset the groups are not ever imported.
Notes:
Strange occurences happened, once in awhile on server reset the users also went missing, and were not imported, but that seems to be in an inconsistent basis.