E
E
Evgeny Lavrentiev2014-04-28 13:37:27
Debian
Evgeny Lavrentiev, 2014-04-28 13:37:27

File server for a small organization

Hello, I have a question that I would like to know better. I read other questions on this topic here, but something did not really help.
Actually, the question is perhaps banal, please don’t scold me much, there is an organization of a car park of about 100 cars. Of these, 50/50, each half has its own network, they do not work in the domain, which of course is a bit annoying. There is an empty server with debian installed + 2 network interfaces to work in both networks (8GB+2x1TB(Raid)). It is required to organize an exchange folder for documents on this typewriter.
I considered the Samba option, of course I was inspired, but there are disadvantages that are very annoying. For example, I logged in under one login to one directory, and if I have to go to another directory where there is already a different user and rights, it gives an error until I exit from under the first user. By the way, I looked at a bunch of articles and forums, and as I understand it, you can’t get away from this problem.
Option two, it was an FTP server (right now it's on another server running under Win), but the connection speed is depressing.
Can you tell me what other options for solving the problem are, so that there is an excellent network speed + multiple authorization in different directories + full rights management for directories and files.
PS: If it is possible to set up a Samba server and get rid of the authorization problem described above, please write back. And if it is possible to set up an FTP server and have the speed work like that of Samba, I will also be grateful!
Below I will write down exactly what is required:
Required:
- Mandatory on Debian, Ubuntu (do not offer win)
- Authorization by IP + Login + Password
- Breakdown of access rights into directories and files (by groups) (Write\Download\Read, etc. .)

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander, 2014-04-28
@lavrentiev

I considered the Samba option, of course I was inspired, but there are disadvantages that are very annoying. For example, I logged in under one login to one directory, and if I have to go to another directory where there is already a different user and rights, it gives an error until I exit from under the first user. By the way, I looked at a bunch of articles and forums, and as I understand it, you can’t get away from this problem.

It's not entirely clear what your problem is. It's normal to be asked to authenticate on a per-folder basis if permissions are not set for an already authenticated user.
Let's be on our toes:
There is a /share/user1 directory - it has permissions for this user or group in which it lives. There is a /share/user2 directory - it has its own rights and another group. In this case, there will be 2 username prompts. What is your case?

A
Alexey Cheremisin, 2014-04-28
@leahch

So, samba is the right choice. As for multilogin, the policy itself is wrong! The user must log in ONLY under one login! All rights to directories and files must be set for one user. To do this, there are a lot of facilities - ranging from the rights to resources and ending with the rights of users / groups to access directories and files.

S
SarganSaor, 2014-04-29
@SarganSaor


Install the latest ubuntu 14.04 server, there is samba4 4.1.6 (not alpha, as in the previous LTS), this gives : will have a very good effect on speed.
2. btrfs as FS + samba 4.1 will still give a performance boost.
3. Raise a domain to samba4 AD and manage your park with policies.

M
Maxim, 2014-04-29
@1kachan

vsftpd

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question