Questions tagged [samba]
Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.
1,881
questions
0
votes
0
answers
44
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 = ...
1
vote
1
answer
5k
views
Connection to Windows SMB share works through smbclient, fails to mount via mount.cifs
I'm trying to access a Windows Server 2019 share (inside a domain) from a CentOS6 host.
I can browse the share via smbclient, but mounting fails:
Status code returned 0xc000006d ...
0
votes
4
answers
18k
views
How to share apache /var/www using samba server in ubuntu
My issue is similar to the stackoverflow question, virtual centOS 6.2 - How to share /var/www using Samba, however I am getting the following error:
Windows cannot access \server1\dev You do not have ...
3
votes
2
answers
7k
views
I have to manually restart winbind.service after every reboot. Ubuntu 18.04
S.O. Ubuntu 18.04.4, Samba version 4.7.6-Ubuntu
I have this problem with this machine. Whenever the system restarts, winbind.service fail to start properly, and error "clock skew too great" is ...
8
votes
6
answers
22k
views
AD group membership changes not reflected in winbind information
I have inherited several RHEL5 servers that were set up to authenticate users against their AD accounts via winbind. Everything works fine until I update group membership in AD. For some users, the ...
1
vote
1
answer
7k
views
How to set up netbios aliases on smbd / nmbd
The hostname of my server is slightly unfriendly (let's say b4dn4me). I want my users to be able to access the server under a nicer name (let's say bonnie).
Samba is installed just to be able to ...
1
vote
0
answers
96
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:
//...
2
votes
1
answer
10k
views
smbclient NT_STATUS_BAD_NETWORK_NAME with server OS SpinStream2
I'm trying to use Samba smbclient to connect to a file server managed by my technology partner, and I'm consistently getting this error message about tree connect failed. The exact details have been ...
0
votes
2
answers
256
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
32
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 ...
1
vote
1
answer
6k
views
Error: KDC has no support for encryption type
I have intermittent authentication issues on my ubuntu 15.04 servers. Periodically, authentication will just stop working. Eventually it will start working again on its own. Or, if I restart both smbd ...
0
votes
0
answers
42
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 = ...
1
vote
2
answers
3k
views
macOS “mount_smbfs: server connection failed: Socket is not connected”
To start out this is a duplicate question - however the question has no answer is at the top of the Google rankings. (I don't have enough status to answer it) macOS "mount_smbfs: server ...
5
votes
2
answers
6k
views
Linux SMB to \\domainname ends up "tree connect failed: NT_STATUS_DUPLICATE_NAME "
Issue:
From CentOS7 machine:
smbclient -L %domainname%.com --user=%username%
Result:
tree connect failed: NT_STATUS_DUPLICATE_NAME
This is especially when I try to connect to //domainname.com, ...
0
votes
1
answer
31k
views
how to solve NT_STATUS_HOST_UNREACHABLE in CentOS when connecting to (windows) file server via SAMBA
I am using CentOS and I need to connect to a file server running on windows. My friend told me that I need to install SAMBA to be able to do that. and so I installed samba and when I try to check if ...
0
votes
0
answers
45
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/...
2
votes
1
answer
4k
views
Why can't I access my samba shares with this simple configuration? (CentOS 6)
On a freshly installed CentOS 6 system I have the following simple smb.conf copied from another system where it is working as expected:
workgroup = MYDOMAIN
browseable = yes
[homes]
guest ok = no
...
6
votes
1
answer
6k
views
Symlinks look like regular files on samba shares
Symlinks on my samba share aren't behaving the way I want them to – specifically, the links look like duplicate regular files to the client machine. This used to work (i.e. symlinks on the server ...
0
votes
0
answers
677
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 ...
0
votes
1
answer
5k
views
Allow guest read/write access to Netatalk AFP share
I am running Netatalk 3.14dev on Ubuntu 14.04. This box is being used as a webserver and we already have a Samba share pointed at the /var/www folder to allow our developers to work on sites hosted on ...
1
vote
2
answers
5k
views
CentOS cifs mount point fails after reboot. permission denied error 13
I'm using CentOS release 5.10
I have a mount point setup in /etc/fstab that was working, but now it doesn't. After a reboot the mount point doesn't exist and running sudo mount -a results in:
mount ...
8
votes
7
answers
112k
views
Access denied to Samba share from Windows 10
Samba version: Version 4.1.17-Ubuntu
Ubuntu 15.10
When accessing a Samba share in windows, I can see the share but whenever I try and access it - entering the same username and password as the Samba ...
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....
7
votes
3
answers
13k
views
Can't mount samba share, but can access using smbclient
I have a network share on Windows server in my local network.
I can access this share using smbclient on my Ubuntu 13.10 (with installed cifs-utils package) desktop like this:
smbclient \\\\192.168.5....
2
votes
2
answers
416
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
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
146
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 ...
0
votes
0
answers
100
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
329
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 ...
8
votes
5
answers
37k
views
How to mount a windows administrative share on linux via SMB
I'm currently trying to mount a windows shared drive under linux.
The machine is using windows 7 and by default it shares all windows drives if you login as an administrator. I've been able to login ...
6
votes
16
answers
9k
views
Best way to mount a Linux filesystem on Windows over the Internet?
I was going to attempt Samba over SSH, any better ideas?
Edit:
My mom has been bugging me to do some offsite backing up of her files. She currently uses Norton Ghost. I have a VPS that I use for ...
3
votes
2
answers
52k
views
Samba logging all to get logs about all user activities on shared folders and files
How can I get logs for all user activities on files and folders in samba sharing.
Please let me know what changes to be done on samba configuration file /etc/samba/smb.conf
My /etc/samba/smb.conf ...
8
votes
5
answers
28k
views
Samba SMB Encryption - How safe is it?
I recently set up a Samba server on Linux that allows me to access files on this server on Win10 PCs in my local network. But I wondered if I could access this shared drive over the internet since I ...
-1
votes
1
answer
329
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
164
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
91
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 ...
2
votes
2
answers
5k
views
Bonding mode 6 on Ubuntu 16.04 not increasing total transfer speed
I have a Ubuntu 16.04 server that is on a LAN with several dozen machines that need to read/write to it via samba shares. It was running a single gigabit card, but I decided to try bonding to improve ...
0
votes
1
answer
231
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 ...
0
votes
0
answers
99
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 ...
7
votes
5
answers
99k
views
How do I restart the Samba service?
I have changed the config file, but changes are not appearing.
Do I have to restart Samba?
1
vote
2
answers
5k
views
Windows slow browse of SAMBA share with File Explorer
When browsing a SAMBA file server, File Explorer takes a very long time (60+ secs) to load a share. If I view the same share on the command line with the following command, it returns the listing ...
2
votes
1
answer
311
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 ...
1
vote
1
answer
241
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
2
answers
514
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. ...
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
0
answers
87
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
181
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
2
answers
7k
views
Use fail2ban for Samba
I'm looking for a way to use fail2ban to control/block samba logins on Ubuntu 12.04.3 LTS.
I already set up an jail.local. The samba part currently looks like this:
[samba]
enabled = true
port = 135,...
0
votes
1
answer
52
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 ...