[Bug 63026] JNDIRealm fails to authenticate user with 2 trailing spaces CN

2019-01-23 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63026 Mark Thomas changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug 63026] JNDIRealm fails to authenticate user with 2 trailing spaces CN

2019-01-22 Thread bugzilla
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

[Bug 63026] JNDIRealm fails to authenticate user with 2 trailing spaces CN

2019-01-22 Thread bugzilla
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

[Bug 63026] JNDIRealm fails to authenticate user with 2 trailing spaces CN

2019-01-22 Thread bugzilla
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

[Bug 63026] JNDIRealm fails to authenticate user with 2 trailing spaces CN

2018-12-21 Thread bugzilla
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 >

[Bug 63026] JNDIRealm fails to authenticate user with 2 trailing spaces CN

2018-12-20 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=63026 Christopher Schultz changed: What|Removed |Added OS||All --- Comment #1 from