473,396 Members | 1,599 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Liferay Social Office and OpenLDAP integration

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
0 1438

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

Similar topics

0
by: stegger | last post by:
I am trying to update a users password on OpenLDAP: $new = '{md5}' . base64_encode(pack('H*', md5($newpass_in_plaintext))); $this->result = ldap_modify($connection,...
3
by: Paweł | last post by:
Hello there, What is your opinion- Should I wait till office 2003 is realeased or buy office xp? What are the signifficant differences between these two? Is it possible to upgrade prof prof. to...
2
by: davidl | last post by:
Hello, I apologize if this been asked earlier many times; I use MS-Office XP Small Business Edition, which doesn't include MS-Access - but I own the older Office '97 Pro (not installed) though...
2
by: Gerhard | last post by:
I would like to integrate Outlook into my vb.net web page, so that when I send an email (which I can successfully do now), it shows up in the sender's Outlook Sent Items. How do I do that? ...
1
by: Steve Murphy | last post by:
I have an existing project that will require some MS Office integration. Can I add that to a the existing project, or do I need to add a new MS Office project? Also, is just Word and Excel...
14
by: Kevin G. Anderson | last post by:
What: CAUG Meeting - QuickBooks IIF Files; Total Access Analyzer; CAUG Social When: Thursday, May 25, 2006, 6PM Who: Chris Monaghan and Kevin Anderson Where: The Information Management Group...
3
by: dorrit.Riemenschneider | last post by:
I need to validate a user with username and password against our OpenLDAP active directory. This is my code: Private bool ValidateUser (string username, string password) { DirectoryEntry...
1
by: Gert Albertse | last post by:
Is it possible to use forms authentication against an OpenLDAP server
0
by: Jagath84 | last post by:
Hey, Anyone know how retrieve client ip addresses from openldap who are already logged in to the openldap domain. Is there any possible query those result can be obtained? Please someone...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.