Am Freitag, den 21.04.2006, 10:10 +0200 schrieb Stefano Bagnara:
> Jose Manuel Calvo I wrote:
> > Hi list
> > 
> > 
> > I try to configure my james smtp-server with OpenLDAP, the config.xml has 
> > this
> > lines:
> 
> 
> You config.xml is wrong. As you can see in the commented example you 
> have to use a similar config:
> 
> <users-store>
>   <repository name="LocalUsers" 
> class="org.apache.james.userrepository.UsersLDAPRepository">
>    <LDAPServer>ldap://127.0.0.1:389</LDAPServer>
>    <LDAPRoot>dc=solano,dc=com</LDAPRoot>
>    <ThisServerRDN>ou=Empleados</ThisServerRDN>
>    <MailAddressAttribute>mail</MailAddressAttribute>
>    <IdentityAttribute>uid</IdentityAttribute>
>    <AuthenticationType>simple</AuthenticationType>
>    <Principal>cn=Manager,dc=solano,dc=com</Principal>
>    <Password>secret</Password>
>    <MembersAttribute>cn</MembersAttribute>
>    <ManagePasswordAttribute>TRUE</ManagePasswordAttribute>
>    <PasswordAttribute>userPassword</PasswordAttribute>
>   </repository>
> </users-store>
> 
> Stefano
> 
> > <users-store>
> > <userRepository> ldap </userRepository>
> >         <usersLDAP 
> > class="org.apache.james.userrepository.UsersLDAPRepository">
> >            <LDAPServer>ldap://127.0.0.1:389</LDAPServer>
> >            <LDAPRoot>dc=solano,dc=com</LDAPRoot>
> >            <ThisServerRDN>ou=Empleados</ThisServerRDN>
> >            <MailAddressAttribute>mail</MailAddressAttribute>
> >            <IdentityAttribute>uid</IdentityAttribute>
> >            <AuthenticationType>simple</AuthenticationType>
> >            <Principal>cn=Manager,dc=solano,dc=com</Principal>
> >            <Password>secret</Password>
> >            <MembersAttribute>cn</MembersAttribute>
> >            <ManagePasswordAttribute>TRUE</ManagePasswordAttribute>
> >            <PasswordAttribute>userPassword</PasswordAttribute>
> >         </usersLDAP>
> >    </users-store>
> 
> 
> 

Plz tell us if it work. I never test LDAP. But it would be intressting
to know.

thx


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to