Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [samba]

Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.

Filter by
Sorted by
Tagged with
0 votes
0 answers
26 views

SMB-Proxy using autofs through smbd

To separate our insecure smb-v1 enabled network we intend to set up a server that reshares the smb-v1 shares using smb-v2/3. While trying to set up the server using a combination of smbd and autofs, ...
user1088982's user avatar
0 votes
0 answers
74 views

Windows share not working over WireGuard

I have a Mikrotik router, where I have set up WireGuard server. The connection is established from the Windows client PC using the official WireGuard client, and everything is working except the ...
ZorgoZ's user avatar
  • 117
0 votes
0 answers
36 views

Unix password sync with Samba 4 on Debian

I am trying to setup unix password sync with my Samba 4 on Debian 12 (bookworm). This should have been straightforward, but I just can't make it to work. Has anyone managed to set this up correctly? ...
m000's user avatar
  • 460
0 votes
0 answers
83 views

CIFS VFS: Send error in read -9 -11

I keep getting these errors on a Linux client with Samba mounts. kernel: [4372075.205159] CIFS VFS: Send error in read = -9 kernel: [4372421.609254] CIFS VFS: Error -11 sending data on socket to ...
Wrapped Mooncat's user avatar
0 votes
0 answers
46 views

Debian & Broadcom: poor performance transferring files via network

I setup a new server running Debian Bullseye with Proxmox-kernel as a NAS to host mainly video content (so in general large files). I noticed an abysmally bad performance transferring files via SMB so ...
TylerDurden's user avatar
0 votes
0 answers
63 views

No write permissions on samba share

I created a samba network share on a Fedora VM, from a windows machine I can access the share in read only, I can't write on the share. The configuration of the share is: [net_share] comment = ...
Giulio Pontiggia's user avatar
1 vote
0 answers
116 views

'Permission denied' executing 'ls -l' against cifs share on Fedora 39

Setup: Windows Server 2016, workgroup mode, a shared folder 'SHARE' with username/password security, owned by BUILTIN\Everyone. Fedora 39, everything updated to the latest versions. etc/fstab: //...
Alex Seleznyov's user avatar
1 vote
2 answers
548 views

How to Make Samba List All Shares Without Authentication

edit: I just created a Windows 7 VM, and everything works exactly as I want it to from there. So it looks like this is a recent Windows 10+ client thing and not a Samba issue. Apparently there's more ...
GoremanX's user avatar
0 votes
1 answer
48 views

Samba4 User password is not updated correctly via LDAP message, only via smbpasswd

I have set up a Samba4 AD DC, and I can successfully authenticate with my Administrator user from .net code: var directoryIdentifier = new LdapDirectoryIdentifier("127.0.0.1", 636); var ...
iSpain17's user avatar
  • 103
0 votes
0 answers
101 views

Samba: query_name_response: Multiple (2) responses received

I have two Samba servers in a network with two Linux and a lot of Windows hosts. Both Linux hosts run a Samba server, with the same (very basic) configuration: [global] workgroup = PRAXIS security = ...
Tobias Leupold's user avatar
0 votes
0 answers
87 views

Samba Incorrect Disk Usage Reporting

I am playing around with a fileserver setup. Here are the specs of the system: root@files:/data# uname -a Linux files 6.1.0-18-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.76-1 (2024-02-01) x86_64 GNU/...
nepher ki3den's user avatar
0 votes
1 answer
189 views

Is it the OS or Samba that is restricting access to systemd on a shared folder?

I have two Rocky Linux 9 servers that we can call svr1 and svr2. svr1 has Samba service installed and share the folder /home/rocky/shared_folder with this configuration: [global] # workgroup = ...
SUPERALEX's user avatar
1 vote
0 answers
31 views

SMB folders, upload a file results in .part files of 0bytes

