C
C
Cyril2019-09-26 10:40:24
Active Directory
Cyril, 2019-09-26 10:40:24

How to map Unix users to AD users in Samba?

There is a certain server on Ubuntu Server on which Samba is lifted. Ubuntu Server has users user1, user2, etc. Samba itself is configured in such a way that each Unix user has its home directory shared - for user1 , the /home/user1 directory , etc. And if we go, for example, to the address //samba-srv/user1, we will get to the home directory of the Unix user user1.
How to make sure that when samba-srv is entered into the Active Directory domain, the Unix users match the users from Active Directory? For example, to make the domain user i.ivanov match the Unix user user1, and so on. ?
I just want to make sure that when accessing //samba-srv/user1user i.ivanov did not enter a login and password, but that the authorization was immediately at the network level. Simply put, so that Samba on samba-srv knows that i.ivanov comes in.
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Korben5E, 2021-01-14
@Korben5E

It has been written for a long time, but I will write anyway :-)
you need to add Ubuntu to the domain

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question