[K12OSN] OT - Getting Ubuntu 8.04 to Authenticate from LDAP Server

R. Scott Belford scott at hosef.org
Wed Sep 17 08:28:09 UTC 2008


This is from memory - I am not in front of a client.  I have done this a lot
recently, and I am pretty sure it is right.  Ubuntu, beginning with 8.04,
introduced a good tool for authentication.

If you will be mapping home from the LDAP server, then mkdir
/home/$ldapexport
vim /etc/fstab and add ldapipaddress:/home/$ldapexport /home/$ldapexport nfs
rsize=8192,wsize=8192,intr=14,timeo 0 0
sudo apt-get install nfs-common portmap

then

sudo apt-get install ldap-auth-config
The install will prompt you for your LDAP settings.  Then, after install,
run
sudo ldap-auth-client -a -p lac_ldap
to inject those variables
logout.  Then either
1. ctrl+alt+F1, login, sudo mount -a, exit, ctrl+alt+F7,
2. Reboot

Now try entering a user with a shared home directory on the ldap server.

Hopefully this helps a bit

--scott

On Tue, Sep 16, 2008 at 9:51 PM, Carl Keil <carl at snarlnet.com> wrote:

> Hey,
>
> Can someone tell me the procedure to get an Ubuntu 8.04 workstation to log
> in via LDAP?  In what seem to be the most authoritative instructions I can
> find it says to fire up ./smbldap ldapclient and "answer a few questions".
>  I can't find ldapclient or find a way to install it on Ubuntu.  I've tried
> a method where I'm editing all sorts of pam auth files by hand and it's not
> working and for some reason my workstation still logs in, but it's
> incredibly slow now.
>
> Also, does anyone know if XP Home Edition can use LDAP for authentication,
> or can only XP Pro do it?
>
> Any suggestions would be appreciated.
>
> Thanks,
>
> ck
>
> _______________________________________________
> K12OSN mailing list
> K12OSN at redhat.com
> https://www.redhat.com/mailman/listinfo/k12osn
> For more info see <http://www.k12os.org>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/k12osn/attachments/20080916/66887dcf/attachment.htm>


More information about the K12OSN mailing list