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
-
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.
-
any updates?
-
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).
-
any updates?
Yep! See http://bugs.contribs.org/show_bug.cgi?id=1543
Best regards,
Levien
-
I am also happy to test this, but am not sure about how to install it on my server. Any advice?
-
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!
-
I've had a look at the bugtracker entry. Does anyone have step by step install instructions so I can test the functionality? Thanks.
-
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.
-
Step by step instructions are:
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.
-
Step by step instructions are:
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)
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
-
You don't have to do all these steps anymore. My instructions are enough.
-
Thanks VIP-ire.
Your instructions are much easier than
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?