Questions tagged [samba]
Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.
1,880
questions
1
vote
0
answers
89
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:
//...
0
votes
2
answers
223
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 ...
0
votes
1
answer
29
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 ...
0
votes
0
answers
34
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 = ...
0
votes
0
answers
38
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/...
0
votes
1
answer
178
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 = ...
1
vote
0
answers
24
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....
0
votes
1
answer
49
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 ...
0
votes
0
answers
139
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 ...
2
votes
2
answers
375
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 /...
0
votes
0
answers
90
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 ...
1
vote
2
answers
306
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 ...
0
votes
0
answers
161
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:
[...
0
votes
0
answers
76
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 ...
0
votes
1
answer
219
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 ...
-1
votes
1
answer
322
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 ...
0
votes
0
answers
97
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 ...
2
votes
1
answer
298
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 ...
2
votes
0
answers
1k
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 ...
0
votes
2
answers
467
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. ...
1
vote
1
answer
229
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....
0
votes
0
answers
85
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 = ...
0
votes
1
answer
173
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 ...
0
votes
1
answer
50
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 ...
1
vote
0
answers
95
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 ...
2
votes
1
answer
852
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....
0
votes
1
answer
101
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&...
0
votes
0
answers
169
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, ...
0
votes
0
answers
173
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
...
0
votes
0
answers
488
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, ...
0
votes
0
answers
120
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 (...
0
votes
0
answers
254
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 ...
1
vote
1
answer
520
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 ...
0
votes
1
answer
638
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 ...
1
vote
0
answers
2k
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 ...
0
votes
0
answers
185
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 ...
0
votes
0
answers
654
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 ...
1
vote
2
answers
385
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 ...
0
votes
0
answers
92
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/...
0
votes
1
answer
158
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 ...
0
votes
1
answer
110
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/....
0
votes
1
answer
239
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 ...
0
votes
0
answers
130
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 ...
0
votes
1
answer
198
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:
...
0
votes
0
answers
40
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 ...
0
votes
0
answers
387
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 ...
0
votes
0
answers
582
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.)...
0
votes
0
answers
318
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 ...
0
votes
0
answers
239
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 ...
0
votes
0
answers
49
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 ...