
#Ubuntu samba how to
Jun 12 16:23:38 mail smbd_audit: mslavov|10.10.11.230|ftp|martin-pc|close|ok|testĨ Theme – How to create script for BACKUP and use crontab on Ubuntu (Server) 14.Before we begin talking about how to install Samba and configure it on Ubuntu 18.04, let's understand - What is Samba? These are other attributes for full_audit:success = connect disconnect opendir mkdir rmdir closedir open close read pread write pwrite sendfile rename unlink chmod fchmod chown fchown chdir lock symlinkĪfter this your file will look cat /var/log/samba-audit.log | grep test | grep “Jun 12″ You can add more attries but I strongly recommended to add only this mkdir rename unlink rmdir write. Step 10 – Open config file nano /etc/samba/smb.conf and add the following line:įull_audit:success = mkdir rmdir read pread write pwrite rename unlink In this part I will show you how to configure. My Computer -> Map network drive -> \\Ip address of samba serverĪme of your shared folder -> add your samba user and password. This is mine config mkdir chmod 777 /etc/samba/ftp – path = /srv/samba/yoursharedfolder //If you want to create your own shared folder, you just have to change the folders names with your folders names and to add the rules which you want for your folder. – write list = mslavov // The users who will have permission to write in this directory

If you want these files and folders to be edited by all users, you have to change the permissions to 777 In this way the files and folders will be edited only by the users of the particular group. – force create mode = 0775 // These are the permissions, which will be used for creation of files and folders.

1 – – The rules defined here apply for all shared foldersĢ – follow symlinks = yes //allow using shortcutģ – unix extensions – no //denied using unix extentionĥ – path = /srv/samba/ftp //path of share
