Questions tagged [samba]
Samba is the standard Windows interoperability suite of programs for Ubuntu and is also the default file server for Ubuntu.
1,234
questions with no upvoted or accepted answers
12
votes
0
answers
2k
views
pam_mount often unable to mount and hangs for minutes
I have some centrally managed Ubuntu workstations that authenticate users against Active Directory and mount user home folders on logon with pam_mount. This usually works as expected, but sometimes ...
7
votes
0
answers
623
views
File manager that doesn't freeze when working with SMB shares?
I work at a company that uses Samba for file sharing, which means that I rely on it a lot throughout the day. Unfortunately, the service provider of the VPN has not been able to cope with the traffic ...
7
votes
0
answers
2k
views
How can I use rsync over AFP and SMB protocols?
I have a Lacie CloudBox NAS drive. I can acces the folders with no problems via the file explorer, however I would like to use rsync to sync some files. I have used rsync before to sync folders on a ...
5
votes
2
answers
3k
views
Can't login to Samba share with any user other than my own user
I've followed the usual steps for adding a new user to Samba:
create new Linux user with useradd [user]
set its password with passwd [user]
set its Samba password with smbpasswd -a [user]
But when I ...
5
votes
0
answers
2k
views
Some Samba shares are not visible on network but still accessible by address
This has happened for as long as I can remember. Nautilus/Caja shows a shared icon on the folders, and they are accessible from Windows by typing in their folder name, but they don't show up in the ...
5
votes
1
answer
2k
views
Problem mounting samba shares in 15.10 (it worked in 15.04 !!)
With 15.04 (running inside VirtualBox), I used the technique descibed here and it worked fine.
//servername/sharename /media/windowsshare cifs username=msusername,password=mspassword,iocharset=...
5
votes
1
answer
474
views
Samba not allowing me into the workgroup?
I am getting a rather frustrating problem with Samba. I am not much of a dancer, and I'd rather do the cha cha cha... okay all jokes aside:
Why do I get this? I have tried every fix I could find, but ...
4
votes
0
answers
466
views
Unable to play media files from windows server
I have a problem to play any media files from my Windows server sharing folders. When I try it by opening (Nautilus or DoubleComm) it returns the error "SMB protocol source is required to play ...
4
votes
0
answers
6k
views
Can not connect to SMB after upgrading from 17.10 to 18.04 LTS
I have 3 locations in file managers previously in 17.10.
After upgrading to 18.04, they are not working anymore,
error: Unhandled error message: Failed to mount Windows share: Connection timed out
...
4
votes
0
answers
974
views
Make nautilus forget shared folder passwords in ubuntu 16
I usually select "remember password until you log out" but I need to troubleshoot the samba server by logging in as a different user (trying to make it so users can delete old backups put up by other ...
4
votes
1
answer
3k
views
How do I share a NTFS partition over LAN?
I've set up samba and everything works whenever I share folders that are in my /home directory, but when I try sharing an entire NTFS partition I get access denied on my windows 10 machine. I've tried ...
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 ...
4
votes
1
answer
2k
views
Samba free space issue, dfree command not being called
I have a Samba server running Ubuntu 16.04.1 serving some btrfs subvolumes. These volumes have btrfs quotas set through btrfs qgroup.
In order to reflect the quota to the clients, I want to use a ...
4
votes
1
answer
3k
views
Disable hidden bridging between network interfaces
My question looks like a duplicate for this one, but since it has no answers, I will re-ask it with more info. Please take into account that I'm complete beginner in all this networking stuff. I can ...
4
votes
1
answer
289
views
Why do samba users need to log on to the server first?
For my students, I am setting up an ubuntu server as an webserver and Samaba file server.
Students are all given a local account. I have added folders to Samba to share with the students. They are ...
4
votes
1
answer
1k
views
Automatically install printers shared on Windows Domain
All of the resources I can find provide detailed instructions for sharing Linux printers with Windows over SAMBA.
I would like to do the opposite.
I currently have CUPS configured so that it can add ...
4
votes
0
answers
3k
views
smbtree not finding my samba shares, but I can connect to shares using Mac client
I'm trying to use smbtree to view samba shares on my local network. Several of those shares are hosted on my own server, which I am running all these commands on. I know the shares exist because I can ...
4
votes
0
answers
2k
views
Why are browsing samba shares from Ubuntu (Nautilus) so much slower than browsing from Windows
I have a samba share over the a vpn server. Browsing the share takes 60 times longer from Ubuntu than it takes from Windows.
From a Windows 7 Virtual Box (and any other machine in the shop) it takes ...
4
votes
1
answer
10k
views
Samba Share not accessible with AD user
I try to install a samba server for active directory authentication and shares.
I managed to configure kerberos (kinit klist works)
I configured smb.conf.
wbinfo -u<br>
wbinfo -g<br>
...
4
votes
0
answers
490
views
Mounted samba share hangs /media and df -h when cable disconnected
Encountered behavior:
Unplugging an ethernet cable on which a samba share has been mounted will cause:
a. the /media to become inaccessible.
b. df -h to hang indefinitely
Why does this occur on (l)...
4
votes
1
answer
3k
views
How to set up SAMBA / CUPS print server?
I am using 13.04 on an old laptop hooked up to a printer that I would like to access from my Windows 8 PC. I have been working on this for hours and I cannot seem to get the right configuration of ...
4
votes
1
answer
2k
views
Creating directory on cifs mount returns error, but directory is indeed created
I have mounted an external disk connected to an ASUS router, which implements a Samba server. Everything works just fine except one annoying thing: creating a directory with mkdir returns an error ...
3
votes
0
answers
3k
views
How to find a mount point of a samba share mounted by 'gio mount' command?
The other day, I have mounted a samba share using this command.
gio mount smb://129.254.xx.yy/mygroup
Today, I've forgotten this and tried to mount the share with the same command, and got this ...
3
votes
2
answers
5k
views
Mount Samba from command line as non-root, read/write, without fstab?
Well, I thought this would have been easier, but I simply cannot find whether what I want is doable.
I want to mount a network Samba share from the command line in Ubuntu 20.04 (MATE) - preferably ...
3
votes
0
answers
3k
views
Ubuntu 20.04 Samba NT_STATUS_CONNECTION_REFUSED
I recently upgraded from 16.04 LTS to 20.04 LTS and now I have problems connecting from Windows/10 to Ubuntu.
I do have one connection active from Windows/10:
BUT, I cannot connect any others:
C:\...
3
votes
1
answer
2k
views
Ubuntu 20.04 - files on network share appear as folders
After installing 20.04 (with Gnome desktop env), when I navigate through the GUI to my network share, all of the files appear as directories and I am unable to download/copy them to my local host. ...
3
votes
0
answers
561
views
Can't access my own ubuntu machine on network
This is a new issue. Before all machines (Linux,Mac,Windows) shared resources and were available each other. Now I can't access my own ubuntu 19.10 machine on network. The message is:
failed to ...
3
votes
0
answers
892
views
Samba Share writable for everyone
I can't get my samba share to work.
My intention is to host a directory which is writable for everyone (including guests). For this pupose, I created a user and a group who owns the corresponding ...
3
votes
0
answers
4k
views
ls: reading directory ................': Input/output error
I have my local NAS on the base of Cubietruck (Ubuntu Xenial with Armbian Linux 3.4.113-sun7i) with smbd for samba shares. As storage extension I use 2 TB Western Digital SSD connected via USB and ...
3
votes
0
answers
6k
views
Samba Winbindd Failing Everyday
Everyday morning on my domain controller running samba 4.7.6-ubuntu winbind fails, If I try to run the command wbinfo -u (to list all users) I get the error
could not obtain winbind interface ...
3
votes
1
answer
3k
views
mount cifs gives error(95)
We have a build system on OSX where we mount a remote volume using:
mount -t smbfs //userid:pwd@srver02/TestDataFiles /Users/Shared/test
We are setting up an Ubuntu 18.04.3 LTS system where we ...
3
votes
0
answers
866
views
Outrageously Slow File Copying From Windows 10 Host to Ubuntu 19.04 VM
I am trying to copy files from an SMB share on the Windows machine that is running my Ubuntu VM in Hyper-V. The VM has 16gb memory and 2 CPU. It's set up with a virtual switch to have its own separate ...
3
votes
0
answers
6k
views
Can't access some samba share
I have an Ubuntu server (19.04) and 4 HDD with my datas on them.
I have 4 samba shares, 1 for each HDD, All the HDD are setup the same way.
When trying to access them from Windows, I can access 3 of ...
3
votes
1
answer
5k
views
systemd-resolved crashing with "Failed to set up mount namespacing: Invalid argument" & "status=226/NAMESPACE"
Problem
I'm trying to investigate this weird error where systemd-resolved is constantly crashing on 2 out of 4 machines. The one thing different with these two problematic machines (that I can think ...
3
votes
0
answers
191
views
How do I make my computer name visible on the local network and Windows?
Sorry if I am asking this in the wrong place, but I am no *nix expert and I failed to find an answer to my question, although I found similar issues on XRDP and Samba tags.
When I use RDP on Windows ...
3
votes
0
answers
79
views
Samba share on external drive delays SSH logins
I have a Ubuntu Server 18.04 as well as a NAS on my network. The drives on the NAS are configured to stop spinning after a bit of idle time; they take a noticeable time to start up when needed. That ...
3
votes
1
answer
3k
views
Mount win share access after 18.04 update in mate
I am a very new user and not at all familiar with any of the commands. I have searched and tried cutting and pasting many of the directions to link access to my win computer where many of my files ...
3
votes
1
answer
907
views
Mounting samba folder from a Samba server 1.9 in Ubuntu 16.4LTS
I have just bought a router ZTE F680 that is using a Samba server 1.9. I want to share a usb hard disk using the SMB protocol.
In the router, the disk is correct attached and the path is:
/mnt/...
3
votes
0
answers
610
views
mount command hangs when share is unavailable
So we are using a combination of samba, winbind and pam_mount to authenticate users from AD and mount network share individually and everything works fine except for when a share is unavailable.
In ...
3
votes
1
answer
5k
views
ERROR(<class 'samba.provision.Provisioning Error'>): Provision failed - Provisioning Error:
How solve this error:
root@BDC:~# samba-tool domain provision --interactive --function-level=2008_R2 --use-rfc2307 --option="interfaces=lo eth0" --option="bind interfaces only=yes"
Realm [BDDC]:
...
3
votes
0
answers
2k
views
Why do I get the error: "mount[1328]: error 2 (No such file or directory) opening credential file /home/username/.smbcredentials"
Before this issue, I was using version Ubuntu 15.10, but upgraded to 16.04 and was able to auto mount to my samba shares successfully using the default instructions provided at https://wiki.ubuntu.com/...
3
votes
0
answers
106
views
Want to share only the MUSIC folder with the other users and not HOME folder completely
I created a new user "Others" so that they can login into it and use other than mine (admin). But, I want them to use the Music folder which is present in my home/vinny_ab28 (admin). I logged in to ...
3
votes
0
answers
6k
views
Best practice for Samba file permissions: To use nobody.nogroup or not?
I have been running a samba file server with multiple shares, multiple users and different Samba-level permissions (i.e. write list, read list). The way I set it up on the file system is to change ...
3
votes
0
answers
3k
views
How to access a Subfolder in a Shared folder using smbclient
I have created a share on a Redhat distribution to a specific directory by editing the smb.conf file:
[MyShare]
path = /path/to/MyShare
guest ok = yes
read only = no
browseable = yes
public = yes
...
3
votes
0
answers
577
views
CIFS FSTAB won't start at boot and mount -a doesn't work as expected
I am having a odd issues my CIFS drive. It won't mount at boot and also when the system has booted, I have tried again with mount -a but no success. It will however mount with the mount -t command and ...
3
votes
1
answer
4k
views
Problems with folder permissions using samba
I'm having issues with sharing a folder with Samba over my LAN. I created the fileshare by mounting one of my drives, then running
gksudo nautilus
and sharing the folder using the built-in sharing ...
3
votes
0
answers
424
views
Samba and Groups
Ok I've been reading about Samba shares etc. for the past few days, I still cannot get it to work.
I've gotten a public share and a private user share to work, but not a group share.
[global]
...
3
votes
0
answers
4k
views
Samba: How do I make shared folders invisible from users with no permission?
I have a ubuntu 13.10 desktop setup with a samba server. Users can access their assigned folders from their Windows 7 workstation, but they can also see other folders that they don't have permissions ...
3
votes
1
answer
411
views
sharing between ubuntu 12.04 and windows8 with online user
I've searched for solutions and tried numerous things but nothing so far has worked. I'm trying to access shares on an ubuntu 12.04 pc from my windows 8 pc. In my win8 machine I can see the shares, ...