Questions tagged [samba]

A free software re-implementation of the SMB/CIFS networking protocol, which provides Windows file and print services. Use this tag when your question involves Samba shares, mounts, or printers.

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

Allow NTLM Authentication after inclusion in Windows Domain

In a user session outside of domain authentication, I had NTLM authentication working for web requests sending Auth headers: WWW-Authenticate: Negotiate WWW-Authenticate: NTLM But, now I've ...
1
vote
1answer
152 views

logcheck sending smbd: pam_unix(samba:session): session opened/closed messages

Fresh Debian install. Samba standalone server. logcheck installed. Getting lots of these messages via emails, how to suppress any idea? Thanks a lot in advance. Jan 6 02:04:05 debian smbd: ...
1
vote
1answer
92 views

Linux/Windows client resolve Linux hostname on LAN

According to Debian's RPi3 image wiki, I should be able to ssh into a Raspberry-Pi, with just the hostname. I shared internet from my Debian laptop, WiFi to the a Raspberry-Pi over Ethernet, but the ...
0
votes
0answers
20 views

How to change the MAC address of a Samba share?

The MAC address associated with my samba share is null: # nmblookup -A localhost Looking up status of 127.0.0.1 HOSTNAME <00> - B <ACTIVE> HOSTNAME &...
0
votes
0answers
123 views

SAMBA 4.9 AD: Join of a new ADDC with internal DNS to a 4.2 AD with bind dns?

I've to fix this situation soon and need your advice: Environment is now: 2 old gentoos with never patched Samba AD's of the old 4.2.x generation. The DC do use the bind service as DNS and the domain ...
1
vote
3answers
702 views

Allow AD group to access samba share

On my Linux I created a samba share like this, it was working fine. [global] security = user passdb backend = tdbsam map to guest = Bad User guest account = mcms [mml-t1] path = /...
0
votes
1answer
367 views

Can't mount Samba share - “No such device or address”

I have a WiFi modem (10.1.1.1) running a Samba 1.0 file server (SHARE) and a USB flash drive connected to it. I am trying to mount the share directory to my existing local directory /mnt/smb using ...
0
votes
1answer
235 views

How can I disable “WORKGROUP\” in smbclient

I have a pretty old version of Samba Server installed on a Linux machine. Which Linux normally doesn't require "WORKGROUP" or "SAMBA" or any domain name to log in. Normal username and password should ...
1
vote
1answer
100 views

Creating a directory in Samba share from OSX client always has ACL “mask:r-x”

I've had a few shares configured in Samba 4.9.3 (Arch Linux), everything was fine. Access control was done via unix accounts and groups. Then I decided to change the running system. I set up a Time ...
1
vote
0answers
220 views

Debian Stretch: Samba Winbind Offline Logon Not working - kerberos keytab not persistent after reboot?

This is being tried onDebian stretch referred to as 9.6 in /etc/debian_version I'm in a Windows Domain environment with two 2012R2 controllers that have IDMU/Unix Attributes. Other versions of stuff:...
1
vote
1answer
95 views

Transfer files from Virtualbox guest to host in script with smbclient

I'm trying to develop a script that will run on a CentOS 7 machine, but for now I am developing it in a Virtualbox instance (also CentOS 7). The script will be handling several tasks, but the part I'm ...
-3
votes
1answer
62 views

How to setup samba conf file for read only group and read/write for a certain user in a share

I need to create a share in Linux (Fedora) and one group must have only read rights and one certain user can read/write. The rest has no access. this is part of my configuration file. How can I set ...
0
votes
1answer
431 views

samba print$ share won't allow driver upload from Windows machine

I am trying to use samba together with CUPS to share printers and their drivers for Windows machines in the network. Every time I try to upload Printer drivers from a Windows 10 machine via the ...
0
votes
1answer
1k views

Set SMB2 protocol in Samba 3.6.6

I've decided to switch to the higher version of SMB in Samba (at least 2) - mostly because of the security reasons. I've tried to add to the smb.conf in the [global] section: client min protocol = ...
2
votes
1answer
47 views

Samba is constantly writing to HDD

I'm running a Samba server on Raspbian and observing that Samba during idle periods is constantly (every minute) writing to HDD (maybe doing some journaling?) what causes the HDD to constantly spin ...
0
votes
1answer
171 views

Debian 9 - Samba - smbpasswd: error while loading shared libraries: liberrors.so.0:

