https://bz.apache.org/bugzilla/show_bug.cgi?id=63026
Mark Thomas changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://bz.apache.org/bugzilla/show_bug.cgi?id=63026
--- Comment #5 from Mark Thomas ---
RFC 4514 (string representation of distinguished names) states that a space at
the beginning or end of a string must be escaped (there are other escaping
requirements but I am ignoring them for this
https://bz.apache.org/bugzilla/show_bug.cgi?id=63026
--- Comment #4 from Mark Thomas ---
Ah.
net user "bug63026 " pwd /ADD
does the trick. Interestingly, if you specify multiple spaces Windows only
escapes the last one in the UI. I wonder if this is an AD issue. I'll dig
further as I don't
https://bz.apache.org/bugzilla/show_bug.cgi?id=63026
--- Comment #3 from Mark Thomas ---
Which version of Windows are you using? I'm using my default AD test
environment built with 2k8r2 and the UI won't allow creating of users where the
CN has trailing spaces. Alternatively, how are you
https://bz.apache.org/bugzilla/show_bug.cgi?id=63026
--- Comment #2 from Michael Osipov ---
(In reply to Dave Anuszewski from comment #0)
> Using JNDIRealm to authenticate users against Microsoft Active Directory
> fails if the AD user object has 2 trailing spaces in it's cn. Realm is
>
https://bz.apache.org/bugzilla/show_bug.cgi?id=63026
Christopher Schultz changed:
What|Removed |Added
OS||All
--- Comment #1 from