Koozali.org: home of the SME Server

LDAP test?

Offline levien

  • **
  • 26
  • +0/-0
LDAP test?
« 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.

Offline mazkot

  • ***
  • 59
  • +0/-0
Re: LDAP test?
« Reply #1 on: December 06, 2007, 07:32:49 AM »
any updates?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: LDAP test?
« Reply #2 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).
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline levien

  • **
  • 26
  • +0/-0
Re: LDAP test?
« Reply #3 on: March 31, 2008, 09:27:52 PM »

Offline steever

  • *
  • 185
  • +0/-0
    • Open-Sesame
Re: LDAP test?
« Reply #4 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?
Saving the world ... one server at a time.

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: LDAP test?
« Reply #5 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!
In life, you must either "Push, Pull or Get out of the way!"

Offline steever

  • *
  • 185
  • +0/-0
    • Open-Sesame
Re: LDAP test?
« Reply #6 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.
Saving the world ... one server at a time.

Offline pfloor

  • *****
  • 889
  • +1/-0
Re: LDAP test?
« Reply #7 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.
In life, you must either "Push, Pull or Get out of the way!"

Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: LDAP test?
« Reply #8 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.
C'est la fin du monde !!! :lol:

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: LDAP test?
« Reply #9 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

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


Offline Daniel B.

  • *
  • 1,700
  • +0/-0
    • Firewall Services, la sécurité des réseaux
Re: LDAP test?
« Reply #10 on: April 30, 2008, 09:04:53 AM »
You don't have to do all these steps anymore. My instructions are enough.
C'est la fin du monde !!! :lol:

Offline steever

  • *
  • 185
  • +0/-0
    • Open-Sesame
Re: LDAP test?
« Reply #11 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?
« Last Edit: May 01, 2008, 02:25:17 PM by steever »
Saving the world ... one server at a time.