Uniface on GitHub
Product (releases and patches)
Reported Issues (old)
Fixes and Updates
We are using Uniface 9.7.xx and Windows 10, 2012, and 2016 (Oracle & SQL Server Databases).
I was wondering if there is a common way for a Uniface app to use Active Directory or whether it needs to be done through a C++ interface?
You could try to use LDAP connector. It work with LDAP and Active Directory.
I have read up on LDAP in Uniface, but I think I need an example of how I can verify that a user logging into my app is authorized with "anonymous" logon (i.e. not having to login again). I will search on LDAP now that I have some direction!
Here's how I have it setup for authentication. There's a few different ways to do it, but this is what worked for me.
[DRIVER SETTINGS]LDP U2.0USYS$LDP_PARAMS addbase:off
;validate ldapopen "|domain\username|mypassword","LDP"if ($status < 0)return $statusendif
You can also create an LDAP entity and query the LDAP database. I played with this, but did not pursue it. I was able to get the basic AD info.
clear/e "LDAP"samaccountname.LDAP/init = $v_ldapuser$retrieve/e "LDAP"
I just did it and it works great. The biggest downside is it doesn't support LDAPS. Uniface says they "may" do it someday. If you need LDAPS you'd have to use stunnel along with Uniface LDAP.
Here's the link provided by Uniface.
© 2020 Uniface Privacy & Cookies | Privacy Statement | Legal