Questions tagged [smb-conf]
The smb-conf tag has no usage guidance.
46
questions
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
160
views
Understanding Samba VFS Operations for Full Audit
We have a TrueNAS System running TrueNAS-12.0-U8 for which we are required to log all successful and all failed file access attempts for a specific SMB share. The Samba version is 4.13.
Per guidance ...
0
votes
0
answers
47
views
SMB over Quic Configure button not working in Windows Admin Center
Im trying to setup our environment with SMB over Quic but to configure the File Share settings, the configure button doesnt do anything. We have tried different browsers and such but for some reason ...
0
votes
0
answers
47
views
AD joined Linux machine with different suffix
I've been struggling for 4 days and according to the information I have stated below, I can't access the linux os (debian) joined in AD to users with different UPN suffixes.
What kind of config (sssd ...
0
votes
0
answers
108
views
samba stops working periodically
I use smb for sharing files with Windows 10 machines.
Periodically sharing stops working, I tried to restart services (sssd, smb, winbind) but that not resolved the problem. I have to disconnect from ...
2
votes
1
answer
567
views
Samba allow SMB1 protocol for a single IP only
I have an old network printer in my Linux network supporting SMB1 only. How can I limit the potential security issue to this IP only? Enabling the SMB1 protocol in the [global] section of smb.conf is ...
0
votes
1
answer
841
views
Windows clients slow to open SAMBA on Debian 10 (when using short hostname)
I'm having a strange problem for windows 8 and 2012R2 clients, which use a Debian 10 samba server in ADS mode. The issue is slow initial directory listing of the server, only when using the server's ...
-1
votes
1
answer
53
views
Use ethernet port for smb share transfers, but smb should still be accessible over wifi [closed]
I'm pretty new to Linux networking and I'm not sure how to fix a file transfer issue I have.
I have two Raspberry Pis. One is running Raspberry Pi OS and the other is running OSMC. Both are connected ...
3
votes
0
answers
827
views
Disabling NetBIOS for Samba SMB2
I need to get a pcap for SMB2, but without using NetBIOS as a transport (Direct TCP connection).
I did disable netbios on server and client. Both sides on Linux.
[global]
...
min protocol = SMB3
...
2
votes
2
answers
4k
views
How to create a working samba PUBLIC share on Linux (smbd) for LATEST windows 10 client?
As we know, latest windows 10 upgrade has made samba client refuse to sue guest account. Some organization even make it impossible to disable this bug. This make it impossible to create a public samba ...
1
vote
1
answer
45
views
Network share with multiple users and snapshots
I want to make a network share with read/write and it will be accessed by multiple computers.
Every time a new computer connects to it, they should find it in an initial state.
Every change made on ...
2
votes
0
answers
4k
views
smbd.service: Main process exited, code=dumped, status=6/ABRT
I'm running samba on a server, but I don't want samba directly exposed to the internet. The server is running pptpd, and I want samba to bind to the local ip of the pptpd, so samba will be accessible ...
0
votes
1
answer
1k
views
Different permissions for guest and non-guest users in Samba
I am configuring a samba server for file sharing. I was wondering if there is a configuration setting to map different file or directory masks to different users.
I am attempting to allow admin users ...
2
votes
1
answer
975
views
samba server mount points stopped working on CentOS 8 install, error: Failed to start SPNEGO handler for negprot OID list
After about 6 months of smb working flawlessly on a home server, it is now failing to allow remote systems to mount with the following error message in /var/log/messages:
Jun 27 12:53:10 bike3 smbd[...
6
votes
1
answer
4k
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 ...
3
votes
0
answers
10k
views
How to disallow SMB1 and SMB2 but still allow connections from Linux smbclient and list shares using Thunar?
Running a Samba server, I guess it is a good idea to require encryption and SMB3. So I tried setting these two options in /etc/samba/smb.conf (see documentation) in the [global] section:
smb encrypt =...
0
votes
1
answer
2k
views
How is the samba recycle bin supposed to work with deleted folders?
vfs object = recycle in smb.cfg works fine for deleted files.
Yet, how is the samba recycle bin function supposed to work for folders?
I made the following observations:
with option recycle:...
2
votes
1
answer
6k
views
smb fails to start on centos7 radius server
I have a working radius server that auths connections to a PDC AD server. I wanted to create another one so that I can fail over on the firewall when needed. I created a second server using the same ...
2
votes
2
answers
2k
views
smb.conf csc policy parameters
I am administering a standalone user-authenticated Samba 4.3.11 server on Ubuntu 16.04, which is accessed by Windows 7 Pro and 10 Pro clients configured to cache offline files.
The question is, what ...
2
votes
2
answers
23k
views
protocol negotiation failed: NT_STATUS_CONNECTION_RESET
This may look like an old thread. But I tried all types of solution which are provided. But no luck.
I have a Shared Folder from fileserver(windows server 2012 R2 - default samba 2.1)
My client ...
1
vote
1
answer
3k
views
How to disable network option in Windows explorer?
It's a little bit more complicated, I want to hide or deny use of the network location in Windows explorer to domain users, but I also need to give them access to mapped network devices and I can't ...
4
votes
1
answer
1k
views
Synchronise Samba 4.4 passwords with the Unix password database
I run a small Samba 4.4 server, and I would like to keep the Samba password database in sync with the Unix password database. I would like the Samba password to be updated when a user changes their ...
1
vote
1
answer
3k
views
Sync samba users with debian users
I've a machine running Debian 9 in which I've installed samba.
I'm trying to sync the debian users credential with the samba users credential.
My smb.conf is this:
[global]
workgroup = WORKGROUP
...
1
vote
1
answer
12k
views
smb share on linux - not able to force no signing
I am testing a samba share set up between two linux machines, and I need signing turned off for the purposes of testing. My server has the following /etc/samba/smb.conf:
[global]
protocol = smb2
...
1
vote
0
answers
356
views
Can I use "dont descend" SMB parameter on a directory path, preferably using a glob?
I have a samba share where I want to use dont descend on multiple descendent directories. The samba share path=/home. Every directory in home for this particular server is a website (this is a web ...
0
votes
0
answers
182
views
dropbox / syncthing / cold storage like server
I have a gluster file system on top of two zfs RAIDs, and I'm looking to set up filesharing with the following requirements:
1) Data security. Data at rest is taken care of, but I need to make sure ...
2
votes
1
answer
3k
views
Why does SMB over Mac OS X Server 5.2 (Sierra) work with local accounts but not network directory accounts?
I have an OS X Server 5.2 over which I run File Sharing over AFP and SMB. AFP works fine but the same accounts that work with AFP from Mac do not work with SMB over Windows.
I have changed the ...
0
votes
1
answer
1k
views
Nextcloud: Unstable SMB Connection
I am using Nextcloud on UBUNTU Server 16.04 LTS, and I tried to add an external smb storage (a Windows Network Drive). I activated the external storage app on Nextcloud, installed php-libsmbclient and ...
3
votes
1
answer
25k
views
connect to smb share with root access [closed]
Ok, I have smb configured on my Centos 6.7 environment, I have added the user root with smbpasswd -a and when I browse to the share from my windows box I connect with the samba root user I created a ...
3
votes
0
answers
664
views
SMB3 on centos fluctuating read/write speeds
I recently got two 10GbE cards and have been testing a SMB share from centos 6.4 with it as the SMB server.
The SMB client end is a Mac and I don't seem to be maximizing the network speed because it ...
1
vote
1
answer
125
views
Samba: non-deletable directory in public share
I have this in smb.conf
[global]
security = user
guest account = nobody
map to guest = Bad User
[myshare]
path = /var/myshare
available = yes
browsable = yes
guest ok = yes
read only = no
force ...
4
votes
0
answers
718
views
Mac can connect to samba via IP but not netbios name [closed]
I've setup a samba share on Centos 6.
smb.conf
[data]
path = /data
writeable = yes
browseable = yes
valid users = user01
create mask = 0777
create mode = 0777
directory mode = 0777
share modes = yes
...
-1
votes
2
answers
968
views
getxattr operation not supported samba audit
I have a strange issue with my samba ldap server, its a centos server with same 3.0, it was working fine from quite some time but suddenly I noticed that my log file is full of messages saying ...
0
votes
2
answers
1k
views
Samba only works when firewall is disabled
I can not seem to get samba to work correctly without disabling iptables. As soon as I disable iptables everything works perfectly although I am not fond of not having a firewall in place. I am hoping ...
0
votes
1
answer
397
views
smb.conf configured with SMBCLIENT?
I am getting the error NT_STATUS_BAD_NETWORK_NAME when I send the command echo "hello" | smbclient -M "hostname" from Ubuntu to Window. Dumb question, do I need to to configure smb.conf?
2
votes
1
answer
2k
views
samba login fail, smbpasswd / tdbsam / pdbedit missconfiguration?
I cannot get to login, running a samba server on debian7, I can't get a win 8 client to browse non-guest folder.
smbpasswd is not doing anything on using it with -a username. my backend is tdbsam and ...
3
votes
3
answers
894
views
Setting a custom timeout to nmblookup
As part of a batch script, I have the following command:
hostname=$(nmblookup -A $ip_address | awk '$2 == "<20>" {print $1}')
Which works fine from a functinality perspective, even for ...
6
votes
1
answer
2k
views
SMBD daemon spikes at 100% cpu usage when Windows 8 clients connect
I have a server running Ubuntu 12.04 running as a Samba server. The file system is an XFS formatted virtual drive on an LVM pool of physical drives.
I recently upgraded our clients to Windows 8 and I'...
16
votes
1
answer
10k
views
Linux samba server: cifs_mount failed w/return code = -12
Server: RHEL 5.9 / smbd 3.0.33
- Clients: various, though all were using current mount.cifs (5.2)
I already solved this problem, but it was such a nightmare to hunt down these error codes I felt like ...
5
votes
2
answers
3k
views
Samba server not visible from Win network
Samba 3.5 on Centos 6.3
Synopsis: I set up Samba on my linux host, but none of my Win machines on the subnet can see the host name.
My host name (WOLTEST) does not show up in any of the Win network ...
2
votes
1
answer
2k
views
Can't connect to samba using openVPN
I'm fairly new to using VPN.
For a home project I'm running a OpenVPN server.
This server runs within a network 192.168.2.0 and subnet 255.255.255.0
I can connect to this net work using the ip ...
16
votes
3
answers
73k
views
How to configure Samba to allow root user for full control to the particular share?
$(subj), it appears to be what root user is denied by default for all of the shares.
I'm trying to reproduce Windows administrative share.
4
votes
2
answers
5k
views
SELinux blocking Samba directory listing
I am running Samba on a CentOS server, and I am experiencing a problem where it allows me to connect to the server and see a share, but shows the share as an empty directory. I find this behavior ...
1
vote
1
answer
5k
views
Samba35 configuration on FreeBSD 8.1 RELEASE
I'm currently trying to create a Samba share on a lightweight home network, and I'm having a bit of trouble configuring Samba 3.5.6 compiled from the ports tree.
What I'm looking for is pretty basic. ...
5
votes
3
answers
1k
views
Samba setup to request password reset on first time login
Is it possible to setup Samba to ask for password reset when the user first logs in without the need to setup a domain controller?
Would this work properly with Windows clients or with clients using ...
4
votes
4
answers
3k
views
Samba log in Guest always asked
I am trying to set samba up such that: there is one shared user account that can read-only browse one dir. I have:
changed security = share to security = user
I have commented out guest account = ...