[Samba] Winbind. making home directory on the fly

John Simovic jsimovic at rydesc-h.schools.nsw.edu.au
Mon Apr 28 21:55:32 GMT 2003


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 at cae.co.za]
Sent:	Tue 4/29/2003 5:57 AM
To:	samba at 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 at sportodds.com>
> To: "Samba (E-mail)" <samba at lists.samba.org>
> Subject: [Samba] Winbind. making home directory on the fly
> Message-ID: <18A6CE21402F9D438224021B77CDC1E97D8DAF at 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.
**********************************************************************


More information about the samba mailing list