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:


Code:
dn: o=uni,c=it
o: uni
description: ***
dominioPEC: ***.it
l: ***
postalCode: ***
provincia: ***
regione: ***
sitoIstituzionale: www.***.it
street: *** ***, 7
objectClass: amministrazione
objectClass: organization
objectClass: top
structuralObjectClass: amministrazione
entryUUID: 1
creatorsName: cn=admin,o=uni,c=it
createTimestamp: 20110622161740Z
entryCSN: 20110622161740.133142Z#000000#000#000000
modifiersName: cn=admin,o=uni,c=it
modifyTimestamp: 20110622161740Z

dn: ou=users,o=uni,c=it
cn: Utenti interni Ateneo
ou: users
objectClass: organizationalRole
objectClass: top
structuralObjectClass: organizationalRole
entryUUID: 4
creatorsName: cn=admin,o=uni,c=it
createTimestamp: 20110622161740Z
entryCSN: 20110622161740.320969Z#000000#000#000000
modifiersName: cn=admin,o=uni,c=it
modifyTimestamp: 20110622161740Z

dn: ou=groups,o=uni,c=it
ou: groups
description: Uni.it Groups
objectClass: organizationalUnit
structuralObjectClass: organizationalUnit
entryUUID: a
creatorsName: cn=admin,o=uni,c=it
createTimestamp: 20110622161740Z
entryCSN: 20110622161740.352044Z#000000#000#000000
modifiersName: cn=admin,o=uni,c=it
modifyTimestamp: 20110622161740Z

dn: uid=p***1,ou=users,o=uni,c=it
cn: G***a S***o
codiceFiscale: ***
givenName: G***A
matricolaStudente: 1***2
sn: S***O
uid: p***1
mail: s***2@m***i.u***e.it
title: studente
userPassword:: ***
objectClass: studente
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
structuralObjectClass: inetOrgPerson
entryUUID: 8
creatorsName: cn=admin,o=uni,c=it
createTimestamp: 20110622161740Z
entryCSN: 20110622161740.385676Z#000000#000#000000
modifiersName: cn=admin,o=uni,c=it
modifyTimestamp: 20110622161740Z

dn: uid=p***2,ou=users,o=uni,c=it
cn: S***e S***a
codiceFiscale: AAABBB89CCCDDDE
givenName: S***E
matricolaStudente: 1***3
sn: S***A
uid: p***2
mail: s**a@m***i.u***e.it
userPassword:: ***
objectClass: studente
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
structuralObjectClass: inetOrgPerson
entryUUID: 3
creatorsName: cn=admin,o=uni,c=it
createTimestamp: 20110622161740Z
entryCSN: 20110622161740.418772Z#000000#000#000000
modifiersName: cn=admin,o=uni,c=it
modifyTimestamp: 20110622161740Z

dn: cn=administrators,ou=groups,o=uni,c=it
cn: administrators
ou: groups
description: Users who are LDAP administrators
uniqueMember: uid=p***1,o=uni,c=it
objectClass: groupOfUniqueNames
structuralObjectClass: groupOfUniqueNames
entryUUID: b
creatorsName: cn=admin,o=uni,c=it
createTimestamp: 20110622161740Z
entryCSN: 20110622161740.451969Z#000000#000#000000
modifiersName: cn=admin,o=uni,c=it
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