Joomla Stack Exchange is a question and answer site for Joomla! administrators, users, developers and designers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When using LDAP login authentication domain\username is the format that we need to use but Joomla will not allow this. When trying to save these users in Joomla backend the format is rejected due to the backslash that is used between the domain and username for the "Login Name."


Save failed with the following error: Please enter a valid username. No space at beginning or end, at least 2 characters and must not contain the following characters: < > \ " ' % ; ( ) &

I would like to find a solution that does not require hacking the core so updates could still be done without having to re-modify the core.

share|improve this question

migrated from Jul 16 '14 at 15:47

This question came from our site for professional and enthusiast programmers.

You don't necessarily need to insert the domain name before the username to get the LDAP to work.

AFAIR if the configuration is done correct (anonymous bind, DN) this should work. Anyway, it does require a bit of fiddling.

Also read the Developer: LDAP from scratch

Can you maybe post the configuration (obfuscating sensitive data)?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.