Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [samba]

Samba is a free software re-implementation, originally developed by Andrew Tridgell, of the SMB/CIFS networking protocol.

1
vote
1answer
32 views

Samba and router DNS setup with custom DNS

I would like to use samba on ubuntu 16.04 as an AD DC. I use custom DNS servers (OpenDNS). How should I set the DNS settings up? (e.g. my router's address is 192.168.1.1, the server is 192.168.1.2). ...
6
votes
1answer
743 views

Samba (CIFS) mount error(9): Bad file descriptor

I had successful connections from my main workstation PC (which uses Fedora 29 Workstation) to my mother's laptop (Windows 7 HP) network share few times using mount.cifs, but since not too long it has ...
0
votes
0answers
47 views

smb refuse authentication from one of computers

From some time I'm fighting with freeNas SMB service. I make a share with access restricted to particular user. On both computers i have, when i'm trying to reach this share, login propmpt is shown. ...
0
votes
0answers
18 views

What File systems can I use with Samba VFS Shadow Copy

I have an up and running file server running a LVM managed mirrored array and Samba Version 4.5.12-Debian. I want to add some protection against accidental deletion / overwrite. The protection only ...
0
votes
0answers
30 views

Samba share gives The network path was not found

I have a problem with a samba share on a Linux server. When I try to open the share in Windows with \\server_name\share then I get an error: Windows cannot access \server_name\share Check the ...
0
votes
1answer
39 views

SMB/CIFS verify data integrity

I'm in the middle of setting up a new fileserver on my network, and can't decide which file-transfer protocol to use. Ensuring that any data transferred to/from the server isn't corrupted in transit ...
0
votes
0answers
33 views

Can't connect from any active directory Windows PC to a Samba share with IP address, only with host name

Ok, this one is a bit surreal: We have an all Windows network with Active Directory that has the domain controller server, a file server and a database server. Recently we had to add a SUSE ...
0
votes
3answers
35 views

Cannot access shared folder (samba)

I have a Linux server (Linux1) where I have already configured folders to be shared out. It runs on RHEL 7.2. The configuration of my /etc/samba/smb.conf is as follows: [sharing] path = /home/...
0
votes
0answers
29 views

Duplicate cifs mounts in df and mount command output

cifs-utils Version: 2:6.4-1ubuntu1.1 i recently changed the fqdn of my old windows file server(app.example.com) in fstab to new one(org.example.com=10.10.1.97) but when in "df -h" output i see the ...
1
vote
1answer
41 views

Odd Behavior of DNS forwarding with SRV record resolution

I'm running into a weird problem while setting up a new SAMBA AD DC on my network. I've got the DC itself up and running and checked on the server that I am able to resolve the DNS name of the server, ...
1
vote
1answer
17 views

Mount Windows share on linux host preserving ACLs

I have a debian server with some samba shares. It is joined to a Windows domain (Win 2008 R2) and the users are mapped using winbindd. Is it possible to mount a remote Windows share (situated on win7) ...
1
vote
0answers
28 views

samba: why mode of mounted file changed?

The mode of file on server is "644" but when I access through the mount, the mode is "755". I want to keep mode the same. Both server and client are ubuntu system. This is the smb.conf. [shared] ...
2
votes
1answer
49 views

“git init” via “gio mount” on samba: fatal: could not set 'core.filemode' to 'false'

I want to push my repository to a Samba share mounted via GNOME's Nautilus. I believe it uses gio mount under the hood. However, when I try to run git init in a mounted Samba share, I get the ...
0
votes
0answers
18 views

Samba unstable, goes to 100% CPU

We have upgraded Ubuntu to 16.04 and SAMBA become unstable on the same server. On high usage SAMBA use all CPU resources and stops working, never had problems before and usage didn't increased. ...
0
votes
1answer
30 views

CentOS 7.5.1804 dnsmasq starts at boot when systemd service dnsmasq is disabled

I am configuring SAMBA AD DC using SAMBA_INTERNAL DNS on CentOS 7.5.1804. For this to work nothing should listen on port *:53/tcp while samba is starting. Something in system starts dnsmasq at boot ...
0
votes
0answers
46 views

Schroedinger's Samba share accesses working and not working

I have a Samba server on CentOS 7 smb.conf [global] workgroup = WORKGROUP server string = Samba Server %v netbios name = centos security = user map to guest = bad user dns ...
0
votes
1answer
99 views

Modern transparent folder compression in Ubuntu 18.04

I'm looking for a way to transparently compress files in a directory, that will be shared over SMB. I have a server, running Ubuntu 18.04.1 LTS, and I use it for file storage. Mainly what I want to ...
-1
votes
1answer
76 views

Samba share not accessible by IP address, is by hostname

I have an Ubuntu 18.04 box with PBIS and Samba. Samba shares are accessible when using the hostname from Windows machines but not by IP address. The message when using IP address to navigate to share ...
2
votes
0answers
128 views

Zentyal 3.3 to 5.1 upgrade. Cannot access samba shares from windows

We recently upgraded our Zentyal 3.3 server to 5.1 It was an upgrade process via software updates menu. The samba version were 4.1.3 and now it's 4.6.7 After the upgrade I noticed that nobody can ...
0
votes
0answers
16 views

Do I need a samba schema in OpenLDAP just for security=user authentication?

I'd like to setup a samba file server to be accessed by Windows guests. Instead of using local user accounts and passwords, I want to use OpenLDAP for authentication (all my users already exist in ou=...
2
votes
1answer
40 views

Store data with an AD user in LDAP

I'm migrating from samba3+ldap to a samba4 domain (with samba 4.7.6-Ubuntu). Part of this migration has to be the storage of some data our services need in the user objects. (Nextcloud quota, ...
1
vote
1answer
316 views

NT_STATUS_ACCESS_DENIED listing \* - Samba Server

I'm trying to setup a CentOS 7 samba server but I just can't make some permissions work. All my files and directories are allowed only to their respective owners, e.g: drwxrwx---. 5 root setcob ...
0
votes
0answers
29 views

Can't access server my hostname anymore - Samba

I used to access my samba server(Debian) via hostname(\serversamba) and ping it too, but after I changed it to CentOS, I can't. My smb.conf is the same, so I think this is not the issue. How can I ...
0
votes
1answer
53 views

Samba server not showing up in linux nor windows

I've installed samba on a local server we have to share files across the network. It's started fine, but not showing up on the network at all. I can't even get to it by trying with the IP in linux nor ...
1
vote
1answer
168 views

From Samba to Windows - How to rebuild SYSVOL replication from scratch

I have to migrate a domain controller from Samba 4.5 to Windows Server 2016. The problem is, samba's DC implementation is not complete. It doesn't join correctly anything newer than Server 2008R2, and ...
2
votes
1answer
709 views

How can Samba be configured to use LDAP for authentication only?

I'm looking to set up a new Samba file share that uses LDAP for back-end authentication. The LDAP server is already set up, and the machine the Samba server will be on is already set up to allow SSH ...
0
votes
0answers
7 views

How Can I Determining Time for Samba Network Request Versus How It Returns a File?

Implemented Samba as a method for file sharing to some Windows servers, but a question constantly gets asked about performance. How can I break down the time it takes for Samba to first receive the ...
2
votes
0answers
37 views

Can I set up Samba so Windows clients connect to the Linux share with their AD password?

Both my Windows and Linux users authenticate with a common Active Directory (AD) username/password. Each Windows user that will mount the share, also has a Linux account on the Samba host. Can I ...
0
votes
1answer
29 views

Losing access to LAN devices when connected to a VPN

I have an ubuntu VM running on Hyper-V which connects to a VPN service. When the VM is connected to the VPN I am unable to ping / connect to the host machine. Samba mounts won't get mapped, ping ...
0
votes
1answer
19 views

mount_smbfs ignores default file and directory permissions

I mount the remote folder on my MacOS client with: mount_smbfs -d 0774 -f 0774 //user@192.168.128.48/NAS /Volumes/NAS However, newly created files are still created with the default UNIX permissions....
1
vote
1answer
135 views

Why can users delete files on Samba share when they apparently don't have permission to do so?

I'm trying to wrap my head around file permissions on a Samba share and the following puzzles me why both user1 and user2 can delete each others files even though they don't seem to have the ...
1
vote
0answers
20 views

Sharing mounted CIFS filesystem with samba to macOS users

I have a CIFS filesystem which I am trying to share over samba with macOS users. I can't directly connect to the original samba share which I'm mounting as the CIFS fs on the server as I have to ...
0
votes
1answer
50 views

Samba Secondary DC,No DNS Forwarding

I'm new to Linux and testing Samba AD DC. I've set up 2 DCs. DC1 is able to resolve google.com, DC2 is not. nslookup google.com 192.168.0.100 Server: 192.168.0.100 Address: ...
0
votes
0answers
37 views

IOS connections to Samba 4 worked for years, now authentication fails

We have samba 4.8 and 4.9 servers that are Active Directory members. Windows and other samba clients can access the shares, and for years, iOS devices worked fine with Samba 4. But a few months ago, ...
0
votes
1answer
67 views

Samba with LDAP queries the wrong sambaDomainName

I've set up Samba on Ubuntu use LDAP, but it insists on using the host name for the sambaDomainName query, instead of the configured workgroup, and so it fails to get the domain info. If I set ...
0
votes
1answer
23 views

how to add permissions with samba

i have a samba file server on ubuntu server for my windows pc and when i try to write on the shared drive it says that i need permission to do that. i have done this: sudo chown nobody:nogroup /var/...
0
votes
0answers
26 views

Can't access Samba directory from specific computer

I'm not sure if this is something related to Windows or to Samba config. When I access \server from my Windows 10, it asks for a password (it shouldn't): I put Administrator/password and it works. But ...
0
votes
2answers
107 views

