1
如何從Novel EDirectory導入userGroups和用戶到Liferay?我們如何將用戶組從Novell edirectory導入liferay?
下面是新型的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 [email protected]
用戶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 [email protected]
下面是Liferay的控制面板設置
Base DN : [code]ou=ABCD,ou=ABC,o=AB
個
用戶映射
Authentication Search Filter : ([email protected][email protected])
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
其導入用戶但不導入用戶組, 我試圖設置ldap.import.method =用戶在portal-ext.properties中,但仍然不是cre登錄/導入用戶組, 注意:我能夠看到控制面板中的組列表,但我沒有導入到Liferay 我也試過ldap.import.method =組,它只創建用戶組但不導入任何與該組關聯的用戶
高於thanx
有何建議? – radhakrishna