[Samba] Configured AD backend but getting different uid and gid

Rowland Penny rpenny at samba.org
Fri Apr 26 08:16:01 UTC 2019


On Fri, 26 Apr 2019 09:58:28 +0800
Alfonso Conner <c1581634 at gmail.com> wrote:

> Hi,
> 
> Thank you for replying. User home directory creation is working
> without the need to edit /etc/pam.d/common-session
> The logon script I mentioned here is a in-house script to handle
> directory mounting for file server access, and create shortcut on the
> account desktop for different logins.
> On my Linux machines, currently all is done manually by local user
> account creation and by adding the command lines into individual home
> directory ~/.bash_profile
> I am happy to see after joining Samba AD, domain users able to login
> Linux machines. However, I need to find a way to take care of the
> mapping after the domain user log in.
> 

Back to PAM again ;-)
try searching for 'pam-mount'
With this you can mount directories for users as and when they login.

Rowland



More information about the samba mailing list