Questions tagged [samba]

Samba is the standard Windows interoperability suite of programs for Ubuntu and is also the default file server for Ubuntu.

Samba has provided secure, stable and fast file and print services for all clients using the SMB/CIFS protocol, such as all versions of DOS and Windows, OS/2, Linux and many others.

samba official website

2806 questions
127
votes
5 answers

How to restart samba server?

Sorry this is a little embarassing but I'm trying to set up my own server for the first time. I found great tutorial online. http://www.intac.net/build-your-own-server/ I'm stuck at the 2nd to last line of step 4. Apparently there is no samba…
user784637
  • 11,465
117
votes
4 answers

Cannot restart samba, samba.service is masked

When I try to restart Samba, I am receiving the following error message: Failed to start samba.service: Unit samba.service is masked. In addition, when I run systemctl, it shows smbd.service in red showing failed. At the same time restart began…
99
votes
9 answers

List samba shares and current users

Looking for a simple way to do this from the command line. List samba shares and the users who can access each of them. List samba shares and the users currently connected to them. List samba shares and every connection (log, including user) that…
komputes
  • 3,303
93
votes
5 answers

Which to use NFS or Samba?

I am setting up a box to be a file server at the house. It will mainly be used to share music, pictures, movies with other linux boxes on the network, and one OS X machine. From what I have read NFS and samba would work in my situation, and as such…
Jacob Schoen
  • 5,285
69
votes
9 answers

How do I navigate to a samba location I've mounted in Nautilus on the command line?

Please note: I am two weeks old in Linux. I have found a lot of answers to this question on the internet, tried many, but all failed one way or another. Therefore I dare to ask once again in the hope that someone here could explain it simply…
texnic
  • 1,263
68
votes
9 answers

How do I share a folder with another Linux machine on the same home network?

I'm trying to share a folder on one Ubuntu machine with another Ubuntu machine on the same home network. When I right click on the folder and choose Sharing Options, it tells me I need to install Windows network sharing services in order to share…
EmmyS
  • 17,031
67
votes
1 answer

How do I install smbmount?

It seems that smbmount is not available in Kubuntu 12.10: - neptune():~$ smbmount //192.168.0.100/ samba/ -o rw smbmount: command not found - neptune():~$ apt-file search smbmount manpages-zh: /usr/share/man/zh_CN/man8/smbmount.8.gz manpages-zh:…
dotancohen
  • 2,864
66
votes
1 answer

mount -t cifs results in 'cannot mount readonly' error

I am trying to mount directory located on local network. I am using : mount -t cifs -o username=user //192.168.0.106/shared /home/user/point And I get following error : mount: /home/user/point: cannot mount //192.168.0.106/shared read-only. It is…
John Ronald
  • 2,526
63
votes
6 answers

How to map a network drive?

I am unable to map a Windows network drive in Ubuntu. I executed the following command in the terminal: karthick@karthick:~$ sudo mount -t cifs -o username=raghu //172.29.32.184 /media/Data/ Password: mount error(2): No such file or directory Refer…
karthick87
  • 84,513
53
votes
3 answers

Where can I find the mount point for SMB shares in 13.04?

In older Ubuntu releases, you were able to access the SMB shares mounted with Nautilus by going into the ~/.gvfs/ directory. I found it very convenient, since I like to use Nautilus to mount the shares, but do all disk operations (copy, mv, find…
January
  • 37,208
52
votes
4 answers

How do I mount a CIFS share via FSTAB and give full RW to Guest

I want to create a Public folder that has full RW access. The problem with my configuration is that Windows users have no issues as guests (they can RW and Delete), my Ubuntu client can't do the same. We can only write and read, but not create or…
Kendor
  • 4,928
51
votes
1 answer

How can I set up Samba shares to only be accessed by certain users?

I have a RAID10 array mounted on Ubuntu Server 12.04. I have created a few folders within the mount point and want the following functionality. There will be 4 users, 3 of them are windows users: 'one' 'two' & 'three'. 'four' is a media streamer…
Liam
  • 613
49
votes
15 answers

"Failed to retrieve share list from server" error when browsing a share with Nautilus

A bit before upgrading from 10.04 to 11.10, my Ubuntu desktop stopped allowing me to access my Windows share directories. I figured I'd upgrade to 11.10 and the problem would get fixed but no. Whenever I click on a Windows network domain using…
jldupont
  • 861
48
votes
2 answers

Failed to add /run/systemd/ask-password to directory watch: No space left on device?

Does anyone knows why have I this message with the new update of samba on ubuntu 16.04.1? Paramétrage de samba (2:4.3.9+dfsg-0ubuntu0.16.04.3) ... Failed to add /run/systemd/ask-password to directory watch: No space left on device: Since I have so…
vigilian
  • 854
43
votes
4 answers

"Mounting cifs URL not implemented yet" when I try to mount a samba share

I have a server for development (Ubuntu 12.04). On that machine, I have a shared folder named "projects". I tried sudo mount -t smbfs smb://192.168.2.28/projects/myProject /mnt/myProject on my Ubuntu 11.10 and got the error: Mounting cifs URL not…
1
2 3
99 100