Hi,

After looking through the UsersLDAPRepository source codes, here's my
attempt at trying to use ApacheDS as the LDAP Server for JAMES User
Repository:

<!-- LDAP user repositories -->
        
        <repository name="LocalUsers"
class="org.apache.james.userrepository.UsersLDAPRepository">
                <LDAPServer>ldap://localhost:10389/</LDAPServer>
                <LDAPRoot>dc=example,dc=com</LDAPRoot>
                <ThisServerRDN>cn=mailserver.apache.org</ThisServerRDN>
                <MailAddressAttribute>mail</MailAddressAttribute>
                <IdentityAttribute>uid</IdentityAttribute>
                <AuthenticationType>simple</AuthenticationType>
                <Principal>uid=admin,ou=system</Principal>
                <Password>secret</Password>
                <MembersAttribute>cn</MembersAttribute>
                <ManagePasswordAttribute>TRUE</ManagePasswordAttribute>
                <PasswordAttribute>userPassword</PasswordAttribute>
        </repository>

However, the following error "There was an error running phase "startup" for
Block named "users-store". " The full log file is uploaded for anyone out
there who can help me.
http://www.nabble.com/file/p18458790/phoenix.log phoenix.log 

Thank you.

Regards,
qsquare


Stefano Bagnara-2 wrote:
> 
> qsquare ha scritto:
>> Hi,
>> 
>> Is there Active Directory in JAMES like the Microsoft Active Directory,
>> so
>> that I can write a simple JAVA application to extract specific
>> information
>> from the Active Directory users?
>> 
>> Thanks in advance!
> 
> No.
> 
> We have an UsersLDAPRepository letting you get users from a directory 
> (but I never used it).
> 
> There is an outdated doc about LDAP usage here:
> http://james.apache.org/server/archive/usingLDAP_v1_2.html
> 
> And here you can see the sources for the UsersLDAPRepository:
> http://james.apache.org/server/2.3.1/xref/org/apache/james/userrepository/UsersLDAPRepository.html
> 
> If you make any attempt to use this stuff please update us with your 
> progresses so that we can update the documentation/code with your 
> suggestions.
> 
> Stefano
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Is-there-Active-Directory-in-JAMES--Or-need-to-embed-ApacheDS-in-JAMES--tp17958896p18458790.html
Sent from the James - Users mailing list archive at Nabble.com.


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

Reply via email to