external authentication

external authentication

Postby pere » Mon Aug 03, 2009 6:12 pm

I am impressed by nuBuilder, that is for sure.

But as a system manager i try to use single sign on and minimize the amount of password databases.
It would be good to make the users to authenticate against an external Active Directory Server or anything using ldap/kerberos/imap or whatever.

If someone is working on it I would like to help out, otherwise I need to write the code myself.
Any pointers would be helpful to prevent me from reinventing the wheel.
pere
 
Posts: 6
Joined: Sun Jul 26, 2009 2:21 am

Re: external authentication

Postby steven » Tue Aug 04, 2009 9:59 am

pere,

I'm glad to hear you are enjoying nuBuilder.

We had only recently discussed adding authentication for Active Directory Server, but it wasn't going to be for a while.
So if you would like to write it yourself that would be great.
It would make a really good 'plug-in'.

Let us know if you have any specific questions we can help you with.

Steve
steven
 
Posts: 97
Joined: Mon Jun 15, 2009 5:33 pm

Re: external authentication

Postby pere » Wed Aug 05, 2009 2:01 pm

After a quick browse of the code it seems like some hack in formlogin.php with the use of http://adldap.sourceforge.net/ would suffice.
However are there other ways to do it?

The next question is if one would want to use the permissions from the mysql database or from the ldap tree, initially I think it would suffice with the alreday existing user framework.
In the long run it would perhaps be possible to make nubuilder do lookups and edit ldapdatabase in the same way as sql databases if there is a need for that.

Well initially I will be happy with just the verification of the username and password at the login window.
I have not used adldap before but I assume it will work with any other free ldap servers too.

If no other ways exists, I will start hacking formlogin.php
pere
 
Posts: 6
Joined: Sun Jul 26, 2009 2:21 am

Re: external authentication

Postby steven » Wed Aug 05, 2009 4:09 pm

pere,

Do whatever way you think is best, in any case, it will mean making changes to formlogin.php.

Steve
steven
 
Posts: 97
Joined: Mon Jun 15, 2009 5:33 pm

Re: external authentication

Postby Lala22 » Mon Mar 09, 2015 4:15 pm

you can reference the values that you have put in the fields of that form (your input parameters) via hash variables..
Usman
Lala22
 
Posts: 1
Joined: Mon Mar 09, 2015 4:08 pm


Return to Custom Code