[Samba] AD home drive
PGhimire at sundata.com.au
Fri Jun 14 10:30:24 UTC 2019
Initially I deposited the line towards the bottom but then it didn't work. The line wasn't getting enough attention so it decided to creep up a bit :)
As suggested in the initial email, the box was a NT4 PDC which had the all the shares. The home drive pointed to /home/%U/samba.
Looking at the logs, to me it looks like the default smb.conf template (as suggested by Louis) doesn't match the homes definition
From: samba [mailto:samba-bounces at lists.samba.org] On Behalf Of Rowland penny via samba
Sent: Friday, 14 June 2019 6:19 PM
Subject: Re: [Samba] AD home drive
On 14/06/2019 07:40, Praveen Ghimire wrote:
> Hi Rowland,
> I've added the bit to the pam.d and rebooted the server but still no
> The following is from the log file for the machine (user is testhome2)
> adding home's share [VM-WIN7-01$] for user 'LIN\VM-WIN7-01$' at '/home/%U/samba'
> get_auth_event_server: Failed to find 'auth_event' registered on the
> message bus to send JSON authentication events to:
> Adding homes service for user 'LIN\testhome2' using home directory: '/home/LIN/testhome2'
> canonicalize_connect_path failed for service testhome2, path
> # here are the per-package modules (the "Primary" block)
> session [default=1] pam_permit.so
> # here's the fallback if no module succeeds
> session requisite pam_deny.so
> # prime the stack with a positive return value if there isn't one
> already; # this avoids us returning an error just because nothing sets
> a success code # since the modules above will each just jump around
> session required pam_permit.so
> session required pam_mkhomedir.so skel=/etc/skel/ umask=0022
> # The pam_umask module will set the umask according to the system
> default in # /etc/login.defs and user settings, solving the problem of
> different # umask settings with different shells, display managers, remote sessions etc.
> # See "man pam_umask".
> session optional pam_umask.so
> # and here are more per-package modules (the "Additional" block)
> session required pam_unix.so
> session optional pam_winbind.so
> session optional pam_systemd.so
> # end of pam-auth-update config
I said 'add' it, not plonk it into the middle of the file ;-)
Also your path is a bit suspect, I would expect '/home/samba/%U' and '/home/samba' would have to exist.
To unsubscribe from this list go to the following URL and read the
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com ______________________________________________________________________
More information about the samba