Questions tagged [smb-conf]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
0answers
27 views

I can connect to Samba server but cannot access shares

Original server was running Centos7 with a megaraid disk attached and was reachable by windows machines using samba. We saved the smb.conf file and blew away Centos7 and now installed Centos8. Copied ...
-1
votes
1answer
37 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
0answers
127 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
2answers
1k 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 ...
0
votes
0answers
37 views

Programmable smb drive

I want to be able to make a script run from smbd when writing/reading files/folder to do custom actions when editing files on the smb drive. I have no idea if this is even possible but I might as well ...
1
vote
1answer
34 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 ...
0
votes
0answers
62 views

samba problems with trailing dot

I am running Samba 4.4.16 on a Synology. I recently found out that trailing dots are a problem for folders names - at least when connecting from macOS. I had to enable "Enable VFS module to ...
2
votes
0answers
2k 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
1answer
305 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 ...
1
vote
0answers
306 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[...
0
votes
1answer
2k 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
0answers
7k 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
1answer
944 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
1answer
5k 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
2answers
1k 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 ...
1
vote
2answers
15k 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
1answer
2k 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
1answer
852 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
1answer
2k 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 ...
0
votes
1answer
7k 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
0answers
241 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
0answers
170 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
1answer
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
1answer
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
1answer
20k 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
0answers
647 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
1answer
30 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 ...
3
votes
0answers
556 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
2answers
631 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
2answers
940 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
1answer
350 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?
1
vote
1answer
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
3answers
797 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
1answer
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
1answer
7k 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
2answers
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 ...
0
votes
1answer
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 ...
14
votes
3answers
61k 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
2answers
4k 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
1answer
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
3answers
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
4answers
2k 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 = ...