Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.
Questions tagged [samba]
1865 questions
13
votes
4 answers
OpenLDAP, Samba and password aging
I'm configuring a system in which all IT resources are available through a single user-password pair, be it access to shell on the servers, logging to Samba domain, WiFi, OpenVPN, Mantis, etc. (with access to specific services governed by group…

Hubert Kario
- 6,361
- 6
- 36
- 65
13
votes
8 answers
Hiding samba share from browse list for unauthorised users
I have been trying to setup my samba shares correctly.
The setup i was looking for was having a couple of shares available publicly, guest accounts are ok and can browse these shares all ok. I have this setup correctly.
The problem comes when…
karlbright
11
votes
7 answers
Speeding up rsync over smb
I'm backing up a Linux box over SMB to a NAS. I mount the NAS locally and then I rsync a lot of data (100GB or so). I believe it's taking an awfully long time to do it: more than 12 hours. I would expected to be much faster once everything is copied…

Pablo Fernandez
- 7,438
- 25
- 71
- 83
11
votes
3 answers
VirtualBox - use in small office and backing up
I run a small office consisting of a 8 man development team and a couple of managers. We're thinking of moving to a hardware setup whereby we have 1 single powerful server running several VirtualBox VMs - one for Samba fileshare acting as DC,…

user16529
- 217
- 2
- 8
11
votes
3 answers
Can I add Samba users without having to add UNIX ones?
I am configuring a Samba share on my Debian server and I'd like to create some simple username:password accounts that could access the shares without having to add UNIX users to my machine.
Can I do that ?
Thanks a lot in advance !
Quentin

Quentin Barrand
- 111
- 1
- 1
- 3
11
votes
4 answers
Resolving samba testparm message: rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)
testparm in samba may produce this message:
rlimit_max: rlimit_max (8192) below minimum Windows limit (16384)
This appears be be resolved by increasing the max open file limit using this Linux command ulimit -n 16384..
Is this a safe change for…

jcalfee
- 341
- 3
- 7
- 13
11
votes
5 answers
Connecting with Samba to a Windows Share returns "NT_STATUS_DUPLICATE_NAME"
I have set a shared directory on my Windows machine, and given full control permissions to username@workgroup.
When I try to connect to the Windows machine with Linux using smbclient, I get the error NT_STATUS_DUPLICATE_NAME. Here is the…

Neil
- 2,425
- 8
- 36
- 45
11
votes
6 answers
Why is samba denying me access to my share?
On my CentOS 5.2 box running Samba (3.0.33-3.29) I created a folder called /upload.
In samba I configured a share like this:
[upload]
comment = upload folder
path = /upload
valid users = kevin root
public = yes
…

Kev
- 7,877
- 18
- 81
- 108
10
votes
1 answer
Samba (CIFS) mount error(9): Bad file descriptor
I had successful connections from my main workstation PC (which uses Fedora 29 Workstation) to my mother's laptop (Windows 7 HP) network share few times using mount.cifs, but since not too long it has become impossible for me to do it.
For example,…

Ruslan Nigmatyanov
- 171
- 1
- 9
10
votes
2 answers
Windows NFS Performance vs Windows File Sharing?
Has anyone set up NFS where both the server and the clients are all Windows? I am wondering:
How Does Performance Compare to using builtin Windows file sharing (CIFS/SMB)?
Can clients mount NFS shares as network drives just like with regular file…

Kyle Brandt
- 83,619
- 74
- 305
- 448
10
votes
1 answer
Samba: allow insecure wide links
allow insecure wide links:
In normal operation the option wide links which allows the server to
follow symlinks outside of a share path is automatically disabled when
unix extensions are enabled on a Samba server. This is done for
security…

HTF
- 3,148
- 14
- 52
- 82
10
votes
8 answers
mount error(13): Permission denied with windows share
I am struggling to mount a windows 2008 share on a CentOS 6.4 (64 bits) server
when I use smbclient it works:
smbclient //esb.local/dfs -U ESBSertal -W ESB -P MyPassword
but with mount it does not. I tried on the command line:
mount.cifs…

Micha Roon
- 294
- 1
- 2
- 10
10
votes
2 answers
How to debug Samba authorization (authentication) procedure
I'm running a small home network linux-based server which acts as an internet router, torrent client and file server. I have problems connecting Windows clients to server Samba shares ('user name or password is invalid'). How can I enable logging of…

mbaitoff
- 355
- 2
- 3
- 9
10
votes
7 answers
Can a Linux server serve as a Domain Controller for Windows Machines?
In a small office setup (5-6 employees) we have seven Windows XP and Windows Vista clients, as well as a couple of linux servers.
Is it possible to set up a linux machine to act as the domain controller to provide single signon and AD-like…

kdmurray
- 549
- 3
- 8
- 19
9
votes
2 answers
Very slow SMB speeds on macOS
Since I recently got a new Mac Pro (running Catalina 10.15.2), I connected it using 10 GBit Ethernet to my Debian 10 / Proxmox server.
When connecting to a share however, I am only getting 150-300 MB/s read/write performance.
Here's my current…

Tobias Timpe
- 245
- 1
- 4
- 8