Hi Robert,

With OpenLDAP you have a server and a client. Server is the user database, client can query the database and authenticate against it.

These links should definitely explain everything you want to know about setting up the client:

https://help.ubuntu.com/community/LDAPClientAuthentication

http://askubuntu.com/questions/127389/how-to-configure-ubuntu-as-an-ldap-client

Little tip on the side: if you configure LDAP wrong and it times out while authenticating against a server (which shouldn't happen on localhost, but alas), your system can hang for a minute or two at boot. Beginners mistake I made a while back. Panicking is not required, as your system will continue to boot after a while.

Good luck. :-)

Kindest regards,

Jan Middelkoop
Recreatie en Zorg Groep B.V.

--
Website: http://www.recreatie-zorg.nl/
E-mail: j...@recreatie-zorg.nl
Telephone: +31 10 714 22 97

Op 13-11-12 16:38, Robert Lefebvre schreef:
Hello everybody,

I've begun researching your suggestions and I am leaning towards the openLDAP suggestion. I need some help with direction of my further research please.

I should have little problem installing it in Edubuntu 12.04 as it s included in the Software Center. And I should have little problem coding to it with PHP as the concepts are basically the same as interacting with MySql. And I get how to add users and such to the LDAP database. But how do I tell Edubuntu to only use the users from the LDAP list?
Thanks.



On Mon, Nov 12, 2012 at 8:47 AM, Robert Lefebvre <robert.r.lefeb...@gmail.com <mailto:robert.r.lefeb...@gmail.com>> wrote:

    Thanks Jan. Will definitely do that.


    On Mon, Nov 12, 2012 at 8:40 AM, Jan Middelkoop
    <j...@recreatie-zorg.nl <mailto:j...@recreatie-zorg.nl>> wrote:

        As suggested, you could create a script that specifically does
        what you
        want, and only give PHP sudo access to that specific script.
         That would
        be more secure than what you're suggesting.

        However.......... -> LDAP.

        Kindest regards,

        Jan Middelkoop
        Recreatie en Zorg Groep B.V.

        --
        Website: http://www.recreatie-zorg.nl/
        E-mail: j...@recreatie-zorg.nl <mailto:j...@recreatie-zorg.nl>
        Telephone: +31 10 714 22 97 <tel:%2B31%2010%20714%2022%2097>


        Op 12-11-12 14:27, Robert Lefebvre schreef:
        > Another thought was to only make the sudoers file accessible
        to php
        > and not add php as a sudo user. If/when the script was run,
        I could
        > have php write to sudoers to add itself. Then when the
        script was done
        > it could rewrite again and remove itself. The benefit would
        be that it
        > can only add itself as a sudo user (and not any other user)
        whereas if
        > I grant php sudo access anyone hacking php could create a
        user and
        > give it sudo access too. Definitely not perfect, just one
        extra layer
        > perhaps.


        
------------------------------------------------------------------------------
        Everyone hates slow websites. So do we.
        Make your web apps faster with AppDynamics
        Download AppDynamics Lite for free today:
        http://p.sf.net/sfu/appdyn_d2d_nov
        _____________________________________________________________________
        Ltsp-discuss mailing list.   To un-subscribe, or change prefs,
        goto:
        https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
        For additional LTSP help,   try #ltsp channel on
        irc.freenode.net <http://irc.freenode.net>




-- BungeeBones.com - A B2B Link Exchange - Free Links in limited
    locations - human edited and reviewed - Networked online
    advertising business opportunities available through our free,
    distributed web directory script




--
BungeeBones.com - A B2B Link Exchange - Free Links in limited locations - human edited and reviewed - Networked online advertising business opportunities available through our free, distributed web directory script


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov


_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
       https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_____________________________________________________________________
Ltsp-discuss mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help,   try #ltsp channel on irc.freenode.net

Reply via email to