Hi,
I am trying to work out how to connect to an LDAP server for user authentication and wondered if anyone has achived it and has any simple guides?
I have made adjustments to the OaAuthMethodUserdefined class to enable user defined authentication in the user administration panel and now believe that the next step is to make amendments to the checkUserPassword function, in which I would expect to have to implement the LDAP authentication code. If this is correct then what CTRL objects are used to achieve this? Initial investigations have been into the netPut functionality but it is not liking an ldap://ldap.example.com:389 style url, I am guessing it only like http, https, ftp or file type urls?
Any guidance would be greatly welcomed.
Kind regards
Mark
LDAP authentication
- gschijndel
- Posts:376
- Joined: Tue Jan 15, 2019 3:12 pm
Re: LDAP authentication
Yes, the 'checkUserPassword' function is the place to execute the user name and password check.
You could implement a control extension to do the ldap authentication, use a system command or implement the ldap authentication completely in control with the tcp/udp functions.
I guess the netPut (and other net functions) are using the 'QNetworkAccessManager' class, which does not have a fixed list of supported schemes.
You could implement a control extension to do the ldap authentication, use a system command or implement the ldap authentication completely in control with the tcp/udp functions.
I guess the netPut (and other net functions) are using the 'QNetworkAccessManager' class, which does not have a fixed list of supported schemes.