FacebookTwitterFlickrYoutuberss

Talk:Authenticating Linux client against Samba

From Zentyal Linux Small Business Server
Jump to: navigation, search

((
As I actually hesitate to edit the content page I put my potentially added text here. UdoB (talk) 11:10, 20 July 2014 (CEST)
))


Mount $HOME

The given documentation using pam_mkhomedir creates a local $HOME on the client. This user will have different files in his $HOME on each client he uses. If you prefere to use the single instance $HOME from your Zentyal Server do this instead:

apt-get install cifs-utils smbclient libpam-mount # fetch required packages

Edit the existing file /etc/security/pam_mount.conf.xml and add a line like this:

   <!-- Volume definitions -->
   <volume user="*" fstype="cifs" server="10.1.100.1" path="%(DOMAIN_USER)" mountpoint="/home/%(DOMAIN_USER)" options="sec=ntlm,nodev,nosuid" />

(Replace only the IP address with that one of your server and leave the rest unmodified.)

Personal tools
Namespaces

Variants
Actions

Zentyal Wiki

Zentyal Doc
Navigation
Toolbox