Questions tagged [samba]

samba is an re-implementation of the smb network sharing protocols, which are used in Windows for file and printer sharing.

Filter by
Sorted by
Tagged with
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 ...
tomsseisums's user avatar
25 votes
4 answers
169k views

Windows 7, connecting to Samba shares

How can I connect to a Samba share with authentication using Windows 7? We have a bunch of Linux, HP-UX and AIX servers on our network with folders shared using Samba. These are not connected to our ...
Colin Pickard's user avatar
34 votes
3 answers
66k views

Using Samba to share a folder from a Linux guest with a Windows host in VirtualBox

I would like to share a folder from a Linux Guest with a Windows host (with read and write access if possible) in VirtualBox. I read in these two links: here and here that it's possible to do this ...
Amelio Vazquez-Reina's user avatar
28 votes
6 answers
78k views

Samba+Windows: Allow multiple connections by different users?

I have a machine running Ubuntu with Samba that I use to share stuff with my family's Windows machines in our local network. Currently they access a share for movies/music/etc with one user. I want ...
user avatar
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 ...
0d0h0m0s's user avatar
  • 101
159 votes
9 answers
223k views

How to access mounted network drive on Windows Linux Subsystem?

I have a samba drive which is mounted on my local windows computer. I have a /mnt/c drive in WLS (Windows 10 Bash), but no /mnt/z. Is there a way to access it somehow? Can I remount it in WSL?
Charles Shiller's user avatar
11 votes
4 answers
24k views

Did Windows 10 April Update break network discovery and Samba support?

