Questions tagged [samba]
Samba is the standard Windows interoperability suite of programs for Ubuntu and is also the default file server for Ubuntu.
2,951
questions
0
votes
1
answer
42
views
samba share giving group permissions
I've read the documentation for samba share. They say I have to use @groupname to give a group to access the share. Like this:
valid users = @groupname
I'm not sure, but I've read somewhere +...
0
votes
0
answers
592
views
libpam-winbind package for samba users
Installing the libpam-winbind package will sync the system users to the samba user database. This is written in the documentation. I'm not sure about the sync. After installing the libpam-winbind ...
2
votes
0
answers
50
views
How to find what causes the mismatch between the reported and the actual used space? [duplicate]
1. The setup
I have a 4 TB WD Red HDD with one ext4 partition /dev/sdb1 mounted on an Ubuntu 16 LTS Server under /DataVolume. The mounted drive is then served on the network by a samba server.
...
1
vote
0
answers
51
views
Make Wi-Fi fast again (on my Ubuntu, like it was on Windows)
When I used Windows 7 on my notebook, Wi-Fi worked fine, it gave me 11 mega bytes per second speed. But now, on Ubuntu, I only have 130 kilo bytes per second via samba, and 1-2 megabytes via torrents -...
0
votes
1
answer
1k
views
Users can't access samba AD shares
We moved up from a 3.x NT-type Samba server and built a new AD server using the SambaWiki, methodically making sure each step and test worked correctly. It's fine in administrator or Domain Admin mode,...
0
votes
1
answer
2k
views
samba: unable to delete directories
From my samba share on ubuntu, I am unable to delete directories. Deleting files is just fine. I can log in as the samba user over ssh and delete the same dir.
Every directory is set to drwxrwxrwx as ...
2
votes
1
answer
20k
views
Problem accessing samba share / permission denied
i have installed samba and want to share a directory to everyone in my home network.
Everything works fine, if i share for example a directory inside my ubuntu user home directory:
home/drwade/temp/...
3
votes
1
answer
10k
views
Samba service won't start on 16.04 LTS (not an upgrade) anymore
HI long time listener first time caller.
I have a system running 16.04 LTS Desktop with a Samba share that has stopped starting, roughly two months ago. My attempts to restart, purge, reinstall have ...
2
votes
1
answer
20k
views
Connect to samba share from windows 10
I am having difficulties to connect to a samba share from Windows10. The samba-share is located on a Ubuntu server 16.04.
I did some reading on the internet and did configure the share but can't ...
0
votes
1
answer
34
views
Ubuntu 16.04 - Second Drive in machine has to be re-shared through GUI at boot
I have two drives and one of my Linux machines. One smaller SSD that has the operating system and then a larger storage drive.
I’m trying to share the larger storage drive through Nautilis as a Samba ...
0
votes
1
answer
347
views
Block Users to Samba Folder
I want to have certain users when connecting to my samba share to have access blocked to certain folders. How would I do this?
3
votes
1
answer
6k
views
How I can access the smb from linux?
I want to access the smb protocol in windows 8.1 from my linux pc
and I know the username.
When I want to access by this command
smbclient //192.168.1.5/IPC$ -U kasp3r
it told me to put a ...
4
votes
1
answer
2k
views
Group shares not listed by smbtree, nautilus due to not asking for password
We recently migrated to Samba 4.4.16 (from 3.5.15).
Our configuration contains a number of shares which have group access only (@group or +group) which map to unix groups. Here's an excerpt of the ...
3
votes
2
answers
11k
views
CIFS mount slow on Ubuntu 17.10
I'm struggling with a weird issue when mounting using CIFS:
"Downloading" from the mounted (cifs) server works fine at around 1000mbps
"Uploading" to the mounted (cifs) server works slow at around ...
1
vote
0
answers
178
views
How can I share an automounted USB device (any fs) AUTOMATICALLY via samba?
Background: I am running Ubuntu on a headless system. I want to be able to attach a usb stick to it and have the stick automatically mounted and shared via samba / network. The name of the network ...
0
votes
0
answers
818
views
fstab doesn't mount CIFS but mount -a after logging in works
This is my fstab:
UUID=64383220-a185-4473-b3ab-ef1612d4d94c / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
tmpfs /tmp tmpfs defaults,nosuid 0 0
/var/swap none swap sw 0 0
//...
0
votes
1
answer
2k
views
Find owner of a file in SMB mounted NAS storage
I have access to a NAS storage server along with many others. Everyone has their own login credentials to NAS which is mounted using SMB.
Now, lets assume the username of my Ubuntu PC is 'abc' and ...
0
votes
1
answer
172
views
Deja-Dup backup to Readyshare fails
I am trying to backup to a Readyshare USB drive using Deja-Dup 36.6 in Ubuntu 17.10 on Xorg. Using ftp:// I simply get an "Operation Failed" message. Using smb:// I get to the Password/Domain menu ...
0
votes
1
answer
1k
views
'Samba' no longer working with Ubuntu 16.04 & Windows 10
I know that the question has been asked and answered before but none of the solutions could currently fix my problem.
I have two office computers. One running Windows 10 (because I have to) and ...
1
vote
1
answer
2k
views
symlinks to files and directories on ntfs in samba share
I am running Ubuntu Mate (16.04.3) on my raspi and I want to share a folder on my external HDD over the network via SMB. The filesystem on the HDD is NTFS. I have mounted the HDD to /media/myexthdd/ ...
0
votes
2
answers
6k
views
BackupPC error "No files dumped for share"
I had BackupPC working fine for years but I wanted to move it to another server. The backuppc copies all the files but backup = 0 Type = partial Filled = yes (which is OK)
Backup# Type Filled
0---...
2
votes
1
answer
28
views
What gives the systems available shares?
if in gui system admin i bring up the samba shares it gives one answer. if i bring up the gui list of systems shares it brings up another. If i go to a windows machine and maybe some how get it to ...
0
votes
0
answers
996
views
Automatically USB mount in /media/usb/LABEL and remove mountpoint after unplug (w/o unmount)
I'm building a little homeserver for a friend and he wants this as simple as it can get - so without the use of command line / ssh.
Everything works fine now. I installed Ubuntu Server 17.10, ...
1
vote
0
answers
50
views
Transfer share a folder between two servers running Ubuntu Desktop 16.04
I have two servers both running Ubuntu 16.04. One is a proliant DL380 G7 annd the other is a proliant DL360 G7. The DL360 is connected to a VPN router. The DL380 is connected to a switch that the VPN ...
4
votes
1
answer
269
views
Can I use a samba share in sources.list?
I have seen examples of using http, ftp, and file in the deb statements in sources.list. Can I use smb? And, where are the options documented? I can't find the right manpage.
3
votes
2
answers
1k
views
Network button missing gone from Nautilus?
I'm using Ubuntu 16.04.3 LTS.
I remember having a link in Nautilus that I used to browse network shares with in the past. I don't remember exactly but I think it was "Windows network" or "Browse ...
1
vote
0
answers
67
views
Samba stopped working over LAN
I have been using SAMBA to share files on my HTPC and it worked fine until now. I haven't touched the HTPC in over a month and today the sharing suddenly stopped working by itself.
I traced the ...
3
votes
1
answer
13k
views
Samba share with Windows - "You require permission from <MACHINE>\nobody to make changes to this file"
I have setup Samba to share a folder "home/username/raid" from my ubuntu server
I can access the folder from my windows machine windows but cannot delete or change files
The folder permissions are ...
4
votes
1
answer
12k
views
Access a folder from another user
I'm working with PHP, and I'm trying to access a folder of another user, and I always get the error "Permission denied".
I have created a group, added both users and grant access. It doesn't help, ...
0
votes
1
answer
2k
views
how do I get samba to be accessible from the LAN on which the server connects to and the LAN it routes?
I have an Ubuntu 16.04 Server that I am currently trying to configure as a router with samba shares. The router part works now it's samba I'm having problems with.
The Server connects to the internet ...
1
vote
0
answers
2k
views
"The specified network password is not correct." when trying to connect to Samba server
I've just setup a samba server on Ubuntu Server 17.10. When I try to connect to this server on Windows 10, I get the error The specified network password is not correct..
I am using the username ...
1
vote
0
answers
742
views
cifs changed behaviour
I have now for several months mounted my Network share with a line in the fstab . The line used was as follows:
//192.168.1.1/usb1 /home/mr87/readyshare cifs ,guest,uid=0,gid=0,rw,auto,file_mode=...
4
votes
1
answer
5k
views
How do I hide two or more directories in smb.conf?
I configured smb.conf that works well for sharing a directory, say "samba directory", to my Windows 10 machine. Now I want to hide two sub-directories, e.g. subdir1 and subdir2 under "samba directory",...
0
votes
0
answers
1k
views
How to set write permission with Samba?
I've searched for about 6 hours now trying to setup my samba (version 4.6.7) server, but I'm stuck where I can't have my users create files with -rw-rw----
permissions.
First, let me explain my ...
0
votes
1
answer
8k
views
'net usershare' returned error 255. Ubuntu 16.04 LTS
My issue initially started out with trying to share with Samba Shares. On my main SSD I can share anything to my desktop but I added a secondary hard drive and thats where my issues started. No matter ...
0
votes
1
answer
2k
views
Is it possible to automount local SMB/CIFS share from /etc/fstab?
I have Ubuntu 16.04 LTS server with configured public share on it.
My /etc/samba/smb.conf is below
[public_share]
comment = Ubuntu Public Share
path = /srv/samba/public_share
guest ok = ...
2
votes
1
answer
13k
views
How to troubleshoot Samba error NT_STATUS_HOST_UNREACHABLE
I'm struggling to share folders over the Lan between two Ubuntu 17.04 machines.
I tried the Nautilus public share approach first, but when I couldn't browse folders in both directions I switched to ...
2
votes
2
answers
1k
views
mount samba share error
Following this ubuntu guide doing Mounting password protected network folders and then get an error like this
$ sudo mount -a
mount error(22):Invalid argument
Refer to the mount.cifs(8) manual page (...
0
votes
1
answer
543
views
How to get Ubuntu clients to use newer SMB protocol with cifs-utils?
How do I make my Ubuntu client machines connect to my samba server with protocol > SMB1, for shares mounted through fstab with cifs-utils?
This shows a sample redacted output from smbstatus.
The ...
0
votes
1
answer
128
views
Cannot access thumbdrive via router when GUFW firewall is on
I am using Ubuntu MATE 16.04.3 32 bit (I mistakenly said it was 16.04.1).
I have wifi via a netgear router. Connected to the router's USB port is a thumb drive.
When the firewall is turned on (I ...
1
vote
2
answers
11k
views
samba: net usershare add: cannot convert name "Everyone" to a SID. The network responded incorrectly
I am trying to share a folder using the GUI (nemo) or the command line like
net usershare add temp /home/administrator/tmp comment Everyone:R guest_ok=y
In both cases I get the error message
net ...
1
vote
1
answer
185
views
Ubuntu 16.04, how can I share an unmounted disk/partition with windows machines in same lan?
I created a raid 1 mirror from two physically attached disks and partitioned and formatted the newly formed raid 1 drive. My question is: Can I share this raid 1 drive in my local lan with other ...
2
votes
1
answer
1k
views
specific user's Samba shares unaccessible on network
I have Samba installed and configured on my Ubuntu 14.04 box. When user1 marks a folder as shared in Nautilus, it becomes visible and accessible on the network without problems.
However, folders ...
0
votes
0
answers
2k
views
Let samba broadcast through UFW?
I've got UFW running on a file server. I can connect via Samba if I specify the IP address, but it doesn't show up in any networked computer's lists, either PC or Mac.
I'm assuming I'm missing some ...
7
votes
3
answers
10k
views
How to mount cifs with unix extensions
I'm trying to mount a cifs share and have unix extensions enabled, but by default mount is passing 'nounix' and I can't figure out how to change the default behavior. I've checked 'man mount.cifs' and ...
0
votes
1
answer
7k
views
Permissions issue with fstab CIFS mount but not when using mount command
I want to mount a Windows share using CIFS on my Ubuntu 17.04 machine. If I use the mount command below it works fine, and I can access the Windows share:
sudo mount -t cifs //servername/sharename /...
0
votes
1
answer
5k
views
Problem using SMB credentials file to mount SMB share
I want to mount a Windows share using CIFS on my Ubuntu 17.04 machine. I want to use an SMB credentials file for the authentication details, but always get "mount error(13): Permission denied" if I ...
1
vote
0
answers
725
views
Why is my mount command failing in an Ubuntu VM?
I am on a computer using Windows 7, service pack 1.
On the host Windows system, I have done the following:
I have installed Oracle VirtualBox Version 5.2.0 r118431 (Qt5.6.2).
I have used VirtualBox ...
5
votes
1
answer
10k
views
How to access your Samba Server from an iPad?
How do I access your Samba Server from an iPad?