I am trying to set up Samba on my Debian 9 server and using smbpasswd to set the samba user password. Unfortunately, whenever I run the command: smbpasswd -a myUsersNameHere I get the error ...
1
vote
2answers
3k views

How to check SMB connections and the dialect that is being used on linux?

I want to check the dialect version in SMB connections. On Windows, Get-SmbConnection will get it. PS C:\Windows\system32> Get-SmbConnection ServerName ShareName UserName Credential ...
1
vote
0answers
24 views

Samba not showing symbolic links [duplicate]

I am trying to use symbolic links with samba to link to a file outside the samba share directory. I've search around and have updated the config file with all the suggestions, but still no luck. ...
0
votes
1answer
515 views

Samba not starting on Ubuntu Server 16.04

can't start samba root@callserver:~# service smbd start Job for smbd.service failed because the control process exited with error code. See "systemctl status smbd.service" and "journalctl -xe" for ...
1
vote
0answers
61 views

Don't copy file owner when copying file within Samba share

I got a Samba share to which every user is allowed to access and within that share there are directories for each group set on server so it looks like this: ls -l drwsrws--- 11 root p_01 4096 2018-...
-1
votes
1answer
187 views

Unable to change home folder setting in Samba/Winbind

I'm using a Debian 8 server at work. Recently, I used Samba and Winbind to join it to the domain. This domain is managed by Active Directory on a Windows Server machine. This all works: domain users ...
1
vote
0answers
1k views

Samba can't fetch domain SID after joining AD domain

This is my scenario: I have a CentOS 7.5 server which must act as a file server and allow AD-integrated authentication for Samba access, without the need to create local users with smbpasswd. Samba ...
0
votes
1answer
3k views

Linux Mint 19 Thunar doesn't list samba shares

I am using Linux Mint 19 Xfce 64 bit, and I am connected to a network with a Samba server. But the shares are not listed in Thunar network. I can list them with smbtree but findsmb doesn't find the ...
2
votes
1answer
2k views

Debian server, auto-mount Samba share

I have a debian server where I need to auto-mount a Samba share during startup. I did the following: Added the following line to /etc/fstab: //192.168.1.1/FRITZ.NAS/WD-1600BEVExternal-01/share /...
0
votes
2answers
241 views

Merlin Asuswrt Cifs Smb Share cannot mount

After installing Merlin 380.70 on my asus router I cannot mount my USB-connected smb shares via cifs. I keep getting varying mount errors: 6 & 22 are the most common. I've tried changing the smb ...
1
vote
0answers
578 views

securing a samba server to work with windows 10 and linux at the highest possible smb protocoll with encryption

