cancel
Showing results for 
Search instead for 
Did you mean: 

[1.4 RC] problem with LDAP configuration

ribz33
Champ on-the-rise
Champ on-the-rise
Hi,

My ldap configuration was working on 1.4 preview.

I'm testing 1.4RC

I have problem with home folder !

If i try to connect with imported user i have an error.
If i disable LDAP import, and connect with admin, i see in admin console my imported user but he has NO home space !
And if i want to edit this user i have an error !

Is it a bug with new version ?

Do i need to change something on this :
                </entry>
                <!– Always use the default –>
                <entry key="cm:homeFolderProvider">
                    <null/>
                </entry>
            </map>
        </property>
        <!– Set a default home folder provider –>
        <!– Defaults only apply for values above –>
        <property name="attributeDefaults">
            <map>
                <entry key="cm:homeFolderProvider">
                    <value>personalHomeFolderProvider</value>
                </entry>
            </map>
        </property>

Thx in advance Smiley Very Happy
1 REPLY 1

ribz33
Champ on-the-rise
Champ on-the-rise
I had found !

For external authentification you need to do this code in ldap-authentication-context.xml

 
        <property name="attributeMapping">
            <map>

                <!– Always use the default –>
                <entry key="cm:homeFolder">
                    <null/>
                </entry>
            </map>
        </property>
        <!– Set a default home folder provider –>
        <!– Defaults only apply for values above –>
        <property name="attributeDefaults">
            <map>
                <entry key="cm:homeFolder">
                    <value>/app:company_home</value>
                </entry>
            </map>
        </property>


This code works like previous version without new bean "personalHomeFolderProvider"

See u Smiley Happy