Page 1 of 1

LDAP integration

Posted: Wed Apr 22, 2015 10:14 am
by jacky
Hello,
I am currently working in a research laboratory in France.
Your product nuBuilderPro seems very interesting to anyone that kind of application development.
Unfortunately in nuBuilderPro I do not see LDAP authentication .
Nowadays it is important , even essential to be able to have a centralized authentication such as LDAP .

For example, it is found in applications like GRR
http://grr.devome.com/?lang=en

Could you think about it? is more certain in the future for nuBuilderPro .
Also the possibility of making all applications developed multilingual version is important.
Congratulations for your work.

Good day,
Jacky

Re: LDAP integration

Posted: Fri Apr 24, 2015 12:47 am
by admin
Jacky,

The Translations Form on the Setup Tab will allow you to change English phrases used.

http://wiki.nubuilder.net/index.php/Con ... ranslation

LDAP isn't a high priority for us but if a big company that needs to wants to submit some code that does it we would certainly consider it.

Steven

Re: LDAP integration

Posted: Wed Apr 29, 2015 3:10 pm
by jacky
Hello,
Here LDAP authentication works with nuBuilderpro

Make sure on the server to have the php ldap Module
otherwise
aptitude install php5-ldap

in nuapi.php file

---> function nuLogin($u, $p) {


I just added this:

-------
$ldaprdn = 'uid='.$u.',ou=People,dc=server-xxx,dc=fr'; // DN ou RDN LDAP
$ldapconn = ldap_connect("ldap.server-xxx.fr");

if ($ldapconn) {
// LDAP server connection
$ldapbind = @ldap_bind($ldapconn, $ldaprdn, $p);
// Check authentication


if ($ldapbind) {
# Authentification LDAP SUCCESS
$s = "
SELECT *
FROM zzzsys_user
WHERE sus_login_name = '$u' AND zzzsys_user_id != 'globeadmin'
";
}
}
-------

Here is my nuapi.php file attachment.
This is just to show you that it's not complicated to add it to Nubuilder

Re: LDAP integration

Posted: Fri May 15, 2015 5:18 am
by admin
.