Questions tagged [samba]
Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.
1,873
questions
0
votes
1
answer
17
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. ...
0
votes
0
answers
4
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
27
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
55
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
16
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
50
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
221
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
42
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
96
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
32
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
60
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
24
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
42
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
127
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
120
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 ...
0
votes
0
answers
177
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
67
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
144
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
157
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
50
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
72
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
46
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
75
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
51
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
104
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
31
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
116
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
124
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
113
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
106
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
32
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 ...
0
votes
1
answer
94
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/...
0
votes
1
answer
72
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 ...
0
votes
0
answers
109
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 ...
0
votes
0
answers
33
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 ...
0
votes
0
answers
370
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/
[...
1
vote
0
answers
133
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 ...
0
votes
0
answers
215
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 ...
0
votes
2
answers
933
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 ...
0
votes
0
answers
133
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 ...
0
votes
2
answers
44
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 ...
0
votes
0
answers
184
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 ...
0
votes
0
answers
17
views
Capitalize home directories and append string
In the [homes] section of my smba.conf file, %S is a variable holding the name of the current service. If %S is username, the folder /mnt/data/%S is displayed to user username as "username". ...
0
votes
0
answers
13
views
Memory and CPU requirements for Samba server on a virtual linux machine [duplicate]
I want to set up a samba server on a VM in a cloud, for up to 50 clients. What size of VM would I need in terms of RAM, CPU and disk space? The OS would either be CentOS or Ubuntu.
This is not a ...
0
votes
1
answer
133
views
How do I enable WideLinks on samba's recent release?
Note: I am aware of the security issues and reasons why it's been changed. I still require the use of wide links.
Samba's recent versions have made it where WideLinks are now supposed to be loaded as ...
0
votes
1
answer
359
views
Failed to join a computer to samba domain (Zentyal) - Couldn't join realm: Insufficient permissions to join the domain
I'm relatively new Zentyal user (few months), and I love it! But I've ran into a problem I hope someone can help me with.
In my deployment I have two Zentyal servers (zentyal-1.mydomain.com and ...
0
votes
0
answers
327
views
Unable to connect to local Fedora Samba share. What am I doing wrong?
New to networking. Created a samba share in Fedora Server. This samba share is supposed to connect to a raid0 pool (2x4TB WD Red) that I created. The mount point of the raid0 pool is /raid0pool.
The ...
0
votes
1
answer
301
views
Adding SSL certs to Samba from CA
I have a wildcard SSL cert from A CA that I am trying to get to work on my samba ADDC. Samba will fail on Samba restart when smb.conf looks like this:
tls enabled = yes
tls keyfile = tls/...
1
vote
1
answer
372
views
Connecting from windows to debian Samba share
I have a proxmox installation with a few ZFS shares.
The shares are created using
zfs create storage/photos
sudo zfs set acltype=posixacl storage/photos
The user is created using
sudo adduser --...
0
votes
0
answers
39
views
How to install and start nfs server in initramfs environment?
I am try to share filesystem as a server in initramfs. I think the best choose is use nfs server but after a lot of try still get some error like below:
(initramfs) rpc.nfsd
rpc.nfsd: unable to set ...