I have a Debian 11 server with Nextcloud on it and an OpenMediaVault (OMV) server on which a Samba 4.13.13 share is configured. The Samba server is used by all users on the network without any problem....
Tiziano Pedrazzoli's user avatar
0 votes
1 answer
53 views

Active Directory for linux servers

I have 7 ubuntu servers and a Storage server on freebsd. I am considering deploying OpenLDAP on one of these 7 servers so that these servers can have a centralized user database and authentication ...
AAB's user avatar
  • 13
0 votes
0 answers
214 views

Network share (avahi broadcasted) not listed under Locations in MacOS Finder

I have two servers. One ubuntu (jammy), the other debian (buster) both running samba shares. If I configure "fruit:model" in smb.conf, the network share appears in finder but the icon under ...
Obit's user avatar
  • 1
2 votes
2 answers
629 views

Mounting Samba share to Docker container

Goal On my server I am runing various Docker containers, specifically a syncthing container. In addition I am also using my server for different Samba shares. My goal is to mount the host directory /...
mchp's user avatar
  • 41
0 votes
0 answers
144 views

Is it possible to limit the size of a CIFS/SMB share when mounted?

I have one big 5 TB (and growing) CIFS/SMB share stored on HDD (RAID) on one centralized server for main storage (and backup) and plan to use several additional Linux servers (as proxies) where I ...
kataba's user avatar
  • 1
1 vote
2 answers
478 views

Samba's smbd no longer working with MIT Kerberos & OpenLDAP for authentication

I'm getting the following error when trying to browse a Samba share: session setup failed: NT_STATUS_NO_IMPERSONATION_TOKEN My Samba configuration for tying a standalone server's smbd to its MIT ...
Karl M. Davis's user avatar
0 votes
0 answers
196 views

Use Samba AD DC as Password Backend for Samba PDC

I've got the following situation: Old Samba-server data.company.com Version 4.6.7 Configured as a PDC with workgroup = COMPANY for a population of Windows hosts with the following configuration: [...
Tipsyeagle's user avatar
0 votes
0 answers
135 views

Multiuser SMB Mount on Red Hat: Users Seeing Each Other's Folders Despite Separate cifscreds

We are attempting to mount a Windows file system on a Red Hat 9 machine. This Windows file system contains hundreds of accounts with finely tuned access rights. We are trying to implement the ...
Vincent Guyader's user avatar
0 votes
1 answer
285 views

Quota for samba storage

I have a Hetzner StorageBox and I want to use it for my users. I can access it using FTP/FTPS, SFTP/SCP, Rsync/BorgBackup, SMB/CIFS, and HTTPS/WebDAV. I've successfully mounted it with CIFS on my ...
Pouyan Danesh's user avatar
-1 votes
2 answers
409 views

How can I automate joining a Linux container to a Samba Domain?

I have a Samba domain controller (also running in a container) and I would like to start a new container and have it become a member of the domain. The normal process for this is to enter the ...
M Conrad's user avatar
  • 131
0 votes
0 answers
110 views

Can't mount Samba share inside router connected to OpenVPN

Inside my router (connected to an OpenVPN server) is a Samba share. I try to mount that share with my mobile phone (connected to the same OpenVPN server), but this does not work. My (reducted) OpenVPN ...
Per Gunnarsson's user avatar
2 votes
1 answer
401 views

Samba "NT_STATUS_ACCESS_DENIED" error when trying to image a Windows VM using Cobbler

Looking for some help with Samba on Fedora 38. We have a Cobbler v3.3.3 server currently for testing purposes. We have configured Cobbler and managed to import a Windows distribution as per the ...
Anestis's user avatar
  • 31
2 votes
0 answers
2k views

Why on earth would rsync over SMB run nearly five times faster than rsync-to-rsync (over SSH)?

I just modified many files on a 36TB Unraid array (not quite half full yet). Now I want to sync all of those changes up to a backup array using rsync. My usual rsync backup was going a lot more slowly ...
kshetline's user avatar
  • 129
