On 22/06/2016 09:00, ujwal wrote:
Hi,
I am new to Syncope and LDAP and want to configure openLDAP as an internal
storage for syncope. I have used jdbc-ldap bridge to do this. I have deployed
the war file in tomcat and on opening the link of syncope-console I get an
error of 'Session expired: please login again' directly bypassing the login
page.
Hi ujwal,
this is definitely something that no one else here has been doing
before, as fas as I know.
Essentially, you are attempting to replace the RDBMS internal storage
with OpenLDAP by mean of [1].
I see several problems in this approach:
1. the persistence logic in Syncope heavily relies on JPA, which is
plenty of RDBMS concepts that I can hardly imagine being implemented in LDAP
2. the jdbc-ldap bridge seems quite stale: last commit is about 11
years ago [2] and last binary package > 8 years ago [3].
Hence, I would strongly suggest to go back to one of supported
configurations, with H2 / PostgreSQL / MySQL / MariaDB / Oracle / SQL
Server.
The error you are seeing (BTW, which Syncope version are you running?
And which distribution?) barely means that admin console is not able to
contact the core, likely because the core could not initialize correctly.
Regards.
[1] http://www.openldap.org/jdbcldap/
[2]
http://www.openldap.org/devel/gitweb.cgi?p=openldap-jdbcldap.git;a=summary
[3]
https://sourceforge.net/projects/myvd/files/jdbc%20ldap%20bridge/jdbc%20ldap%20bridge%202.1/
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC,
CXF Committer, OpenJPA Committer, PonyMail PPMC
http://home.apache.org/~ilgrosso/