Changes

Jump to navigation Jump to search
==Setting up the Samba Server==
Based on [https://help.ubuntu.com/lts/serverguide/samba-fileserver.html this Ubuntu page], but [http://www.tomsitpro.com/articles/linux-server-configuration-guide-book-excerpt,2-777-2.html this guide] is also helpful. Make a backup copy of the smb.conf configuration file before editing it:
$ sudo cp /etc/samba/smb.conf /etc/samba/smb.conf_backup
$ testparm /etc/samba/smb.conf
The /bulk directory should already exist from installation, so change the owner of the directoryits permissions:
$ sudo chown nobody:nogroup chmod 770 /bulk
You also need to add a user to the Samba database. I used the username "alexjiang" for the commands below, which can be replaced with whatever username needs to be added:  $ smbpasswd -a alexjiang $ groupadd smbusers $ chown :smbusers /bulk $ usermod -G smbusers alexjiang Then restart the samba services:
$ sudo restart smbd
Anonymous user

Navigation menu