How to add permissions to windows user in samba on ubuntu server

I have this samba network drive configured in ubuntu server for my windows computer and i want to make it so i can read/write but other users can not read or write to the network drive. How can i edit ...
0
votes
2answers
3k views

Samba 4.9.0 ./configure lmdb error

I'm very new to Linux and installing Samba and I'm trying to make my Centos 7 into a ADDC. However, whenever I want to configure I get the following message: Checking for lmdb >= 0.9.16 via header ...
0
votes
0answers
89 views

A very strange issue with SMB

I have a paid VLAN connection from my main office to a few other co-locations and I can access the co-locations' internal LAN network without any problems. Any resources that I desire I can access, ...
0
votes
0answers
196 views

Samba don't display group disk quota, mapped disk size and free space are wrong

Problem appeared after upgrade samba server from Debian8 (samba 4.2.14) to Debian9 (samba 4.5.12). Linux disk group quota seems working, but mapped disk displaying size and free space of all server ...
0
votes
0answers
335 views

smb 4.8.5 crash during time machine backup on ubuntu 18.04

I'm trying to set up my storage server as a time machine backup location for my macbook pro running OS X 10.13.6. I think I'm almost there. I can see the network share, log in, and start the backups. ...
0
votes
2answers
244 views

Why does Samba4 fail with NT_STATUS_INTERNAL_ERROR on Ubuntu 18.04

