Questions tagged [samba]
samba is an re-implementation of the smb network sharing protocols, which are used in Windows for file and printer sharing.
1,464
questions
8
votes
3
answers
37k
views
Mount a Samba share using Kerberos ticket
I have a Samba server (which is the domain controller), and a Ubuntu 14.04 Client with a logged user who is authenticated by Kerberos (the client joined to domain with Likewise). The user want to ...
8
votes
2
answers
7k
views
How to connect to a 3DS's SMB share from Linux?
Nintendo's New 3DS ("new" is part of the name) has the ability to expose an SMB share of its micro SD card.
It asks you to define a name for the 3DS to appear as, and also a username and password. ...
8
votes
4
answers
19k
views
Why is Samba SMB slower than HTTP/NFS/FTP transfer on NAS on my LAN?
I want to set up a NAS which I have done most recently with a Raspberry Pi 2 (quad-core ARM Cortex-A7, 1GB RAM, 32GB microSD) running Raspbian “Jessie”:
I have a laptop—an HP Pavilion G6—running ...
8
votes
3
answers
6k
views
Windows 7 - Samba Shares - multiple credentials
My home setup has a Linux server which serves several shares, each with a different user & password.
I.e.: public, user1, user2
I can connect to my shares individually via \\server\public with ...
8
votes
2
answers
25k
views
Disconnect from smb share with powershell on Windows 10
I'm trying to disconnect a smb share with a Powershell command in Windows 10:
net use * /delete
However, this command does not work, because the share is not shown with net use. The output is There ...
8
votes
3
answers
10k
views
Windows 7 "Could not reconnect all network drives" on boot
Windows 7 won't reconnect to my network drives on startup.
Once it is done booting opening Windows Explorer and clicking each share will mount them.
Windows 7 Enterprise N Service Pack 1
I have ...
8
votes
1
answer
3k
views
Samba execute permission is always set
I have a Ubuntu 14.04 server that exposes a samba share to Windows machine.
When I connect to the share and create files with notepad, permissions are respected and files don't become executable. ...
7
votes
3
answers
18k
views
Connecting with SMBCLIENT to Windows 7 produces error: "protocol negotiation failed: ERRDOS:ERRnomem"
We've got a home network that has a mix of different operating systems, including two Windows 7 Ultimate PCs, a couple of Android phones, a MacBook Pro and two Linux PCs. My housemates own all but the ...
7
votes
1
answer
21k
views
Samba: Read only for guests with a write list
Is there any way of allowing a read only guest access to a share and also have a write list for allowing some users to modify its contents?
If possible, I wouldn't like to use files and directories ...
7
votes
1
answer
5k
views
Meaning of D, H, R, A in smbclient file listings
I connect to a Samba drive in terminal (Linux) via smbclient. When I list the directory via command ls, I get for every entry (file or folder) some letters: such as D, H, R, S, A in different ...
7
votes
4
answers
21k
views
Ping Ubuntu by hostname in a Windows machine
I installed Ubuntu 12.04 on a Virtual Machine (Virtualbox). The network adapter is attached using bridged adapter.
I can ping the guest OS by IP but I can't ping it via hostname.
I already installed ...
7
votes
2
answers
12k
views
can we use unix hardlinks on a mounted windows share?
The ln command can create hard links on the mounted Windows share, but cp -al fails. Is this expected behaviour? I'm trying to save disk space by creating a copy on write style backups using cowdancer,...
7
votes
1
answer
22k
views
SMB file transfer speeds too low over local LAN
I have built a file server for my home network. It has a 3TB Sata 3Gb/s HDD on a Dual Celeron Mini ITX mobo with 2GB DDR3 RAM. I have installed Ubuntu minimal runing off a flashdrive. I installed ...
7
votes
9
answers
80k
views
Can't write to samba share
I try to setup a samba file server, but whatever I do I can't get write access to work (reading works fine). This is my current situation:
I have a local fileserver with 3 harddisks mounted at /mnt/...
7
votes
1
answer
18k
views
Install MC with SMB support
how to install MC (Midnight Commander) with Samba support (smb:// link like ftp).
Im unable to install it thou apt-get. Ive got just mc version without smb.
And install from sources failed. I try to ...
7
votes
1
answer
9k
views
Watching a Samba share for modifications from Linux
I'm trying to monitor a remote Windows Share for changes (the server can be an actual Windows machine or a Linux machine with Samba server). AFAIK the SMB protocol supports a kind of event-based ...
6
votes
2
answers
10k
views
Is there really no way in Linux to get creation time for files on cifs/smb share?
I am embarrassingly far along in a bash backup script and have missed something major. I know that ext3 filesystems don't track creation date, but copying files within ext3 updates the changed time as ...
6
votes
4
answers
11k
views
Preserve permissions on samba shared files when overwriting
I have a directory shared in my Ubuntu VM. This is my smb.conf:
...
[share]
comment = Ubuntu File Server Share
path = /home/foo/share
browsable = yes
guest ok = yes
read only = no
create mask = 0644
...
6
votes
2
answers
41k
views
Port Forwarding Samba
I am currently running a SAMBA server on my raspberry pi, the problem is that I am only able to access the SMB Server from within my home network. I want to portforward my SMB server so that i can ...
6
votes
2
answers
32k
views
mount cifs through fstab non readable/writable
I have FreeNAS server and domain-controller with Windows Server 2008.
I use OpenSuse 11.4 and my Windows account have full access to FreeNAS CIFS share.
I can connect through any filemanager with smb ...
6
votes
2
answers
17k
views
"user" CIFS mounts not supported - fedora 30
I have a number of smb v1 shares. (I know that smbv1 is old and vulnerable but I can't change it)
Because of the old smb protocol, I cannot use nautilus to open then. Instead, I used fstab entries to ...
6
votes
4
answers
13k
views
Clonezilla restore from Samba - no 'restoredisk' option
I used a CloneZilla LiveCD to back up a couple of Windows machines to a Samba share. Now I'm trying to restore those images, and CloneZilla won't even give me the 'restoredisk' or 'restorepart' ...
6
votes
1
answer
8k
views
Moving files on samba-connected NAS
This might be a stupid question, but when I move files around on my NAS-box (freeNAS), does the data go via my Windows PC?
How about when I copy?
I have always been afraid to cleanup on my NAS-box ...
6
votes
1
answer
8k
views
How to debug slow samba share by Nautilus?
I have Fedora 23 with Gnome 3 and Nautilus 3.18.5-1.fc23. I have troubles with SMB speeds by using Nautilus. It is about 4.4MB/s, while by any other methods (e.g. smbclient from terminal) I got 11MB/s ...
6
votes
2
answers
6k
views
Strange permission changes when saving file on a Samba partition from a Windows editor
I'm trying to figure out why a specific behavior is exibited when perms change on a file being saved from a Windows editor on a SAMBA-mounted Unix partition.
Situation:
We have a file on Unix, with ...
6
votes
1
answer
14k
views
Symbolic link or Junction to a Networked Samba Share
I have a samba share mounted as a network drive. However, I can't make any sort of symbolic link or junction point to it. Is this possible?
When I try the following command:
mklink /D X:\Samba\dir C:...
6
votes
4
answers
9k
views
TortoiseGit really slow on Windows 7 machine
One of my colleagues uses a Windows 7 machine with TortoiseGit and it is tortuously slow even just running a git status. He is using the TortoisePlink method of connection and key serving.
Each ...
6
votes
5
answers
42k
views
How can I configure Samba to share (read/write) any folder with root permissions?
I have a CentOS 5 VirtualBox guest on a Win7x64 host. I am attempting to setup a read/write share a directory owned by root with my Windows host using Samba, but I'm having no luck after running ...
6
votes
2
answers
15k
views
How to open file and printer shares to the internet?
i tried to make file and printer sharing open to the internet on NT3.51 in 1998, but it just refused to actually ever work.
Are are the IP ports and protocols that must be port-forwarded to make file ...
6
votes
3
answers
14k
views
iPhone app to play music from samba share
I have a samba server I use as a media center and I was wondering if there was an iPhone app to play music from it over wifi. It can be free or $$.
6
votes
1
answer
13k
views
List SMB network shares and usernames they're authenticated under from command prompt
As noted in list network shares from command prompt, in Command Prompt (cmd.exe), I can use the following command to list available network shares:
net view \\computer
In my case, this gives ...
6
votes
1
answer
19k
views
Windows is asking for password to browse the available file shares on Samba
Server: Samba on Ubuntu 12.04, with security = user.
A variety of file shares - some need to be accessible by guests, some are allowed users = user1.
Client: Windows XP, on same workgroup as the ...
6
votes
6
answers
7k
views
Best method of transferring files over internet? [closed]
I have a small server(running Ubuntu 9.10) at my (parent's) house and will be leaving it there once I go to college this fall. Currently I'm using samba to transfer files between computers, but I was ...
6
votes
1
answer
1k
views
ZFS snapshot behaviour handling of file modification, movement and rename
With ZFS being described as more like a database than a filesystem, it seems reasonable to expect it would behave a lot more like a version management system as well, intelligently managing file ...
6
votes
5
answers
9k
views
How to keep group-writeable shares on Samba with OSX clients?
I have a FreeNAS server on a network with OSX and Windows clients. When the OSX clients interact with SMB/CIFS shares on the server, they are causing permission problems for all other clients.
...
6
votes
1
answer
15k
views
What is the real danger of allowing SMB 1 client to access files on legacy device (which is not SMB 2 capable) on the local network?
I have an old device which is not SMB 2 capable. Much has been written about danger of using SMB1 (eg. https://techcommunity.microsoft.com/t5/storage-at-microsoft/stop-using-smb1/ba-p/425858). I would ...
6
votes
2
answers
6k
views
How can I view disk quota usage on a CIFS share from a Linux client?
I have several Linux clients that mount a share on a remote machine running Windows Server 2012. The relevant line in /etc/fstab looks like this:
//server.address.com/share /media/share cifs rw,user,...
6
votes
2
answers
3k
views
OS X keeps "losing" my Linux Samba shares
I have a Linux server (Ubuntu 8.10) and a Macbook (10.5.7).
The Linux server has some Samba shares which I mount on the Macbook.
They are set to mount on boot using the "Open Applications at Startup" ...
6
votes
2
answers
618
views
Why does Windows Media Center make http requests for watched folders on a network drive?
I have a Linux server on my home LAN that has a filesystem shared via Samba (/export), where I store some older recorded TV (under /export/Recorded\ TV). The system is also a web server, running a ...
6
votes
5
answers
7k
views
Debugging Samba/CUPS printer sharing with Windows
I've got a HP Deskjet hooked up to a Slackware 12.2 box. I've got CUPS set up and can print a test page from the box just fine. I've also got Samba set up and have a couple file shares that work ...
6
votes
1
answer
9k
views
Samba not showing any shares
When I run smbstatus --shares I see no shares listed.
This is at the end of my /etc/samba/smb.conf:
[Share]
path = /var/www
available = yes
valid users = robert
read only = no
...
6
votes
2
answers
3k
views
Create an alias to a samba share from the command line
I'm currently wanting to deploy a setup to around 300 Macs. I have all of it scripted and ready to deploy, excepting that I'm having trouble creating a working alias to a samba share from the command ...
5
votes
2
answers
11k
views
Mac OS X automatic network disk mount after boot or login
Every day I need to connect/mount an externel drive from a linux samba machine.
How can I setup Mac OS X (10.5.8 on a G5) to let him do this automatically after login or boot?
5
votes
2
answers
13k
views
One particular Windows 10 PC can't access Samba share 0x80070035 (solved)
I have two Samba shares from two different machines. One is a Raspberry Pi that has never been an issue. The other is a Debian server with a nearly identical configuration. It may actually be ...
5
votes
3
answers
6k
views
Possibly a dying hard drive, but reads, writes work - unsure about log entries
I recently received a Linux box having problems with Samba share - first off, couldn't connect, second ls -la showed some I/O error (close to what can be seen below) with no listing.
Now, I've fully ...
5
votes
1
answer
3k
views
How to backup a Mac to a NAS (Samba-connected Windows share)?
I'd like to find an (semi-)automated way to backup my whole MacBook Pro system and data to a network attached storage. The external storage is a Windows share I can access using Samba.
I can't use ...
5
votes
2
answers
9k
views
Read alternate data streams over SMB with Linux
I recently did a CTF involving a file on a samba share which had a password in an alternate data stream. To read it I had to connect using Windows, but I'm curious if there's any way to read ADS from ...
5
votes
2
answers
15k
views
How to mount via cifs non-unicode samba sever with character set conversion?
in old times of smbfs I use codepage and iocharset options, but cifs does not support codepage. What I can do?
5
votes
1
answer
21k
views
Samba Configuration on RHEL 8.2: SMB1 disabled -- no workgroup available
I've been taking a crack at configuring Samba to allow my Guest OS (RHEL 8.2), running on Oracle VM VirtualBox 6.1.8, to talk to my Host OS (Win10) following this guide here. Unfortunately, using a ...
5
votes
2
answers
13k
views
Minimal, fully guest browsable samba share?
This has been asked a million times before, and I've looked at a few hundred "solutions" spanning decades, none of which work 100%.
What I want:
A simple, minimal smb.conf that I can package up in ...