Web lists-archives.com

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




On Fri, 26 Apr 2019 09:58:28 +0800
Alfonso Conner <c1581634@xxxxxxxxx> 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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba