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

2732 questions
126
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
  • 10,955
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…
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,815
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
  • 851
29
votes
2 answers

Samba fails to add a user entry, how do I fix this?

I was configuring Samba and tried to add a domain user, but it returns this: failed to add entry for the user student These are the commands I've done so far: frigate@frigate-desktop:~$ su Password: root@frigate-desktop:/home/frigate# nano…
17
votes
3 answers

How can I connect to a Samba server using its hostname instead of the IP?

I'm a beginner when it comes to Linux, and have recently put together a media server, holding all my movies, running Ubuntu 12.04. After following tutorials and forums I can successfully ping, by hostname and IP, my windows desktop box and my media…
14
votes
3 answers

A human-friendlier Samba name mangling

Most of our computers run Ubuntu, but two of them dual-boot into Windows, and when we have guests over, they typically also run Windows computers. Thus, in addition to using NFS, our file server (Ubuntu server) also runs Samba. And since we use…
Alex
  • 1,288
12
votes
1 answer

where does samba store its passwords?

I'm trying to make a program that will store the passwords with users input (a web app), rather than having to do it from the command line. The problem is that I don't know where the passwords are being stored as to change then.
user3368897
  • 145
  • 1
  • 1
  • 6
12
votes
1 answer

How do I completely reset Samba to the shipped defaults?

Since no one can help me with sharing files from Samba, how can I reset it to the defaults and delete any residual configurations from previous releases? Then, presumably, the GUI sharing would work after I reinstall samba. I tried using dpkg…
endolith
  • 587
11
votes
3 answers

"Failed to mount Windows share" error in Samba

This is the situation. There are 3 machines in the office. The Operating systems on them are respectively, Linux mint Ubuntu 12.04 Windows Vista The Ubuntu (#2) machine is supposed to be the common file server between the machines #1 and…
Ranjith Ramachandra
  • 741
  • 2
  • 8
  • 21
11
votes
2 answers

How can I create a samba share from the command line?

As part of the installation step of some software on a Ubuntu VM I'd like to create a samba share. How would I go about doing that from the command line?
Kit Sunde
  • 11,096
11
votes
1 answer

How do I configure Samba so that Windows 10 doesn’t complain about insecure guest logons?

I’ve just set up a new Ubuntu 18.10 server with a single SMB share which I’d like to access from Windows. But whenever I try to open the paths \\servername or \\servername\sharename in Windows, I get this error message: You can't access this shared…
sjy
  • 211
  • 1
  • 2
  • 4
8
votes
1 answer

What ports does the Samba client require?

Since an Ubuntu machine needs an smb client to access a smb server, it would have to establish a connection to the server. What ports does the client open to establish the connection? Do those ports continue to listen for incoming connections once…
Raffat
  • 289
8
votes
2 answers

Failed to retrieve share list from server: Invalid argument

I have a fresh install of Ubuntu 20.04 with Samba share enabled. When trying to access the share by browsing through the file manager, I get the error "Failed to retrieve share list from server: Invalid argument". This happens from the pc which is…
tderave
  • 81
  • 1
  • 1
  • 3
8
votes
4 answers

Samba GUI will not start 18.04

Went to Ubuntu Software installed Samba 1.2.63-0ubuntu6. Clicked 'Launch'... nothing happens Does not show up in 'Show Applications'
deepsage
  • 91
  • 1
  • 1
  • 3
1
2 3
12 13