It seems Window's network discovery / name resolution doesn't work anymore on computers freshly reset with the new April update for Windows 10 (Build 1803). (Computers that were merely updated don't ...
JoseOrtiz3's user avatar
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" ...
Darren Greaves's user avatar
4 votes
2 answers
6k views

How do I logout of a smb connection on Windows?

I'm connected to a Linux smb share via Samba from Windows and have logged in using account "jim". Now I want to logout of Jim's account and login as "fred", because account Jim has ...
Zhro's user avatar
  • 867
1 vote
4 answers
16k views

Ubuntu Samba server not discovered by Windows 7

Windows 7 cannot discover any samba servers on my local network, I can navigate to them manually with \\server. Solved (kinda)
Sam's user avatar
  • 138
189 votes
2 answers
547k views

List Samba users?

So yesterday evening I was pulling my hair out (figuratively -- I'm bald) for over an hour trying to figure out why smbpasswd kept rejecting my attempts to reset the password for one of my Samba users....
Kromey's user avatar
  • 5,185
20 votes
3 answers
29k views

Clients can't create symlinks on Samba share

As recommended in many answers to questions about samba shares and symlinks, I have tried explicitly enabling "follow symlinks" (although documentation says it is on by default) as well as enabling "...
tompi's user avatar
  • 793
12 votes
5 answers
21k views

Samba vs. NFS: Performance [closed]

I've got a choice of setting up Samba or NFS on my Linux based NAS ( nslu2 running OpenDebian ). Does anyone have performance related stories comparing the two options ? Are there tuneup tricks that ...
user avatar
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 ...
dice's user avatar
  • 91
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' ...
MT_Head's user avatar
  • 1,006
5 votes
2 answers
20k views

How can I use quotas in samba?

I have a simple set-up with just one public share on my configuration file. How can I restrict its size?
iKarampa's user avatar
  • 558
2 votes
1 answer
3k views

Samba: Write access rights without read access rights possible?

Is it possible on samba to have only write access, but no read access and no browsing rights? I'm trying to solve the this access problem: A windows XP or windows7 machine running within a VM is ...
576i's user avatar
  • 433
2 votes
2 answers
3k views

SMB shares not found on Windows 10 laptop

I have a brand new Windows 10 laptop and I try to connect to our SMB NAS. For some reason I cannot get connected and troubleshooting is quite hard as well. I know the server is online, because other ...
Bart Friederichs's user avatar
1 vote
1 answer
17k views

Windows 8 : how to enable "net rpc shutdown"

I'm a student and have a few servers/clients at home. One of those computers is running on Windows 8. On this network, I have an embedded system on Debian that I use for VPN and SMB purposes. I has ...
patxy's user avatar
  • 169
1 vote
2 answers
9k views

Missing files when Windows 7 returns from hibernate w/ dual boot

I have a dual-boot setup with Ubuntu (lucid) and Windows 7. I have the Windows file system shared on Ubuntu through Samba. Occasionally, I am working on Windows and my machine will go into hibernate (...
Arthur N's user avatar
  • 113
0 votes
1 answer
1k views

Network share folder from Ubuntu 20.04 no longer appears in Windows 10 file explorer

So a few days ago I successfully set up Samba on my Ubuntu 20.04 laptop and was able to access my shared network folder from my Windows 10 desktop in file explorer. However, at one point I had to ...
Chad Warden's user avatar
56 votes
4 answers
154k views

How do I recursively download a directory using smbclient?

When I try to fetch a directory with get "Path To\Directory\", I get the following error: NT_STATUS_FILE_IS_A_DIRECTORY opening remote file Path To\Directory How do I recursively download this ...
hololeap's user avatar
  • 1,421
27 votes
5 answers
50k views

How do I change my windows domain password from Mac OS X?

Macs work well in Windows corporate environments, but a lot of companies require you to change your password after a period of time (3 months for example). How do you change your Windows domain ...
Harvey's user avatar
  • 751
25 votes
5 answers
113k views

Windows 10 Password Error with Samba Share

I am trying to connect to a samba share with Windows 10 Pro (Version 1511, Build 10586.589) using the command net use L: \\myserver\myshare /u:myuser mypassword. I get the error: System error 86 - ...
roms's user avatar
  • 560
18 votes
2 answers
21k views

Files/Folders get weird names and become inaccessible on Samba share

Here is our current setup: Mac OS X 10.5.8 File server using Mac OS Extended (Journaled) file system. There is a share that is shared over AFP (For Mac desktops) and Samba for (Windows desktops). ...
Scott's user avatar
  • 374
18 votes
3 answers
41k views

SSH tunnel on Windows 10 to Linux Samba

I know This question has been asked a few times already but I think my problem might be slightly different. Maybe I'm not understanding the fundamentals of the issue. I have a Linux Samba share that ...
Blake Wrege's user avatar
17 votes
4 answers
24k views

Ubuntu + latest samba version, symlinks no longer work on share mounted in windows

I just apt-getted (apt-got?) the latest software for my Ubuntu 9.10 linux box, and I noticed that samba was the included in the update. After the install, the symlinks in my home directory no longer ...
Roy Rico's user avatar
  • 5,918
16 votes
6 answers
109k views

Home file server using Samba has slow read and write speed

I have a machine running Ubuntu Server 12.04. I installed Samba for file sharing on my home network. I have Windows and Linux machine. My server spec are: AMD Phenom 2 x6 1055t 8GB of RAM 10/100/1000 ...
reeves's user avatar
  • 161
14 votes
1 answer
26k views

Samba - Create Subdirectory Shares with their own permissions

I have a Samba share containing many folders like this: share - folderA - folderB - folderC - folderD There are around 20 users accessing those shares. Every user can have their individual ...
soner's user avatar
  • 143
14 votes
2 answers
31k views

samba sync password with unix password on debian wheezy

I installed samba on my server and I am trying to write a script to spare me the two steps to add user, e.g.: adduser username smbpasswd -a username My smb.conf states: # This boolean parameter ...
oz123's user avatar
  • 733
13 votes
3 answers
33k views

Can not connect to share (system error 1272)

Since some time I can not connect to a local samba share anymore. When I try to access \\<server ip>\drive, I get the following dialog: When connecting using the command line, using the command ...
AZWN's user avatar
  • 131
13 votes
3 answers
103k views

Creating a samba share where everyone has write access

I have an Ubuntu server in my house running samba. I'm trying to set up a samba share where everyone has read and write access. I have all the users in a 'sambashare' unix group and want to offer the ...
Piku's user avatar
  • 597
12 votes
2 answers
75k views

How do I completely remove and reinstall Samba on Debian?

My Samba installation has become a mess, and now the services won't even start correctly anymore, for some reason. Is there a way to completely remove Samba, as if it was never there, and then ...
Jane Panda's user avatar
  • 1,218
12 votes
2 answers
25k views

Disconnect from samba share

Sometimes during the same Windows (Vista) session i have to connect to the same (samba) file server in a workgroup (no domain) as another user. It seems Windows has cached the current connection with ...
PeterMmm's user avatar
  • 471
11 votes
2 answers
25k views

How can I connect a Windows 8 PC to a Samba domain

I am using Samba 3, and want to join my Windows 8 PC to the Samba domain. Windows 8 cannot join out of the box, so I added the following registry entries: HKLM\SYSTEM\CurrentControlSet\Services\...
Paul's user avatar
  • 59.9k
9 votes
3 answers
14k views

Add custom network device icons in Mac OS X Finder?

Mac OS X Finder is smug enough to display any non-Mac device as a picture of a PC with a BSOD, but I'm wondering if it's possible to add other devices, so my Ubuntu machine is detected and has a ...
Adam M-W's user avatar
  • 553
8 votes
2 answers
54k views

Mount a SAMBA share and create symbolic link

I develop web-apps using ubuntu (jaunty) but have a need to work on a site that must be hosted on windows. I've setup virtualbox with a winxp32 installation and shared the entire hard disk. My goal is ...
Mike B's user avatar
  • 205
8 votes
2 answers
50k views

How Can I Force Unmount a Network Device on Mac?

Hey guys, I currently do CMD + K in Finder to connect to my Windows computer to be able to browse and use its network shares (i.e. smb://MyPC). It works fine, but sometimes when I click on it, maybe ...
Jorge Israel Peña's user avatar
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 ...
teak's user avatar
  • 89
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. ...
Oliver Salzburg's user avatar
6 votes
1 answer
12k 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 ...
sdbbs's user avatar
  • 1,341
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 ...
DVK's user avatar
  • 690
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 $$.
AdamB's user avatar
  • 417
5 votes
2 answers
2k views

Windows 7 can't find Ubuntu computer by hostname

I got a new Windows 7 machine, and was using VNC, SSH etc to connect to my Ubuntu machine, and it worked fine previously connecting to the Ubuntu computer's hostname. Now it doesn't work if I use the ...
endolith's user avatar
  • 7,597
5 votes
4 answers
25k views

Cannot access Samba share from Windows 8.1

I have recently upgraded from Windows 7 to Windows 8.1 on one of my home workstations. I have another machine running Ubuntu 13.10. Prior to the update to windows 8.1 I was able to access the shares ...
Beta033's user avatar
  • 367
5 votes
3 answers
36k views

Windows 7 cannot access samba share (error 53 and network path was not found)

For some reason windows 7 cannot see my samba share after moving house...?... When trying net view \\192.168.0.6 it returns System error 53 has occurred. The network path was not found. Below is ...
Alex's user avatar
  • 71
4 votes
1 answer
5k views

Windows 7 cannot automatically connect to SAMBA network drive using a shared SAMBA credential

I am sharing (to mostly Windows 7 clients) a folder on my Ubuntu PC via SAMBA. To keep things simple, I created a new user named "shared_user" with a shared password "xxxxxxx", whose sole purpose is ...
silvernightstar's user avatar
4 votes
2 answers
25k views

Unable to connect to a Linux Samba server via hostname on Windows 10

I have setup a Samba server running on CentOS. I am able to connect to it when typing \\ip-address\share into the address bar of Windows Explorer but it doesn't appear in the network list and if I try ...
glend's user avatar
  • 139
4 votes
1 answer
2k views

In Mac OS X, how to automatically connect to samba server when machine starts?

In Mac OS X, how do I automatically connect to a remote hard drive on a samba server when machine starts? I normally manually do Finder -> Go -> Connect to server (Command+k) -> type in smb://foobar....
qazwsx's user avatar
  • 8,849
4 votes
1 answer
7k views

Samba create mask not working correctly

I have a samba share on a linux server (RHEL 6) that I am accessing via Windows 7. I set the samba share with a create mask of 0664, but when I create files via samba from my Windows 7 machine, it ...
Joe Lencioni's user avatar