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

Alfonso Conner c1581634 at gmail.com
Tue Apr 30 01:06:48 UTC 2019


Hi,

Yes. All should be good. Thank you.

Regards

On Mon, Apr 29, 2019 at 2:58 PM Rowland Penny via samba <
samba at lists.samba.org> wrote:

> 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
>
> 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
> correctly.
>
> >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 ;-)
>
> Rowland
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list