I have an issue where samba/winbind is not creating the home diretcory on the fly, Is there anything I need to do other than have the line template homedir = /home/%D/%U ? Thanks, Pete
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 28 April 2003 04:29, Peter Milburn wrote:> I have an issue where samba/winbind is not creating the home diretcory on > the fly, > > Is there anything I need to do other than have the line > > template homedir = /home/%D/%U ?Samba/winbind is not supposed to create homedirs on the fly. Use pam_mkhomedir for that. Jelmer - -- Jelmer Vernooij <jelmer@samba.org> ~/.plan: -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE+rRw7Pa9Uoh7vUnYRAiM1AJ40vS3YIcuifpTtWH6Mw1Anti+VdwCbB/zs zfBi0BHpHH+iZDgaQt/9Ums=nFFB -----END PGP SIGNATURE-----
> Date: Mon, 28 Apr 2003 12:29:13 +1000 > From: Peter Milburn <peterm@sportodds.com> > To: "Samba (E-mail)" <samba@lists.samba.org> > Subject: [Samba] Winbind. making home directory on the fly > Message-ID: <18A6CE21402F9D438224021B77CDC1E97D8DAF@HPKEXG1> > Content-Type: text/plain; > charset="iso-8859-1" > MIME-Version: 1.0 > Precedence: list > Message: 19 > > I have an issue where samba/winbind is not creating the home diretcory > on the fly, > > Is there anything I need to do other than have the line > > template homedir = /home/%D/%U ?That just defines what the home directory will be. If you want to have home directories made for you, use pam_mkhomedir.so either in your stack (ie system-auth) or in the service you want to allow to make home directories. Look in packaging/Mandrake/system-auth-winbind.pamd in the source dist for an example (on Mandrake you can copy this file over /etc/pam.d/system-auth, for RH you may have to make adjustments). Done for you if you choose "Windows Domain" authentication in Mandrake 9.0 or 9.1 Regards, Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
What if I have home directories already on a Windows server and want to export that directory to a unix mount point. Is this possible with some sort of NFS for Windows program? -----Original Message----- From: Buchan Milne [mailto:bgmilne@cae.co.za] Sent: Tue 4/29/2003 5:57 AM To: samba@lists.samba.org Cc: Peter Milburn Subject: Re: [Samba] Winbind. making home directory on the fly> Date: Mon, 28 Apr 2003 12:29:13 +1000 > From: Peter Milburn <peterm@sportodds.com> > To: "Samba (E-mail)" <samba@lists.samba.org> > Subject: [Samba] Winbind. making home directory on the fly > Message-ID: <18A6CE21402F9D438224021B77CDC1E97D8DAF@HPKEXG1> > Content-Type: text/plain; > charset="iso-8859-1" > MIME-Version: 1.0 > Precedence: list > Message: 19 > > I have an issue where samba/winbind is not creating the home diretcory > on the fly, > > Is there anything I need to do other than have the line > > template homedir = /home/%D/%U ?That just defines what the home directory will be. If you want to have home directories made for you, use pam_mkhomedir.so either in your stack (ie system-auth) or in the service you want to allow to make home directories. Look in packaging/Mandrake/system-auth-winbind.pamd in the source dist for an example (on Mandrake you can copy this file over /etc/pam.d/system-auth, for RH you may have to make adjustments). Done for you if you choose "Windows Domain" authentication in Mandrake 9.0 or 9.1 Regards, Buchan -- |----------------Registered Linux User #182071-----------------| Buchan Milne Mechanical Engineer, Network Manager Cellphone * Work +27 82 472 2231 * +27 21 8828820x121 Stellenbosch Automotive Engineering http://www.cae.co.za GPG Key http://ranger.dnsalias.com/bgmilne.asc 1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba ********************************************************************** This message is intended for the addressee named and may contain privileged information or confidential information or both. If you are not the intended recipient please delete it and notify the sender. **********************************************************************