Answer the question
In order to leave comments, you need to log in
Access to shared folders under a password. Linux Windows Clients
Hello, I have a task. There is a Linux server on it, let's say 10 folders, 10 clients have access to the server, of which 4 are windows 7, 3 are windows XP, 5 are Linux. It is necessary to make sure that these users can get into their folders only after entering the password. Tell me the direction of movement, maybe some notes or links. I will be grateful. I roughly know that this is done using Samba. Is OpenLDAP needed here?
Answer the question
In order to leave comments, you need to log in
If there is AD, then LDAP will allow you to take users from the domain.
for Samba it will be something like this:
the rest is to taste ... path is specified here to abstract from the home directories of system users, if not necessary - comment
further, smbpasswd -a Your-New-User, password twice ...
check rights and existence / some/smb-root/Your-New-User
[global]
...
security = user
...
[someshare]
..
browseable = no
writable = yes
path = /some/smb-root/%u
valid users = %S
..
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question