I am having trouble setting up Samba as an AD DC. At present I have 1 Ubuntu box which I’d like to use to share files with other computers in my home network. At present the same machine which servers ...
0
votes
0answers
79 views

CentOS 7 SAN Volume SMB Re-share Not Respecting Windows ACL's

Issue: CentOS 7 machine that is fiber connected to a SAN volume needs to re-share the SAN volume mount via SMB with proper Windows Active Directory users/groups but it does not display the ACL's. ...
2
votes
0answers
384 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 ...
0
votes
0answers
126 views

I have configured Samba file server on Centos 7 but Previous version shadow copy not available for windows 7 client

I have configured Samba file server on Centos 7 and configured vfs objects = shadow_copy2 using LVM snapshot so that windows 7 client can access Previous version shadow copy same like MS windows.But I ...
0
votes
0answers
95 views

Only IOS clients fail to authenticate to samba 4.8 shares

I have a samba 4.8 server that is an Active Directory member server. Windows and other samba clients can access its shares. But Apple IOS devices fail to authenticate. The logs on the server say ...
4
votes
1answer
2k views

Access Windows 10 Samba Share from Linux commandline with minimal SMB2

Environment: Linux X86 Server with Debian 9.3 kernel: Debian 4.9.65-3+deb9u1 smbclient: Version 4.5.12-Debian cifs-utils: 2:6.7-1 Situation: Backupserver (backuppc) has to backup a Windows 10 Home ...
0
votes
0answers
503 views

Samba ADS: Cannot contact any KDC for requested realm

I followed this Setting up Samba as an Active Directory Domain Controller - wiki and all seems fine (kinit,klist,net ads user,net ads group work). Adding users without password also works, but if I ...
0
votes
0answers
34 views

Cannot share /proc/<pid>/root in dockerized samba

I am using vs 2017 to do some development on docker container (hosted on docker toolbox with virtualbox driver) remotely. So I need to access certain headers, e.g. /usr/include. I can copy it but I ...