I wish I could use case-insensitive files in client-confg-dir (or lowercase)
Posted: Tue Oct 17, 2017 7:50 pm
Hello
I'm currently facing a problem (like some others have through the years, after some web and forum searches) and wish there was an easy solution.
I'm using OpenVPN with LDAP authentification in my AD.
Everything works great but I wanted to begin pushing static ip addresses to specific clients, thus i thought about --client-config-dir.
All is well excepted that the user login name (email address) is case insensitive at logon time, but due to linux filesystem, becomes case sensitive when looking for a client specific config in the ccd directory.
So simply changing some upper/lowercase letter in the login name and the client evades his specific config file in the ccd dir.
It would be so handy to have a parameter like "--ccd-lowercase-filenames" that would only look for lowercase files..
To my knowledge i don't see a way to do a case-sensitive ldap search in AD.
Also it would be somewhat user-unfriendly if I have to educate users to type their login in a specific case or else it fails.
I guess I could workaround the problem by using client-scripts instead, who would relay specific config options read from files found after converting whatever commonname is received to lowercase... but yeah.
I wish
Thanks for reading
I'm currently facing a problem (like some others have through the years, after some web and forum searches) and wish there was an easy solution.
I'm using OpenVPN with LDAP authentification in my AD.
Everything works great but I wanted to begin pushing static ip addresses to specific clients, thus i thought about --client-config-dir.
All is well excepted that the user login name (email address) is case insensitive at logon time, but due to linux filesystem, becomes case sensitive when looking for a client specific config in the ccd directory.
So simply changing some upper/lowercase letter in the login name and the client evades his specific config file in the ccd dir.
It would be so handy to have a parameter like "--ccd-lowercase-filenames" that would only look for lowercase files..
To my knowledge i don't see a way to do a case-sensitive ldap search in AD.
Also it would be somewhat user-unfriendly if I have to educate users to type their login in a specific case or else it fails.
I guess I could workaround the problem by using client-scripts instead, who would relay specific config options read from files found after converting whatever commonname is received to lowercase... but yeah.
I wish
Thanks for reading