By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,913 Members | 1,384 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,913 IT Pros & Developers. It's quick & easy.

Liferay Social Office and OpenLDAP integration

P: 6
Hi to all dear friends. I'm struggling with OpenLDAP integration into Liferay Portal. At the moment I'm on a Windows machine, but I tried also on a Linux one without any luck. So, this is the content of my OpenLDAP database on my Windows machine:


Expand|Select|Wrap|Line Numbers
  1. dn: o=uni,c=it
  2. o: uni
  3. description: ***
  4. dominioPEC: ***.it
  5. l: ***
  6. postalCode: ***
  7. provincia: ***
  8. regione: ***
  9. sitoIstituzionale: www.***.it
  10. street: *** ***, 7
  11. objectClass: amministrazione
  12. objectClass: organization
  13. objectClass: top
  14. structuralObjectClass: amministrazione
  15. entryUUID: 1
  16. creatorsName: cn=admin,o=uni,c=it
  17. createTimestamp: 20110622161740Z
  18. entryCSN: 20110622161740.133142Z#000000#000#000000
  19. modifiersName: cn=admin,o=uni,c=it
  20. modifyTimestamp: 20110622161740Z
  21.  
  22. dn: ou=users,o=uni,c=it
  23. cn: Utenti interni Ateneo
  24. ou: users
  25. objectClass: organizationalRole
  26. objectClass: top
  27. structuralObjectClass: organizationalRole
  28. entryUUID: 4
  29. creatorsName: cn=admin,o=uni,c=it
  30. createTimestamp: 20110622161740Z
  31. entryCSN: 20110622161740.320969Z#000000#000#000000
  32. modifiersName: cn=admin,o=uni,c=it
  33. modifyTimestamp: 20110622161740Z
  34.  
  35. dn: ou=groups,o=uni,c=it
  36. ou: groups
  37. description: Uni.it Groups
  38. objectClass: organizationalUnit
  39. structuralObjectClass: organizationalUnit
  40. entryUUID: a
  41. creatorsName: cn=admin,o=uni,c=it
  42. createTimestamp: 20110622161740Z
  43. entryCSN: 20110622161740.352044Z#000000#000#000000
  44. modifiersName: cn=admin,o=uni,c=it
  45. modifyTimestamp: 20110622161740Z
  46.  
  47. dn: uid=p***1,ou=users,o=uni,c=it
  48. cn: G***a S***o
  49. codiceFiscale: ***
  50. givenName: G***A
  51. matricolaStudente: 1***2
  52. sn: S***O
  53. uid: p***1
  54. mail: s***2@m***i.u***e.it
  55. title: studente
  56. userPassword:: ***
  57. objectClass: studente
  58. objectClass: inetOrgPerson
  59. objectClass: organizationalPerson
  60. objectClass: person
  61. objectClass: top
  62. structuralObjectClass: inetOrgPerson
  63. entryUUID: 8
  64. creatorsName: cn=admin,o=uni,c=it
  65. createTimestamp: 20110622161740Z
  66. entryCSN: 20110622161740.385676Z#000000#000#000000
  67. modifiersName: cn=admin,o=uni,c=it
  68. modifyTimestamp: 20110622161740Z
  69.  
  70. dn: uid=p***2,ou=users,o=uni,c=it
  71. cn: S***e S***a
  72. codiceFiscale: AAABBB89CCCDDDE
  73. givenName: S***E
  74. matricolaStudente: 1***3
  75. sn: S***A
  76. uid: p***2
  77. mail: s**a@m***i.u***e.it
  78. userPassword:: ***
  79. objectClass: studente
  80. objectClass: inetOrgPerson
  81. objectClass: organizationalPerson
  82. objectClass: person
  83. objectClass: top
  84. structuralObjectClass: inetOrgPerson
  85. entryUUID: 3
  86. creatorsName: cn=admin,o=uni,c=it
  87. createTimestamp: 20110622161740Z
  88. entryCSN: 20110622161740.418772Z#000000#000#000000
  89. modifiersName: cn=admin,o=uni,c=it
  90. modifyTimestamp: 20110622161740Z
  91.  
  92. dn: cn=administrators,ou=groups,o=uni,c=it
  93. cn: administrators
  94. ou: groups
  95. description: Users who are LDAP administrators
  96. uniqueMember: uid=p***1,o=uni,c=it
  97. objectClass: groupOfUniqueNames
  98. structuralObjectClass: groupOfUniqueNames
  99. entryUUID: b
  100. creatorsName: cn=admin,o=uni,c=it
  101. createTimestamp: 20110622161740Z
  102. entryCSN: 20110622161740.451969Z#000000#000#000000
  103. modifiersName: cn=admin,o=uni,c=it
  104. modifyTimestamp: 20110622161740Z
Obviously I retrived it wyth slapcat.exe utility. My OpenLDAP is customized with some custom schemas and it seems to work properly (I can use Jxplorer or userbooster to log into it and manage its content).

I tried to configure Social Office to authenticate through my OpenLDAP server. At first glance I tried to do a manual configuration using social office documentation and the portal-ex.properties file. No luck.
So in various new and fresh installations I used the Social Office control panel. Control Panel -> Settings -> Authenticate -> LDAP with these settings:

http://xs.to/photo/21119

http://xs.to/photo/21120

http://xs.to/photo/21122

And these are the results of the three tests:

http://xs.to/photo/21125

http://xs.to/photo/21128

http://xs.to/photo/21130

I don't need the export user feature, I'll don't let users not originally present in my OpenLDAP server to log into social office. It seems all ok, but social office DOES NOT IMPORT users or groups even if all tests are ok.
Even if I restard the server the import on startup feature doesn't work.

I have to make social office and open ldap integration to develop an academic project, I need your precious help.

Please help me
Jun 23 '11 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.