Questions tagged [samba]
Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.
1,848
questions
0
votes
0
answers
16
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
52
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
39
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
16
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
15
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
72
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
34
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
39
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
61
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
49
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
32
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
52
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
9
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
39
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
100
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
115
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
99
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
161
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
24
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 ...
0
votes
0
answers
27
views
how to handle ACLs of local users when migrating a windows server to linux/samba
We have an aging Windows server member of our company's AD that serves shares to a bunch of clients, with ACLs defined in part relative to users and groups that are local to that server and in part ...
0
votes
0
answers
96
views
Authenticate samba share to active directory
I have joined a server running Rocky 8.7 to a domain using realm. I am able to login locally, ssh and sudo using a active directory account. I have some samba shares I can access with a local account. ...
0
votes
0
answers
27
views
Samba: shared directory is accessible, but shared NTFS drive - not
I have Samba server installed on a CentOS 9 Stream machine and I am trying to share an external USB HDD, formatted in NTFS. This is my /etc/fstab record for mounting it:
UUID=880AFE920AAB7B8E /home/...
0
votes
0
answers
439
views
QEMU Shared folder between Linux host and windows 10 Guest
I installed samba then I used the following command:
qemu-system-x86_64 -drive file=Windows.img,format=qcow2,if=virtio -nic user,id=nic0,smb=/home/aarav/Downloads
After starting up the VM, I opened ...
0
votes
0
answers
567
views
Full Implications of SMB mount option "noserverino"?
Working with Ubuntu-based systems.
Having run into a samba mount giving a stale file handle, the advice around the net seems to be adding noserverino as an option for the mount.
Reading the ...
0
votes
0
answers
66
views
Force Samba to only listen on loopback
If I set interfaces = lo, then Samba won't start:
daemon_status: daemon 'nmbd' : No local IPv4 non-loopback interfaces available, waiting for interface ...
I need it to start on loopback, because I ...
0
votes
1
answer
314
views
Samba server - single user connection limit
Is there a limitation for samba server to allow multiple connection's from single user? (Multiple PC's connecting to same samba server with same account)
User was created through smbpasswd -a [...
0
votes
0
answers
317
views
UID of windows Active Directory user seems to have been overwritten on storage host passwd
I have an issue which has me scratching my head, and I dont know where I need to enable deeper logging to find the source of the issue.
We have a third party appliance, where we do have root ssh ...
0
votes
0
answers
73
views
run icacls across domains - failed trust relationship
I frequently have to create Directories and set permissions on Samba-Shares which are joined to foreign Domains without Trust Relationship to my "home" Domain.
Mounting and creating ...
0
votes
0
answers
141
views
Tools for testing transfer speed to an already mounted SMB?
Say I have mounted /mnt/mount_test as a samba mount and I want to test the transfer speed from my local system to that mount.
I want to know: after the mount is mounted, what transfer speeds am I ...
0
votes
0
answers
271
views
How to login as different users in samba?
I am able to setup a samba shares shared among 400 users on ubuntu 20 as file server. As a part of policy after any user have completed his/her work they disconnect from share. The problem arises for ...
0
votes
1
answer
42
views
Alma 9.1 Samba config not allowing outside connections
I just installed Alma 9.1 on my homelab, and I've attempted to install samba everything seems to work okay locally. Im able to run smbclient -U user -W SAMBA -L //192.168.0.254 and list all the ...
0
votes
0
answers
118
views
samba - openLdap authentication issue - Ubuntu 20.04 server
i'll try and be concise:
i'm running a Ubuntu server 20.04 VM, i've installed OpenLDAP and Samba (this is an assignment, so i'm not worrying very much that those both are hosted on same server for the ...
1
vote
0
answers
59
views
2 Samba Configs: "config file" Parameter Fails
I am attempting to create 2 separate shares using 2 very different configs. I can get both going individually from the same system, but not together. Regretfully, I still have some legacy systems ...
0
votes
0
answers
125
views
Why do all users still have full access in my samba server after i have set limited permissions?
I have a debian 11 server running samba and is hosting a share of a drive that's mounted in fstab. I have added "acl" to the fstab and installed acl in the samba config.
To be clear: my end ...
0
votes
0
answers
32
views
Bind does not start on a DC Samba 4. What to do?
I'm migrating a Samba DC that uses Bind9, but when I try to start Bind on the new DC, a permission error is displayed. Reading some links I saw that the apparmor can be a problem, however it is not ...
-2
votes
2
answers
160
views
Samba server showing user still logged on despite shutdown/restart of the Windows 10 client
I have since years an issue with Samba 4.3.11 and Windows 10 in a Domain with Samba Active Directory:
The Users on Windows 10 will be shown as further logged on on the samba server (smbstatus -b) even ...
0
votes
0
answers
25
views
My CentOS smb share was connected but no file can be seen
I installed a smbserver on my CentOS 7. And I used an embedded Linux terminal to mount the shared directory to local /mnt/smb.
mount -t cifs //192.168.2.222/jason /mnt/smb -o username=jason,password=...
0
votes
0
answers
535
views
OpenMediaVault SMB/CIFS Share Failed to Enumerate Objects in the Container. Access Denied
Good-day Folks,
I have a small OpenMediaVault (OMV) v6.0.46-5 deployment, running the Proxmox Kernel v5.19.17-1-pve (so I can have a ZFS filesystem) to support Windows 10 clients (primarily) in a ...
0
votes
0
answers
169
views
Samba doesn't run root preexec
I have Windows Server 2019 AD and Samba Winbind joined to the AD. The Samba is technically used for home directories and a shared folder between all domain users.
How to force Samba to create ...
0
votes
1
answer
388
views
Samba Winbind - Windows Server AD - Users are able to see each other's home directories
I'm running AlmaLinux and Samba Winbind joined into Windows Server 2019 AD. The domain users have home directories and a pccommon directory (shared folder).
When I create a new domain user in the ...
0
votes
0
answers
16
views
How to set the path of folders in the compilation of samba?
I'm compiling Samba 4. By default the folders are stored in /usr/local/samba.
With the command below I made some changes:
./configure --bindir=/bin/ --sbindir=/sbin/ --sysconfdir=/etc/samba/ --mandir=/...
2
votes
3
answers
438
views
How to nest & share multiple ZFS pools over Samba to multiple users
I have the following ZFS structure:
% sudo zfs list 16:03:46
NAME USED AVAIL REFER MOUNTPOINT
zpool1 ...
1
vote
0
answers
186
views
Windows lost server connection while transferring files via Samba
I have a Ubuntu 22.04.1 server with Samba installed to allow other PC in the local network to upload/download files, there are 2 Windows clients (Windows 10 & 11), and they both are ok to connect ...
1
vote
0
answers
139
views
Samba AD sysvol sync unison permissions issue
I'm having an issue with syncing the unix permissions and ownership on the sysvol between two Ubuntu Samba AD DCs using unison. I have copied the idmap.ldb file from DC1 to DC2 and the Windows ...
1
vote
0
answers
33
views
Samba share fails to show soft links
I have samba share on ubuntu 22.04:
[tork]
path = /
user = root
read only = no
# tried :
wide links = yes
force user = root
allow insecure wide links = yes
None of these can be ...
2
votes
0
answers
304
views
Using Linux tools to allow a user in a domain to access only certain computers
I ran samba-ad-dc domain controller on Debian Bullseye. No problem to create users and groups, organizational units, etc and to join windows or Linux computers to domain. But there is other task: On ...
1
vote
0
answers
96
views
Samba server issue with mount point being owned by root instead of 'force user' specified in smbd.conf
I've created a samba share on an ubuntu server called teslausb with the following lines specified in smbd.conf:
[teslausb]
comment = John's home share on Ubuntu
path = /mnt/sdb1/teslausb
...
0
votes
0
answers
15
views
Windows unable to view all file from Samba
i do have problem with my Samba setup. Currently Samba map to windows drive mapping working fine. But when i open the Z folder, i only can see 2045 files. My Samba were map to shared storage that have ...
0
votes
0
answers
55
views
samba Doesnt work gpo scripts startup
im trying to create and use gpo startup scripts for linux
when creating gpo scripts startup using
Code:
samba-tool gpo manage scripts startup add {32147013-5DD6-4BFA-BAF5-D25B0F05A0C9} /usr/local/...