0 votes
2 answers
747 views

Ubuntu Samba tree connect failed: NT_STATUS_BAD_NETWORK_NAME

I am stumped. After hours of time I haven't made any progress. I am getting the following error. Running Ubuntu 22.04. What's crazy is I have this working on another machine running the same version. ...
Lrayh's user avatar
  • 1
1 vote
1 answer
351 views

Where can I see samba registry share configuration from a system backup that's not running

I have a backup of all files/folders from a Linux install that had Samba running and some shares. This installation was using the registry for configuring the shares so they are not in /etc/samba/smb....
IMTheNachoMan's user avatar
0 votes
0 answers
100 views

Samba Linux server MacOS client ACLs

I'm trying to enable ACLs for a Linux Server using a MacOS client. My configuration is as follows: [global] vfs objects = acl_xattr map acl inherit = yes store dos attributes = ...
Vic Nightfall's user avatar
0 votes
1 answer
235 views

Unable to configure fail2ban to protect samba shares

With this configuration service (fail2ban) starts, logfile register wrong attempts, but still not count attempts in fail2ban-client. I suspect that there is a problem with regex, but this is the only ...
Ivan's user avatar
  • 1
0 votes
1 answer
70 views

How change temporary primary group for user when user connect to samba?

I have samba connected via Winbind to AD. Historically, all unix enabled users has wrong primary group. May I change while user connected to samba primary group to one of the users secondary? It could ...
Oleg Zagrebelsky's user avatar
1 vote
0 answers
101 views

Custom RPC Kerberos authentication working on Samba but dont Windows

I have implemented an RPC client in C# which uses GSS/SPNEGO authentication. I am trying to connect to the standard/Active Directory services (DRSAPI, SAMR etc...) on the server. The authentication ...
fred_kp's user avatar
  • 11
2 votes
1 answer
1k views

Samba share not accessible to client in the same network

Two servers in the same network, a Windows server (client), and a Linux server (samba share host) The shared folder can be seen by the client but not accessed. See below for the configuration: smb....
Tango's user avatar
  • 23
0 votes
1 answer
104 views

Can not read from Synology NAS from Windows OS, but Linux access works fine

So as mentioned in the title: we have a Windows machine here needing access to a samba share on a Synology NAS. This machine can not access it and Windows responds with "wrong username/password&...
roediGERhard's user avatar
0 votes
0 answers
202 views

GPO "Administratively assigned offline files" is applied but files are not available offline

I've configured a GPO that uses the "Administratively assigned offline files" to make a path \\server\share\%username% available offline. It works perfectly fine on my old Windows XP laptop, ...
jeanluc162's user avatar
0 votes
0 answers
248 views

The last modified times and last access times are wrong

The samba server reports the same creation time all 3 values of creation time, last modified time and last access time to the clients. How do I get it reporting the correct times? $ samba --version ...
crackpot's user avatar
  • 101
0 votes
0 answers
649 views

Is mount.cifs (SMB) secure with `seal` and `sec=ntlmssp`?

I'm using the csi-driver-smb driver for Kubernetes to mount SMB volumes. Everything works well, but now I'm reading that the default security mode is sec=ntlmssp. I'm worried, from what I read online, ...
xaa29221's user avatar
0 votes
0 answers
142 views

Can somebody provide an example smb.conf for a NT domain controller?

After I updated my domain server from Ubuntu 18.04 to 20.04 the NT domain no longer worked. Domain logons on the Windows 10 computers fail. (Ubuntu 18.04 is no longer supported). So I set up a new (...
dummzeuch's user avatar
  • 607
0 votes
0 answers
294 views

Small read size by Windows SMB client

I am setting up a Linux server for high resolution online video editing. When I access the SMB share from a Windows 11 client, Wireshark analysis shows that the SMB Read requests are always a maximum ...
swami's user avatar
  • 155
1 vote
1 answer
710 views

Samba & LDAP: did not correctly init (error was NT_STATUS_NO_MEMORY)

I am trying to configure Samba to authenticate with a new ldap domain. In the logs I am seeing the following error: pdb backend ldapsam:ldaps: did not correctly init (error was NT_STATUS_NO_MEMORY). I ...
csom linux's user avatar
0 votes
1 answer
770 views

How to configure samba+winbind with AD redundancy?

I work for a company that offers a software solution for network management. Part of the solution is proxy authentication. An already legacy option in our software, is to configure a proxy to use NTLM ...
EdgarLemke's user avatar
1 vote
0 answers
3k views

How do I use Group Policy to sync client time in an Active Directory domain with an external NTP server and not the domain controller?

I have an Active Directory domain, with a domain controller running on Samba on Linux. I noticed that my Windows clients are having clock drift. I think this is because they really want the domain ...
interfect's user avatar
  • 343
0 votes
0 answers
195 views

Problems with Samba member server, AD-DC and MMC

I have 3 specific problems: the first, with the choice of id mapping, the second with the usermap from root to administrator, and the third with remote administration from a windows 10 computer using ...
Gabriel Rodríguez Castell's user avatar
0 votes
0 answers
817 views

Samba Windows ACL not working

I want to configure Samba to manage Windows ACL and manage them from Windows via the security tab. The Samba server is standalone and not part of an AD tree; i already followed various offical and ...
Plokko's user avatar
  • 101
1 vote
2 answers
566 views

How do I query user attributes from a Samba AD DC in Linux with Kerberos auth?

An answer exists for querying AD with password auth, which is working fine locally. What about Kerberos auth? Running ldapsearch with GSSAPI auth yields the following error: $ ldapsearch -ZZ -Y GSSAPI ...
cqcallaw's user avatar
  • 163
0 votes
0 answers
108 views

Samba AD: huge DNS files in /var/lib/samba/{bind-dns/dns,private}/sam.ldb.d/

We have a small Samba AD server with around 20 users and 70 machines (including phones, printers, etc.). The DC=DOMAINDNSZONES... .ldb files under /var/lib/samba/private/sam.ldb.d/ and /var/lib/samba/...
mivk's user avatar
  • 4,522
0 votes
1 answer
201 views

TrueNAS SMB Share Inaccessible by NetBIOS Name

I'm currently working on a TrueNAS server to create a file share for a computer lab, and I've got everything working except for being able to connect to the share via it's custom NetBIOS name. I can ...
mtloya's user avatar
  • 1
0 votes
1 answer
143 views

Can't get Samba smv.conf shadow copy snapprefix to recognise snaps

I'm really with this one. What I'm aiming for is that snpshots with an optional tag at the front, as well as untagged snaps are seen in windows as previous copies, e.g. file names such as: /mnt/pool1/....
Arthur Mitchell's user avatar
1 vote
1 answer
336 views

Samba shadow_copy2 and snapshots don't appear in windows

I'm setting up Ubuntu server with Samba. The file system is BTRFS and I can't seem to get Windows to see the previous versions from the snapshots. My smb.conf has this for the share: [Backup] path ...
Arthur Mitchell's user avatar
0 votes
0 answers
167 views

Guest Access to Samba server from two different machines

I've setup Samba 4.16.8 on a FreeBSD server with guest access, and found only one machine can connect at a time. I can connect from the server using: smbclient //172.16.23.24/worklist -U % Then if I ...
leonardorame's user avatar
0 votes
1 answer
232 views

Samba 4 can't copy from previous version in Windows

HW: HP server ML110G9 SW: Fileserver CT (Proxmox host) - debian 11 - Samba version 4.13.13-Debian UserPC - Windows 8 / Windows 11 ZFS snapshot format: data/[email protected] smb.conf: ...
ukro's user avatar
  • 13

1
2 3 4 5
38