Hi guys

Stefanos, I think that your problem is similar to Kevin's here
https://issues.apache.org/jira/browse/JAMES-1313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13244145#comment-13244145

I made a patch that should solve Kevin's problem as well as yours. It seems that the patch wasn't applied to version 3.0beta4, but I can see it in TRUNK. So in TRUNK version it should again works as discribed in javadoc

   *userIdAttribute:*The name of the LDAP attribute which holds user
   ids. For example "uid" for Apache DS, or "sAMAccountName" for
   Microsoft Active Directory.

http://james.apache.org/server/3/apidocs/org/apache/james/user/ldap/ReadOnlyUsersLDAPRepository.html


Peter

On 13. 11. 2012 10:28, Eric Charles wrote:
Sorry, no idea, I don't use LDAP.

The documentation being on this being quite spare, it would be interessting if any LDAP user could contribute some general docs and also some information on that specific topic.

Thx, Eric


On 12/11/2012 13:19, Stefanos Kalantzis wrote:
Hi all,

I am using Apache James with LDAP.
Right now, for each user, the username and email address are the same.
For instance uid=john, [email protected]

I've tried changing the "mail" attribute in a user leaving the
username the same.
Lets say uid=john, [email protected]

When I tried to send an email to [email protected], James tried to
find the user with uid=john.doe,ou=people,dc=example,dc=org. Which of
course does not exist, because the uid is "john" and not "john.doe".

Is there a way to overcome this?

(except from changin the uid :))

Thanks !

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Reply via email to