Questions tagged [samba]

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

samba allows windows and 'nix computers to share files and printers with each other.

1339 questions
171
votes
2 answers

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. Anyway, long story short, it was apparently…
Kromey
  • 4,857
  • 2
  • 24
  • 27
132
votes
6 answers

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
  • 1,451
  • 2
  • 9
  • 6
42
votes
4 answers

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 directory? (Using smbclient v3.6.23. The server is a…
hololeap
  • 1,181
  • 1
  • 8
  • 13
31
votes
3 answers

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 using Samba, but I am a little bit lost and need…
Amelio Vazquez-Reina
  • 6,598
  • 21
  • 58
  • 81
27
votes
5 answers

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 password without having to boot a PC?
Harvey
  • 748
  • 2
  • 8
  • 15
26
votes
6 answers

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 to connect them to another share as a different…
rgoytacaz
25
votes
4 answers

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 Active Directory or anything, we just type a user…
Colin Pickard
  • 8,089
  • 3
  • 29
  • 38
21
votes
5 answers

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 - The specified network password is not correct. I…
roms
  • 490
  • 1
  • 3
  • 12
18
votes
3 answers

Set proper rights for sshfs mountpoint so it can be shared with samba

I have a domain hoster that provides access via SSH. My platforms are: Gentoo 2.6.36-r5 Windows (XP/Vista/7) I work on my Windows, I use Gentoo to do all the magic Windows can't do. Therefore I use sshfs to mount the remote public directory for my…
CS01
  • 385
  • 1
  • 4
  • 13
16
votes
4 answers

How to make Windows 7 remember credentials for a Samba network drive?

I have a Samba share on my Ubuntu server which I map as a network drive on my Windows 7 Professional computer. After every reboot it shows the drive as disconnected and to access it I have to renter my password even though every time I enter the…
evan
  • 493
  • 2
  • 6
  • 9
16
votes
4 answers

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 work when mounted as a drive in my linux box. They…
Roy Rico
  • 5,558
  • 7
  • 41
  • 54
16
votes
2 answers

Why is there a write speed difference between dd, cp, rsync and macOS Finder to a SMB3 drive?

Tl;dr – We can't find the reason for the limited write speed of 60 MB/sec to our NAS via SMB and AFP from two different Mac clients. In comparison: An old Windows 7 laptop in the same network writes steady 100 MB/sec. If you read this question for…
woerndl
  • 563
  • 1
  • 5
  • 17
15
votes
3 answers

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 "wide links" and "allow insecure wide links"…
tompi
  • 633
  • 1
  • 6
  • 10
15
votes
2 answers

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 I would like to ssh tunnel and use from Windows.…
Blake Wrege
  • 153
  • 1
  • 1
  • 7
14
votes
2 answers

How to mount a samba share on non-standard port?

The firewall on my network drops all packets on TCP port 139 and 445. So all samba shares don't work outside the LAN. I tried letting the samba daemon listen on a non-standard port. This method works well for linux, because both smbclient and…
hpsMouse
  • 311
  • 1
  • 3
  • 8
1
2 3
89 90