[Samba] Configured AD backend but getting different uid and gid
rpenny at samba.org
Mon Apr 29 06:57:49 UTC 2019
On Fri, 26 Apr 2019 09:58:28 +0800
Alfonso Conner <c1581634 at gmail.com> wrote:
> Thank you for replying. User home directory creation is working
> without the need to edit /etc/pam.d/common-session
Being a red-hat based OS, it is probably using something similar
> 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.
This is possible, I know Louis has mentioned pam-mount, but there is
also pam-script and this will probably do what you want.
> On my Linux machines, currently all is done manually by local user
> account creation
You don't need to and shouldn't create a local Unix user account, you
just make your Domain users into Unix users by setting up smb.conf
>and by adding the command lines into individual home
> directory ~/.bash_profile
Once your users have logged in, ~/.bash_profile should be available.
> 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.
This is Unix, there are several ways you can do this, the problem will
be finding the way that works for you ;-)
More information about the samba