E
E
Evgeny Ivanov2017-03-21 06:58:18
linux
Evgeny Ivanov, 2017-03-21 06:58:18

What parameter does samba need for login-password authorization?

Samba 4. Installed everything as standard. Set up.
The server is needed for balls, not a domain controller. Just a regular server with a connection to a folder by login and password. But there is a connection from computers, not in the domain.
That is, if the computer is in a domain, I go to the server and see my shared folder.
I click - asks for a username and password. I enter and at the top there is a download (the progress bar in Windows, in the address bar of the explorer, where is the path to the folder) - i.e. the system is trying to connect to the ball. And after a minute it says that the network path was not found or there is no access to the resource - contact the administrator.
From computers not in the domain - it is perfectly connected. And it doesn't matter what group name these computers have.

[global]
workgroup = WORKGROUP

What parameter does samba need to work with a login-password?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
C
CityCat4, 2017-03-21
@CityCat4

man smb.conf

[global]
security = ad

And separately read about the procedure for including samba in a domain

P
pfg21, 2017-03-21
@pfg21

read
https://www.ibm.com/developerworks/ru/library/l-lp...
and a couple more related articles from ibm, chewed very well.

E
Evgeny Ivanov, 2017-03-21
@logpol32

In general, I realized my mistake. It looks like nothing is needed.
You just need to enter the username not user, but WORKGROUP\user for domain computers.
In the same place, MYDOMAIN \ is attached to the name by default.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question