Koozali.org: home of the SME Server

Obsolete Releases => SME 7.x Contribs => Topic started by: levien on December 01, 2007, 04:16:38 PM

Title: LDAP test?
Post by: levien on December 01, 2007, 04:16:38 PM
Has anyone tried LDAP authentication on SME using Sebastiens patches/packages?
See: http://lists.contribs.org/pipermail/devinfo/2007-October/009773.html and http://bugs.contribs.org/show_bug.cgi?id=1543

Next month we're going to start migrating all our desktop machines from Windows 98 to Ubuntu. I'd very much like to keep our SME server, so that means finding a way to authenticate logins on the Ubuntu machines against the SME server using either SMB or LDAP. I've tested SMB authentication (using a PAM backend), and it works but is not ideal. I'd much rather use LDAP, because it (apparently) allows for more flexibility in mapping users and groups.

I'd like to try the new e-smith-base+ldap package which should be in in smedev, but it seems to have vanished?

-L.
Title: Re: LDAP test?
Post by: mazkot on December 06, 2007, 07:32:49 AM
any updates?
Title: Re: LDAP test?
Post by: cactus on December 06, 2007, 08:13:45 AM
any updates?
Your best bet is to ask the status in a comment in the bug report. All persons linked to the bug will get a notification by e-mail and will perhaps respond. Most of them are not reading the forums (regularly).
Title: Re: LDAP test?
Post by: levien on March 31, 2008, 09:27:52 PM
any updates?

Yep! See http://bugs.contribs.org/show_bug.cgi?id=1543

Best regards,
Levien
Title: Re: LDAP test?
Post by: steever on April 02, 2008, 07:01:40 AM
I am also happy to test this, but am not sure about how to install it on my server.  Any advice?
Title: Re: LDAP test?
Post by: pfloor on April 02, 2008, 07:52:09 AM
I am also happy to test this, but am not sure about how to install it on my server.  Any advice?
This comment http://bugs.contribs.org/show_bug.cgi?id=1543#c78 in the above mentioned bug should help.

WARNING: I would consider this work as ALPHA (maybe Beta) and will contain bugs. It can break your server so use with caution on a test server ONLY!
Title: Re: LDAP test?
Post by: steever on April 30, 2008, 06:01:43 AM
I've had a look at the bugtracker entry.  Does anyone have step by step install instructions so I can test the functionality?  Thanks.
Title: Re: LDAP test?
Post by: pfloor on April 30, 2008, 06:35:02 AM
I've had a look at the bugtracker entry.  Does anyone have step by step install instructions so I can test the functionality?  Thanks.
You possibly didn't look very good.  The link I posted points you directly to comment #78 and that comment contains the step by step instructions.  Did you try them?  Did they not work?

If you are having problems with the instructions posted in comment #78 then please reply to that bug.
Title: Re: LDAP test?
Post by: Daniel B. on April 30, 2008, 08:54:13 AM
Step by step instructions are:

Code: [Select]
yum --enablerepo=smetest install e-smith-base+ldap
signal-event post-upgrade
signal-event reboot

That's it. After the reboot, your server uses ldap for the authentication. There's still a lot of little problem to correct, but most of the package seems to be working. I recommend this only on tests servers.
Title: Re: LDAP test?
Post by: Stefano on April 30, 2008, 08:59:06 AM
Step by step instructions are:

Code: [Select]
yum --enablerepo=smetest install e-smith-base+ldap
signal-event post-upgrade
signal-event reboot


as per http://bugs.contribs.org/show_bug.cgi?id=1543#c78 (http://bugs.contribs.org/show_bug.cgi?id=1543#c78)

Code: [Select]
yum --enable smetest install e-smith-base+ldap e-smith-samba+ldap
signal-event post-upgrade
expand-template /home/e-smith/db/ldap/ldif
setuidgid ldap slapadd -c -l /home/e-smith/db/ldap/*
/etc/e-smith/events/actions/ldap-init-accounts
signal-event reboot

HTH

Ciao
Stefano

Title: Re: LDAP test?
Post by: Daniel B. on April 30, 2008, 09:04:53 AM
You don't have to do all these steps anymore. My instructions are enough.
Title: Re: LDAP test?
Post by: steever on April 30, 2008, 09:27:36 AM
Thanks VIP-ire.

Your instructions are much easier than

Quote
yum --enable smetest install e-smith-base+ldap e-smith-samba+ldap
signal-event post-upgrade
expand-template /home/e-smith/db/ldap/ldif
setuidgid ldap slapadd -c -l /home/e-smith/db/ldap/*
/etc/e-smith/events/actions/ldap-init-accounts
signal-event reboot

from the bugtracker.  Maybe a wiki entry?