N
N
netherneon2011-09-07 10:00:50
linux
netherneon, 2011-09-07 10:00:50

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

2 answer(s)
A
alexdob, 2011-09-07
@alexdob

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
..

D
dikkini, 2011-09-07
@dikkini

If on the local network, then you can simply Samba, and LDAP will allow users to log in to their folder without a password, the password will be authentication in their account.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question