Questions tagged [samba]
Samba is the standard Windows interoperability suite of programs for Ubuntu and is also the default file server for Ubuntu.
298
questions
90
votes
2
answers
365k
views
Proper fstab entry to mount a samba share on boot?
I am a little confused on the proper fstab entry for a samba share in Ubuntu 12.04
I can get the drive to mount manually by using:
sudo mount -t cifs //192.168.2.2/raid_drive /mnt/homeserver -o ...
9
votes
1
answer
3k
views
Every app in my Xubuntu 18.04 deleted by Tasksel. Please Help
I tried to remove samba-server with this command (sudo tasksel remove samba-server) and every app even the system apps are deleted and now xubuntu is stuck at boot, just showing loading. What should I ...
92
votes
5
answers
238k
views
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 ...
65
votes
9
answers
103k
views
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 ...
42
votes
6
answers
128k
views
How do I set up file sharing between two Ubuntu laptops on my wireless network?
I have two laptops running Ubuntu 12.04. Both connect to the same WIFI network to access internet.
How do I connect them to each other so that I can access files on one from another and vice versa?
...
31
votes
6
answers
280k
views
How to turn on Network Discovery and Share between computers with Samba
I have an Ubuntu server.
Accessing the server from Windows clients works fine.
But the server is not listed among the available PCs on Windows client's Network overview.
For windows machines it ...
49
votes
15
answers
235k
views
"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.
...
31
votes
5
answers
101k
views
16.04 CIFS "Host is down" but they are not
I have my CIFS setup in fstab and they are working as they are supposed to on boot. They mount as they should and work for a while. Out of nowhere it seems (could be after unlocking machine etc) I get ...
10
votes
2
answers
36k
views
Share Ext4 Partition Over Network
I have an Ext4 partition (not auto-mounted) that I would like to share (entirely) in my home that contains Mac OSX, Windows and Linux machines (currently the most important is sharing with the Mac). ...
30
votes
2
answers
165k
views
What is meaning of 755 permissions in Samba Share
I am experimenting with Samba. I have a RAID drive mounted on /mnt/raiddrives, and I want to share it on my network giving everyone full access to it. The Ubuntu guide says to do something like below ...
17
votes
5
answers
21k
views
Share between Ubuntu machines
I'm sure it might be a very easy way to do this, but I haven't found how...
I have two machines with Ubuntu 10.10 on the same network (just workgroup, no domain involved). On one of them I have shared ...
9
votes
4
answers
1k
views
How can I share files over a Windows network?
I have a media computer which I recently reformatted to Ubuntu 10.04. I am probably just missing something obvious but I can't figure out how to share folders and files, so that I can browse to them ...
3
votes
1
answer
9k
views
Here's my smb.conf file. Whats wrong with it?
I have reduced this to almost 0 security. I've tried security = user. I can't for the life of me see on my Windows machine these shared drives. I've also had the netbios name equal my workgroup ...
52
votes
3
answers
90k
views
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 ...
18
votes
6
answers
108k
views
How do I mount Samba share as non-root user
Is there a step-by-step tutorial that instructs in detail how to smbmount a Samba share to be used by a non-root user on a Ubuntu 10.04 desktop?
Note: there are numerous threads on Google search ...
31
votes
3
answers
228k
views
How do I connect to an SMB share requiring a user name and password?
I have a samba share on my LAN that requires a username and password to obtain write access (otherwise it defaults to read-only).
I can't figure out where in the Unity desktop I can connect to the ...
29
votes
5
answers
168k
views
I cant get samba to set proper permissions on created directories
I have a ubuntu server sharing some folders using samba. When a client creates a new folder or file, the permissions aren't set according to the settings in smb.conf.
My current settings for a ...
13
votes
2
answers
39k
views
Mount SMB share with gvfs from command line
There are many ways to mount an SMB share in Ubuntu. For example:
as root, you can use mount.cifs:
mount -t cifs -o user=username //servername/sharename/ /mnt
you can use smbnetfs as described here ...
9
votes
5
answers
31k
views
Samba Share user/password error after update
this is the first time that I couldn't find an answer so this is my first question. I will provide as much information as possible. I have an ASUS router that has 2 HDDs. There is only 1 username/...
9
votes
1
answer
8k
views
Network share 'remember forever' option doesn't work
I use Ubuntu 11.10 with xfce & gnome, and am dependent on company network infrastructure for windows shares (as well as Outlook, but more on that later). So I also fall under their password policy,...
47
votes
1
answer
269k
views
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: '...
42
votes
4
answers
202k
views
"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 ...
35
votes
3
answers
116k
views
How do I access a mounted Windows share from the command line?
I use Places > Connect to Server... to connect to a Windows share in my work environment (requires Kerberos authentication). When I do so, I can access the Windows share via Nautilus, but I can't ...
25
votes
7
answers
78k
views
Failed to mount Windows share: Invalid argument
A very similar question has been asked before by robazefa, but no one answered it.
For the last month or so, my Ubuntu 14.04 LTS box has been been unable to open a couple of folders shared from ...
24
votes
6
answers
31k
views
Why can't my machine resolve local windows hostnames?
When I ping any local windows hostname from my Ubuntu machine I get "unable to resolve host", but when I ping from a windows machine it works fine. Why would this be? Samba & Miredo are installed
24
votes
10
answers
174k
views
Can't access Ubuntu's shared folders from Windows 7
In Ubuntu Maverick, I've shared some folders using the Nautilus "Sharing Options" GUI.
I can see them from Windows 7, but when I try to access them (from Windows) it asks for a username and ...
19
votes
4
answers
35k
views
How to automount a gvfs file system on logon
I configured a remote folder in nautilus. I always need this remote folder, so I created a symbolic link to it in my home folder: ln -s ~/.gvfs/remote_folder ~/remote_folder.
Though, when I first ...
19
votes
3
answers
39k
views
How do I share a folder on a NTFS partition over the network?
I'm on Ubuntu 11.10, and I want to share a folder on an automounted NTFS partition (/dev/sda4) over the network. The purpose of this network is to share files between computers, it contains mostly ...
18
votes
1
answer
22k
views
How to make nautilus forget saved password? [duplicate]
I am browsing Shared folders on a Windows network through Samba.
When I first opened a system on the network I was asked for a login username, password and I checked the save-password setting. Now ...
17
votes
4
answers
52k
views
Cannot connect to Samba share from Nautilus
I have Ubuntu 10.04 and I would like to connect to my Samba shares which are on a DLink DNS323.
From Nautilus in "Places" -> "Network" I can easily navigate to the DND323 and see the available shares....
17
votes
3
answers
71k
views
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 ...
13
votes
2
answers
27k
views
Share Files over the Network - What packages?
I see a pop up that says
Share Files over the Network
This feature cannot be enabled because the required packages are not installed on your system
Simple enough, but what packages do I need?
9
votes
3
answers
43k
views
How do I re-install Samba?
I recently followed a guide to configure Samba but I couldn't get it configured properly. After realizing that the guide was six years out of date I thought I should start again.
I reinstalled samba ...
8
votes
2
answers
19k
views
How to force Nautilus to use SMB1?
Since the 18.04 upgrade, I am not able to connect to a Samba server using the Nautilus window. I have found out that I have to specify protocol to SMB1.0 (-o vers=1.0 in console).
I have tried to add ...
2
votes
0
answers
13k
views
How to enable file sharing between two PCs? [duplicate]
How to enable file sharing between two Ubuntu Oneiric PCs.
I have installed Samba both machines
I have changed permissions to all
create guest accounts
file is in home folder
Why cant I see shared ...
26
votes
4
answers
37k
views
How to discard saved password for samba share in unity?
I access samba shares from unity on Ubuntu 11.10 and saved username/pass for it. Now, I want to use a different username. Each time I go to the share and open it, it just opens without asking for ...
26
votes
3
answers
127k
views
Simple Samba Share - NO PASSWORD
What I need:
Simple samba config for file server without password and full read write for everyone. No security needed.
History:
I'm making a server to host files for my home. The goal of the server ...
13
votes
3
answers
44k
views
Sharing files in LAN through Samba or SSH
I am able to share files between two Ubuntu machine and Windows machine but I have these problems which I can't solve.
When I share files between two Ubuntu machines via LAN Computer1 to Computer2. ...
11
votes
5
answers
79k
views
How to change permissions on mounted windows share?
I have mounted a windows share, But only root have write permissions..
I need to change that to my user so my programs can download and save stuff to my windows share.
commands I've have used to ...
11
votes
2
answers
103k
views
Configuring 20.04 samba for SMBv1
Is there a way to configure the current samba to be able to display workgroups and/or homegroups?
SMB1 disabled -- no workgroup available
11
votes
4
answers
52k
views
Mounted cifs share but no write permissions
Have reinstalled Ubuntu on my web dev server. On the old one I had an smbfs share setup to access a share over the local network to other Ubuntu boxes. It was setup using the following and worked fine ...
10
votes
5
answers
32k
views
Why is mount.cifs not working in fstab any more after upgrading from 16.04 to 18.04?
My fstab for connecting to a local NAS was always
//192.168.111.112/RAID /home/moi/share/OMV cifs noauto,users,username=USERNAME,passwd=PASSWORD
After upgrading my system from Lubuntu 16.04 to 18.04 ...
9
votes
1
answer
59k
views
How do I map users with a samba share?
I have a Synology Diskstation with a published windows share.
On both the server and the client (Ubuntu 12.04) I have user accounts with matching username and passwords. (myth/myth)
The share is ...
8
votes
1
answer
52k
views
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 ...
7
votes
1
answer
3k
views
Where is the GVFS folder in 15.04
I can't seem to locate the GVFS folder in Ubuntu 15.04 has its location changed from 14.10?
The old location:
/run/user/1000/gvfs/
Is always empty, no matter how many samba shares are mounted.
So ...
6
votes
1
answer
3k
views
unable to mount samba share on boot (ubuntu 15.10)
I am following MountWindowsSharesPermanently to mount a samba share on boot
As said in wiki, I added these lines to /etc/fstab:
# auto-mounting the samba share 'Seagates' on raspberry pi
//192.168.2....
6
votes
4
answers
51k
views
Windows users unable to access samba share of an external drive
It doesn't seem that many others have had this problem so I thought I'd ask here.
Have a server running Ubuntu with 1 internal and 1 external drive. Have a folder shared with samba on the internal ...
5
votes
2
answers
2k
views
Is my Ubuntu vulnerable to SambaCry?
I read these two threads:
Warning! Hackers Started Using "SambaCry Flaw" to Hack Linux Systems
7-Year-Old Samba Flaw Lets Hackers Access Thousands of Linux PCs Remotely
And I got a little bit ...
2
votes
3
answers
7k
views
upgraded to Ubuntu 20.04, unable to access older NAS and samba servers
after upgrading to 20.04, I am now unable to access samba shes on older nas or older samba servers.
I have tried editing the smb.conf, and adding "client min protocol = CORE". This partly fixes the ...
2
votes
2
answers
2k
views
Script to Notify me when something happens on a shared directory
The situation is:
I have a shared directories from many other machines where other users work on.
I need to be notified whenever a user create, modify or delete a directory or file from his local ...