On 11/28/06, Thomas-W Hofmann <[EMAIL PROTECTED]> wrote:
I am currently working to get Roller LDAP authentication to work in our
corporate environment.
I managed to get users authenticated using their email address(using the
username field) and LDAP password.

Question : Once authentication is fine by LDAP how does Roller retrieve
the user rights from Roller db ?
I tried to change the select statements from daoauthentication to "SELECT
xxx WHERE mail=(0) " but this did not work.

I haven't tried it myself but, with LDAP authentication I believe each
user still has to register with Roller to establish an entry in the
USER and ROLE tables. Which set of instructions (if any) did you use
to get LDAP auth working? And out of curiousity, what LDAP server are
you using?


Other question : Why is there a restriction to the username not to include
spaces or anything except a-z,A-z,0-9 ?
It would help to use the emailaddress as username (at least for our
environment)

We want username to be a URL safe string, so we stick to a very safe
ASCII subset, but this can be configured. You can set the allowed
character string by setting the (apparently undocumented) property
"username.allowedChars" in your roller-custom.properties file. The
default is "A-Za-z0-9"

- Dave

Reply via email to