web stats
Feature Request: LDAP Username Normalization - Mirth Community

Go Back   Mirth Community > Mirth Connect > Development

Reply
 
Thread Tools Display Modes
  #1  
Old 08-27-2015, 05:43 AM
keith.mcleod keith.mcleod is offline
Mirth Newb
 
Join Date: Nov 2011
Location: Wiscasset, Me.
Posts: 8
keith.mcleod is on a distinguished road
Default Feature Request: LDAP Username Normalization

Using Mirth Connect 3.2.2.7649 with LDAP Authorization plugin 3.2.2.7649.b38.

I have made use of the LDAP modules for several products and find that the capitalization of usernames is often overlooked. Can their be a fix to normalize the username when using LDAP, like forcing the new account that is created to either all uppercase or all lowercase within mirthconnect? If a user mistypes the capitalization, it still authenticates, however a new user is created that is assigned to no role. example Bob.Smith will authenticate the same as boB,smitH creating a new account on Mirthconnect.

I was not sure if there was the possibility of reviewing the code, but this fix should be simple. Possibly give the choice of which scheme and administrator would like to use...But my preference would be all lowercase regardless of what I type in.

Note: also noticed that parsing AD containers/Units in the configuration has problems with for instance groups with spaces in their names. 'Domain Users' for example.....

Last edited by keith.mcleod; 08-27-2015 at 05:47 AM. Reason: Adding Version info
Reply With Quote
  #2  
Old 08-28-2015, 12:02 PM
brentm brentm is offline
Mirth Employee
 
Join Date: Jan 2012
Posts: 85
brentm is on a distinguished road
Default

Hi Keith,

Thanks for pointing out the username capitalization issue, I've added that to our roadmap to fix in the near future. Since the LDAP plugin is a commercial extension, we don't make the source code available, but I agree it should be a simple fix.

Regarding the problem with spaces in group names, what exactly happens? Does it produce an error on attempting to connect?
Reply With Quote
  #3  
Old 08-31-2015, 06:34 AM
keith.mcleod keith.mcleod is offline
Mirth Newb
 
Join Date: Nov 2011
Location: Wiscasset, Me.
Posts: 8
keith.mcleod is on a distinguished road
Default

It would produce a failure to parse error showing for instance

Domain Users

Doesn't find the Group when no quotes
and can't parse with the use of quotes

Cannot parse url: Users"
Reply With Quote
Reply

Tags
ldap, role, username

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:05 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation