7
wowotek
6y

configuring Samba and vsftpd is really frustrating. it's my first time setting up local server tho.

Comments
  • 0
    What's wrong with setting up vsftpd? I used to be pretty good at setting it up if you need help
  • 0
    @ScribeOfGoD actually the trouble is not exactly in the vsftpd, but i don't familiar with setting up the networking. i mean the term is a bit different like for example "broadcast ip" which i never heard of. and the the different subnet something that use 192.168.x.x\24.

    i don't even started to touch the authentication and folders hierarchy settings. just spinning around this circles.

    and for Samba, it did not show up in network sharing, but i can access it manually using ip \\192.168.x.x tho. but still can't cannot go deeper after this layer of directory.
  • 1
    For Samba I always use the Arch Wiki page. Works every time :)
    Essentially you just install samba, install the smb.conf file from https://git.samba.org/samba.git/..., check your workgroup and add your shares to it, and add a SMB password using "# smbpasswd $user". For example, if you want to access /var/vmail as user root, you want to add the following:

    [vmail]
    comment = Mail directory on server.
    path = /var/vmail
    browseable = yes
    read only = no
    guest ok = no

    And then add the smbpasswd for user root. The password can be different, but the access levels to files will be that of what the user on the server would have. In case of root, that'd be everything. You'll likely want to create a separate user instead, and grant it group access to the directories it needs.

    Regarding vsftpd, it's a terrible server. Nothing but issues with that piece of crap. Personally I quite like proftpd, really easy to set up. Also check out Arch Wiki for this.
  • 1
    @Condor Thank You ! i will try this.
Add Comment