i try to build a samba server for filesharing within my network. the main goal is a samba fileshare server with two shares (one "exchange" folder for guest access, writable, one folder "cifs" only ...
1
vote
1answer
1k views

Mount an smb share with fstab vs sudo mount… problems

This works in the terminal.. sudo mount -t cifs -o username=user,password=pass //10.100.136.4/bus /media/bus This does not work in fstab on boot.. //10.100.136.4/bus /media/bus cifs username=user,...
0
votes
1answer
555 views

samba failed to start after install

I'm trying to get samba running on my box but fail to do so. after installing samba i always recieve an errormessage, some libs are missing. my environment: lsb_release -a No LSB modules are ...
4
votes
1answer
1k views

samba - permission denied when share in another users home directory

I have the two users equah and hoster on my machine. I created a samba share test1 in /home/equah, which is accessible by user equah without any problem. I also created the share test2 in /smbtest ...
0
votes
0answers
545 views

Error NT_STATUS_CONNECTION_REFUSED when accessing windows 7 guest from Centos host

Windows 7 guest : permission is set to everyone with full control share name : C:\Users\mukesh\Desktop\shared Workgoup : WORKGROUP IP: 192.168.122.1 Centos 7 : in /etc/samba/smb.conf [global] ...
3
votes
1answer
212 views

smb-share connection time increases each reboot on windows PE

We are currently developing a system that does automated BIOS updates for our computers. The system runs in Windows 10 PE booted via PXE-Boot. One of the first steps is connecting to a SMB-Share ...
0
votes
1answer
728 views

How to enable access control for CIFS mount point available for multiple users?

I have a samba server configured with multiple users. By default, mounted cifs shares only use the credentials provided at mount. Everyone who can access the mount point accesses the files as the ...
0
votes
1answer
16 views

Determine share connection based on username

I'm using a piece of hardware that is limited to the share it will connect to (annoyingly). At the moment there is absolutely nothing that I can do to get around that as the hardware isn't developed ...
1
vote
0answers
74 views

Are these SELinux messages suggestive of intrusion?

In the CentOS7 GUI, I have been seeing a smattering of messages such as: SELinux is preventing /usr/bin/smbd from getattr on the file ___. The files are for instance: /etc/default/grub /etc/rc.d/...
1
vote
1answer
41 views

Creating samba users as system users

I want to provide access to my machine to a couple of colleagues; However I want these 2 users to be able to access only my shamba share; Is it considered a good practice to add them as system users ...
-1
votes
1answer
24 views

How to install Samba on Redhat 6, getting error [closed]

I'm having trouble installing Samba (and really any other programs and services) on my Redhat 6 server. I keep getting this error: I've been having this trouble when using the yum command. So I've ...
0
votes
1answer
32 views

mount samba when a user logs in

Right now I give my users these instructions. It mounts our company samba share using fstab. sudo mkdir /mnt/simsamba echo "//atlas/data$ /mnt/simsamba cifs credentials=/root/.credentials,iocharset=...
0
votes
1answer
39 views

Is it possible/practical to use a Linux server to authenticate Windows devices?

I am from a small concern and we are currently looking into getting a server purely for authentication and saving user data's. I do not want to push software to the devices or anything like that. I ...
1
vote
1answer
284 views

samba smbstatus logging all not just current connections

using smbstatus that reports on current connections. Is there a way to save, or have, the information reported from smbstatus for ALL samba connections that have happened over some period of time? ...
2
votes
1answer
1k views

SMB protocol min max values available?

I am running Samba 3.6 in SLES 11.4. I recently added in /etc/samba/smb.conf in the [global] section the following min protocol = SMB2 max protocol = SMB2 this was done to allow communication with ...
0
votes
0answers
71 views

Samba User Accessible On Network

I am running Debian Stretch 4.9.0-6. I just configured samba. I added the following lines to the default samba.conf [global] security = user [share] comment = ZFS Samba Share path = /srv/mnt_point ...
0
votes
2answers
2k views

smbclient not able to connect to after upgrade to RHEL7

smbclient //ERERYMJF/pwiwerp_Informatica -U 'PWI.kpp.com\a121212' Above command was working fine before and not working on RHEL7. I am getting below error. SPNEGO(gse_krb5) NEG_TOKEN_INIT failed: ...
4
votes
2answers
4k views

Samba network discovery fails through file managers, but works with smbtree

In file managers (Caja, Nautilus, PCManFM, Dolphin), under Network there is an entry for Windows Network but double-clicking this brings up an empty window with 0 items. However, smbtree does list ...
1
vote
3answers
763 views

How to set the future permissions of content in folder

Let's say I am the user Alice and I have a publicly accessible folder /samba/public The permissions of the public Samba folder (/samba/public/) are nobody:nogroup and 0777. When Alice tries to copy ...
0
votes
2answers
53 views

Create samba share with only write and no read permissions

Use case I'm the only user. I have an ubuntu NAS with fulldisk encryption, and I'm trying to back up my own Windows machines to that. I want to have a USB stick that I can boot from to clone the ...
1
vote
2answers
2k views

Connect to RHEL SAMBA share without username/password on Windows

I have our smb.conf set up as below # See smb.conf.example for a more detailed config file or # read the smb.conf manpage. # Run 'testparm' to verify the config is correct after # you modified it. [...
0
votes
0answers
185 views

Samba 4.5.12 in Debian 9 keeps asking for authentication in Windows 7

I have spent at least 8 hours trying to share a user directory /home/ivan/Share, this was an easy task in Debian 8 Samba 4.2.14 but imposible in the related setup reglardless all the configurations ...
1
vote
0answers
681 views

RaspberryPi samba file transfer is extremly slow

So Im extremly confused why my samba file transfer is so slow that it is kind of unusable. It seems to be fast in the beginning and then becomes stuck or extremly slow so that it has to be reset. A ...
1
vote
0answers
40 views

Samba, winbindd and multiple home directories

My current situation is a system with an Windows AD and DC, which manage logging in to Samba. After an Upgrade of the underlieing OS from Windows Server 2008R2 to 2016, my coinfig doesn't work anymore....
2
votes
1answer
2k views

Connecting to Active Directory (possibly with winbind)

I'm trying to figure out how to integrate Linux environment authentication system to Windows server 2012, and I found a way using winbind. I've searched Google and there are several pages that ...