[Samba] samba + ldap + pam_mkhomedir ?

Nicki Messerschmidt, Linksystem Muenchen GmbH samba at alienn.net
Tue May 6 10:16:22 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,
I'm on the way to implement samba with ldap on five servers (each owns
a different nt-domain) and a master server which maintains the central
user database which gets replicated to all the other servers. Now I
have just one more problem, namely homedirs. I want every user to have
a homedir to store for example his profile. This has to exist, and it
would be nice if I could use pam_mkhomedir to create it, but (without
testing) I figure that samba has to authenticate against pam, am I
right? But if I let samba autheticate against pam, do I still have all
the information available, when autenticating against ldap?
What I planned is this:
User log onto pdc -> authentication against pam -> pam autheticates
against ldap
                  |
                   -> if homedir exists everything is fine
                    else
                   -> pam_mkhomedir creates homedir on server

Has anyone done something like this before and could provide some
information?


Thanks and cheers
Nicki

- -- 
Linksystem Muenchen GmbH                          info at link-m.de
Schloerstrasse 10                           http://www.link-m.de
80634 Muenchen                              Tel. 089 / 890 518-0
We make the Net work.                       Fax 089 / 890 518-77

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 6.5.3 for non-commercial use <http://www.pgp.com>
Comment: Keys at: https://www.link-m.de/pgp

iQA/AwUBPrd9Zes1nPm17iBDEQL54gCfbFQrSoTqxEuzbgqxdaSH9kaMJvUAn1qQ
sWZmIN8l6OiQPhuHXU7nvqEk
=e22D
-----END PGP SIGNATURE-----



More information about the samba mailing list