LDAP authentication

Find and share HowTos to various installations / configurations!

Post Reply
2 posts • Page 1 of 1
Mark Jones
Posts: 4
Joined: Tue Jun 20, 2017 10:20 am

LDAP authentication

Post by Mark Jones » Tue Jul 30, 2019 12:42 pm


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


Posts: 103
Joined: Tue Jan 15, 2019 2:12 pm

Re: LDAP authentication

Post by gschijndel » Wed Aug 14, 2019 1:27 pm

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.

Post Reply
2 posts • Page 1 of 1