Checking Samba Status

View previous topic View next topic Go down

Checking Samba Status

Post by jamied_uk on 6th July 2016, 23:17

Checking Samba Status



Code:
sudo smbstatus


Open a share

Windows + r

Code:
\\192.168.0.5

Config




More about status


samba.org/samba/docs/man/manpages/smbstatus.1.html


Last edited by jamied_uk on 6th July 2016, 23:50; edited 1 time in total
avatar
jamied_uk
Admin

Posts : 2280
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

Re: Checking Samba Status

Post by jamied_uk on 6th July 2016, 23:32

Checking Samba Status

sudo smbstatus


Open a share



\\192.168.0.5


More about status





sudo smbstatus --shares



Install samba if required

sudo apt-get install samba


sudo smbpasswd -a


sudo chown /var/opt/blah/blahblah

Edit the file "/etc/samba/smb.conf"

sudo nano /etc/samba/smb.conf

    Once "smb.conf" has loaded, add this to the very end of the file:

    []
    path = /home//
    valid users =
    read only = no

    Tip: There Should be in the spaces between the lines, and note que also there should be a single space both before and after each of the equal signs.

Restart the samba:

sudo service smbd restart




You can also hide the user on the login screen by adjusting lightdm's configuration, in /etc/lightdm/users.conf add the newly created user to the line :
hidden-users=








More

samba.org/samba/docs/man/manpages/smbstatus.1.html
avatar
jamied_uk
Admin

Posts : 2280
Join date : 2010-05-09
Age : 34
Location : UK

http://address-shortner.co.uk

Back to top Go down

View previous topic View next topic Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum