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
58 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
45 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
71 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
1 answer
233 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
  • 109
0 votes
0 answers
66 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
0 answers
66 views

Security scanner reports CVE-2016-2114 on Samba 4.17.12 with SMB3 protocol

I'm using Samba 4.17.12 as file server with minimum server protocol set to SMB3 and I don't use any AD Domain Controller in my network. Why my security scanner still reports CVE-2016-2114 ...
Adam Błaszczykowski's user avatar
2 votes
1 answer
117 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
228 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
149 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
81 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
47 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
104 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
26 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
65 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
459 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
78 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
120 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
71 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
  • 103
0 votes
0 answers
193 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
59 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
74 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
274 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
271 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
740 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
  • 323
0 votes
0 answers
116 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
289 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
227 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
74 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,212
0 votes
1 answer
111 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
77 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
0 votes
1 answer
126 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
84 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
157 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
0 votes
0 answers
35 views

Stop samba share from unmounting at signoff WinServ22

I am trying to find a way to map a drive so that it will not unmount when I sign out of the system. I currently have a backup job running from the SQL management console and it is aimed at a samba ...
dusty_gazingaz's user avatar
0 votes
0 answers
216 views

How to make a Samba server share files across two subnets

I'm with some problems setting up a Samba server between two subnets; I Have one subnet that has the Samba server and every computer in this lan can access the files. But now I have another server in ...
Anderson Silvestre's user avatar
0 votes
0 answers
284 views

Authenticate to samba server with host machine (Linux) credentials

I have a Linux server, on which several users are present (all members of the group users). They already can connect to this server via the standard means of accessing the machine (tty login, SSH etc.)...
H. Weirauch's user avatar
0 votes
0 answers
186 views

Cannot connect to Ubuntu Samba from Windows

I setup Samba on a Ubuntu 22.02 server. I cannot access the shared with Windows but I can with Linux. Ports 139 and 445 are open and listening on loopback and lan interface. I even made the share ...
LifeWithLucifer's user avatar
0 votes
0 answers
162 views

Failed to parse SPNEGO request

So I wanted to experiment with this smbprotocol in local docker (compose) network controlled environment and in all my attempts, I've been able to solve a lot of issues that always seem to return me ...
toonday's user avatar
  • 101
0 votes
0 answers
41 views

Samba share suddenly stopped showing on Windows

I have 20 computers in my office network and all the computers run windows10 except one which is running Ubuntu. I have setup a samba share on that machine so that others can access the share drive ...
Nuwan Thisara's user avatar
0 votes
1 answer
131 views

How to forward traffic through Linux box except requests to the box itself?

I have an Ubuntu box with IP forwarding enabled and a very simple iptables configuration to allow all packets from within the LAN to be forwarded: echo 1 > /proc/sys/net/ipv4/ip_forward /sbin/...
Adam J. Kessel's user avatar
0 votes
1 answer
81 views

Samba and ZFS resulting in NT_STATUS_BAD_NETWORK_NAME

I am currently trying to share my ZFS dataset using SMB. Unfortunately I receive the error NT_STATUS_BAD_NETWORK_NAME every time I try to connect to the share. The error does not make much sense to me ...
mchp's user avatar
  • 1
0 votes
0 answers
126 views

Samba Domain with readonly Active Directory and OpenLDAP

I have a working Samba Windows Domain getting its users from an OpenLDAP database, but now I need to get these users from an Active Directory database. I have full access to the OpenLDAP database but ...
Rodrigo Antunes's user avatar
0 votes
0 answers
52 views

Linux client: mount.cifs works but net time doesn't

I'm running a Linux VM that needs to access files on Windows machines. For that I have a bunch of CIFS mounts in /etc/fstab that work fine. Idiotically the Windows machines have free-running system ...
musbur's user avatar
  • 193
0 votes
0 answers
461 views

Unable to mount CIFS share using mount.cifs using AD credentials on Centos 7

I'm trying to mount a CIFS share from a storage array on a Centos7 machine, and I'm failing miserably. sudo mount -t cifs -o vers=2.1,user=domain/myuser //storagearray/Server_Backups /tmp/dbshare/ [...
mrlitsta's user avatar
  • 101
1 vote
0 answers
157 views

CentOS 7, Integrating SAMBA server with LDAP server to authenticate users through LDAP

I spent many hours trying to solve my problem, but unfortunately to no avail. Im configuring SAMBA server on CentOS 7. I want to fetch users' credentials from LDAP server, so they will be able to ...
Artur Merta's user avatar
0 votes
0 answers
311 views

Sharing EFS with Samba - missing files

I'm trying to share AWS EFS content using Samba (to use it on Windows based instances). The issue is that with some number of files per folder, Samba doesn't show all of them. I tried different linux ...
imbolc's user avatar
  • 111
0 votes
2 answers
1k views

Samba share, can't access

Ubuntu Linux 22.04.2 Samba version 4.15.13-Ubuntu I am using the default installation of Samba on Ubuntu. I added this to /etc/samba/smb.conf [www] browseable = yes printable = no comment = Web Root ...
Juergen Schulze's user avatar
0 votes
0 answers
167 views

WPA3 with Freeradius and SAMBA AD DC

I have a working Freeradius authenticating WiFi users (windows,mac,linux,ios,android) with WPA2 enterprise using samba AD DC for user directory. I want to move to WPA3 Enterprise but I am not sure if ...
Marko's user avatar
  • 371
0 votes
2 answers
48 views

How to delete a domain user with associated folder rights?

Right now when I delete a user from the domain I get left with these folder rights remnants that I have to remove manually. I've noticed this on both Windows and Linux driven data servers. Is there a ...
Adephx's user avatar
  • 3
0 votes
0 answers
239 views

Standalone Samba 4.13 server with LDAP backend: Windows 10 clients fails (Windows 7 is OK)

I have a running Samba v4.13 standalone server (no Active Directory nor Samba Domain) on Debian using an LDAP passdb backend (ldapsam) which was working just fine with Windows 7 SMB client but does ...
CDuv's user avatar
  • 242

1
2 3 4 5
38