如何将用户组和用户从 Novel EDirectory 导入 liferay?
以下是 Novel eDirectory 设置详细信息:
Group :
cn group1
member
cn=user1,ou=ABCD,ou=ABC,o=AB
cn=user2,ou=ABCD,ou=ABC,o=AB
objectClass
groupOfNames
Top
用户 1:
cn user1
objectClass inetOrgPerson
objectClass ssDEFG
objectClass abcUser
objectClass organizationalPerson
objectClass Person
objectClass ndsLoginProperties
objectClass Top
objectClass DirXML-PasswordSyncStatusUser
objectClass DirXML-ApplicationAttrs
sn user1surname
groupMembership cn=group1,ou=DEFGH,ou=DEFG,ou=ABC,o=AB
groupMembership cn=group2,ou=COURSES,ou=ABC,o=AB
groupMembership cn=group3,ou=DEFGH,ou=DEFG,ou=ABC,o=AB
email test1@test.com
用户 2:
cn user2
objectClass inetOrgPerson
objectClass ssDEFG
objectClass abcUser
objectClass organizationalPerson
objectClass Person
objectClass ndsLoginProperties
objectClass Top
objectClass DirXML-PasswordSyncStatusUser
objectClass DirXML-ApplicationAttrs
sn user2surname
groupMembership cn=group1,ou=DEFGH,ou=DEFG,ou=ABC,o=AB
groupMembership cn=group2,ou=COURSES,ou=ABC,o=AB
groupMembership cn=group3,ou=DEFGH,ou=DEFG,ou=ABC,o=AB
email test2@test.com
以下是 Liferay 控制面板设置
Base DN : [code]ou=ABCD,ou=ABC,o=AB
用户映射
Authentication Search Filter : (mail=@email_address@)
Import Search Filter : (&(objectClass=inetOrgPerson)(mail=*))
Screen Name :cn
Password :sn
Email Address :mail
Full Name :fullName
First Name :givenName
Middle Name
Last Name : sn
Job Title :title
Portrait
Group : groupMembership
UUID
团体
Import Search Filter : (&(objectClass=inetOrgPerson)(mail=*))
组映射
Group Name :company
Description : description
User : groupMembership
它导入用户但不导入用户组,我尝试在 portal-ext.properties 中设置ldap.import.method=user但仍然没有创建/导入用户组,注意:我可以在控制面板中看到组列表,但我它没有导入 Liferay 我也尝试 了 ldap.import.method=group,它只创建用户组但不导入与该组关联的任何用户
提前感谢