Questions tagged [samba4]

Questions related to samba4 a file server with ability to act as an active directory domain controller.

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

Guide to setup Samba fileserver as domain member

I'm trying to set up a Samba AD DC en Samba file server to replace our aging Windows 2008R2 server. So far I've setup 2 DC's using the guide here: https://blog.ifsg.ca/2021/01/samba-4-active-directory-...
user avatar
2 votes
0 answers
38 views

samba Ubuntu client slow, Windows client fast

I have a ubuntu 20.04 server with default samba installation, and a ubuntu 20.04 client mounting the share with: //xxx.xxx.xxx/share /home/user1/share cifs username=user2,noauto,rw,users 0 0 ...
user avatar
  • 21
0 votes
0 answers
58 views

Samba 4 DNS not syncing with Windows DNS

I set up a couple of months ago a Samba 4 AD DC and in the beginning it seemed to be working good but now I am receiving that Samba 4 DNS is not resolving external DNS requests line cnn.com. It seems ...
user avatar
  • 11
-1 votes
1 answer
34 views

GroupDel Samba Share doesn't work

i tried deleting sambashare group with the following command groupdel sambashare and i later got Permission denied and cannot lock /etc/group; try again later can someone help me?
user avatar
-1 votes
1 answer
47 views

i tried disabling my remote session with this command

sudo systemctl disable xrdp $ sudo systemctl stop xrdp sudo apt purge xrdp sudo apt purge xserver-xorg-core sudo apt purge xserver-xorg-input-all sudo apt purge xorgxrdp then i had to enter my ...
user avatar
1 vote
1 answer
3k views

Troubleshooting Access Denied on SAMBA

I'm new to SAMBA, but have set up a SAMBA server on an Ubuntu 20.04 desktop, but consistently get Access Denied, when trying to map any SAMBA share from my Windows 11 laptop. How do I troubleshoot ...
user avatar
1 vote
1 answer
478 views

Ubuntu 20.04 LTS - Unattended Samba upgrade broke our setup

We are using Ubuntu 20.04 LTS on some servers, including a Samba Active Directory DC and a Samba File Server using winbind authentication. On Nov 12th, an unattended upgrade (related to USN-5142-1) ...
user avatar
1 vote
2 answers
568 views

Samba 4.13.14-Ubuntu panics when a connected macOS client reboots

Just did a fresh install of Ubuntu Server 21.10 then Samba 4.13.14-Ubuntu via: sudo apt install samba avahi-daemon Whenever a macOS client connected to Samba reboots, I get the following email: The ...
user avatar
0 votes
0 answers
61 views

Samba server stopped working after changed hd [solved]

I've had a samba server working along with 7 PC-s, 4 windows 10 and 3 ubuntu without a problem (7 different users, 7 different folders - of which one had multiples valid users. Someday, my hd stopped ...
user avatar
0 votes
1 answer
267 views

glusterfs CTDB Samba - Windows permissions ACLs

I have a testsetup consisting of two (three) nodes, 1 brick and a testshare. The files are replicating and I see the files in every node. I set up CTDB and added the cluster to the Active Directory. ...
user avatar
  • 121
0 votes
1 answer
644 views

Is “obey pam restrictions” still supposed to work in Samba 4 (Ubuntu 20.04)?

This is a re-run of this question I asked two weeks ago, which was closed because it was related to an EOL Ubuntu version. I did another install, this time on Ubuntu Server 20.04LTS, with exactly the ...
user avatar
2 votes
0 answers
798 views

Samba share setting permissions on Windows fails

I have set up a samba4 ADC by the TecMint tutorial, Create a Shared Directory on Samba AD DC and Map to Windows/Linux Clients – Part 7, on Ubuntu 16.04. It works well but when coming to configure the ...
user avatar
  • 71
0 votes
0 answers
292 views

Sysvolcheck returns error on backup DC upon each replication

I have two DCs in my Samba AD with sysvol replication via rsync set up to run every 5 minutes. On the PDC, samba-tool ntacl sysvolcheck returns no errors. On the BDC, samba-tool ntacl sysvolcheck ...
user avatar
0 votes
1 answer
268 views

On Samba DCs running on Ubuntu Server 20.04, is DNS resolution handled by by the netplan config or by resolv.conf?

Apologies if this might be a silly question. I'm reading that best practice when having two DCs in a domain is to point their DNS addresses at each other and also at themselves. So: DC1 nameservers = ...
user avatar
0 votes
0 answers
149 views

Can I configure a Samba AD with RFC2307 and join another Samba domain member with idmap RID backend?

I have a Samba AD DC that I provisioned with --rfc2307. I also have a separate Samba file server that is joined to this domain, and its smb.conf is configured with idmap_rid. So far everything works ...
user avatar
1 vote
0 answers
7k views

Samba 4 Database File sam.ldb Missing?

I am on Ubuntu Server 20.04, running Samba version 4.11.6-Ubuntu. I need to modify a Samba user account, but I am unable to open sam.ldb due to it apparently not being present. Here is the output: $ ...
user avatar
  • 41
1 vote
1 answer
1k views

How to solve "not found:(NXDOMAIN)

I install Samba in ubuntu 18.04 showing. After install samba, I test the installation by #samba-tool domain level show:(it give me the result) Domain and forest function level for domain 'DC=nassa, DC=...
user avatar
0 votes
1 answer
638 views

Samba with Windows ACLs, cannot add UNIX groups from Windows

I've just got around to setting up Samba on a fresh install of Ubuntu Server 20.04 LTS. I managed to get a share accessible from Windows 10 machines on the network. I then enabled Windows ACLs since I ...
user avatar
  • 43
0 votes
0 answers
152 views

How do I block writing text files in specific directory under a samba share?

I have samba share as follows [g_data] path = /g_data2 browsable = yes available = yes read only = no public = yes writable = yes guest ok = yes create mask = 777 directory ...
user avatar
  • 143
1 vote
0 answers
218 views

Samba timezone is UTC while Ubuntu America/Los_Angeles

Ubuntu 18.04 with Samba Version 4.7.6-Ubuntu. Ubuntu is set to correct timezone, & time synchronizes & displays as expected. But the Samba log files are timestamped with UTC while Ubuntu is ...
user avatar
2 votes
0 answers
4k views

Samba Winbindd Failing Everyday

Everyday morning on my domain controller running samba 4.7.6-ubuntu winbind fails, If I try to run the command wbinfo -u (to list all users) I get the error could not obtain winbind interface ...
user avatar
  • 451
0 votes
2 answers
3k views

Samba Client and Windows 10 Home - "NT_STATUS_LOGON_FAILURE"/"Access denied"

I'm trying to access a file share from a Windows 10 Home using a Samba client. However the following errors happen ... 1# - smbclient [root@eduardo-nb eduardo]# smbclient -L 192.168.0.5 -W WORKGROUP ...
user avatar
0 votes
1 answer
311 views

Disk un mounting after write operations on samba

I have samba file sharing enabled on Ubuntu 16.04.6 LTS on orange pi Lite 2. Drive attached to the USB 3.0 port is Samsung SSD 840 pro. Read operations are working fine but when I try to write on it ...
user avatar
1 vote
1 answer
3k views

Auto-Mounting Samba Server Shares with GUI Shortcuts

I've referenced this post, this other one, that one, this page and the man which have aided me greatly in allowing for automatic mounting of Samba shares from a remote server on my LAN to my local ...
user avatar
  • 11
0 votes
1 answer
1k views

Cannot connect to samba member server as local user a few days after AD join and SSSD

Edit: I tried to simplify the question: ========================================================================= How can I enable a local (linux/samba) user to access a samba share (member server) ...
user avatar
  • 26
1 vote
0 answers
11k views

Failed to start Samba NMB Daemon and other errors

I'm trying to set up an Ubuntu active directory domain controller with Samba. I installed Samba, and configured it using samba-tool. During system boot, I get 3 errors: [FAILED] Failed to start ...
user avatar
8 votes
1 answer
13k views

Convert /etc/network/interfaces to netplan

I'm following this tutorial for making an Ubuntu active directory domain controller with Samba. The problem I have run into, is that he is using Ubuntu Server 13.10, and I am using the latest, 18....
user avatar
1 vote
1 answer
762 views

samba schema upgrade

I'm running samba 4.3.11 on Ubuntu server Xenial. It's the only AD-DC in a windows domain that used to be hosted by a single Win2k3 server. The AD schema version is 30, the functionality level is ...
user avatar
  • 193
1 vote
0 answers
677 views

samba_backup script setup

I downloaded the corresponding script from the sources of my packaged samba version. But with the packaged samba installation, there is no /var/lib/samba/etc. Am I right, that /etc/samba should be ...
user avatar
  • 193
2 votes
1 answer
4k views

When is there a newer version of Samba 4?

Can someone tell me when Ubuntu comes with a newer version of there samba 4 package. The current version is samba 4.3.11-Ubuntu. When I look at the Samba site, this version is EOL, and already as of ...
user avatar
0 votes
0 answers
616 views

Samba Domain Member Slow Authentication

I have a Samba 4 domain controller set up with about 100 member computers connected to it on a private LAN. As I was rolling this out, I found a couple clients that were improperly configured with ...
user avatar
0 votes
1 answer
1k views

after upgrade to 17.10, Samba shares are not accessible from XP or Android

I have accessed data on my Ubuntu PC (64 bit, 17.04 Gnome) from some other devices via Samba. After upgrading to 17.10 that does not work anymore, the clients keep asking for credentials. I tried with ...
user avatar
  • 181
1 vote
1 answer
327 views

Samba4 AD DC for roaming profiles or openLDAP? which is better?

I am looking to create roaming profiles for Ubuntu client machines, about 100 machines are there. 200+ users. Is it better to use Samba4 AD DC or openLDAP ? OR should I use them in conjunction? I ...
user avatar
  • 9,616
0 votes
1 answer
6k views

AD login and smbclient login successful, but fails from Windows clients

I am able to login to Ubuntu 16.04 system using AD/LDAP authentication and access everything. However, when I configure samba to connect from windows clients, it fails. smbclient from another Ubuntu ...
user avatar
  • 9,616
0 votes
1 answer
550 views

error while installing samba 4.6.5 on ubuntu 16.04 samba/bin/asn1_compile: not found

error while installing samba 4.6.5 on Ubuntu 16.04 samba/bin/asn1_compile: not found I'm trying to install samba 4 and after clone using this command: git clone -b v4-6-stable git://git.samba....
user avatar
2 votes
1 answer
8k views

login with AD user when "winbind use default domain" not set

I have a Samba4 domain controller and have added a Ubuntu 16.04 member server to the domain. I'm using samba+winbind for this and everything appears to work. The idmap backend is setup using "ad". ...
user avatar
  • 41
0 votes
1 answer
699 views

should I worry about this "Couldn't find valid filesystem superblock" error?

I have a samba server mounted to /srv/smb. Wanted to check on the filesystem using tune2fs I ran into an error which I don't understand and wonder whether it is something to worry about $ tune2fs -l /...
user avatar
  • 461
1 vote
0 answers
416 views

Samba with RSAT permission issues

So I am trying to set up a PDC using Ubuntu17.04 and Samba4 that I can manage with Windows RSAT, and not need to do anything on the Linux side other than updates to the server and whatnot. The end ...
user avatar
  • 11
1 vote
0 answers
2k views

I can't access Samba share from Windows 10

I have Ubuntu 16.04.1. I have Samba 4. Windows writes access denied. I can reach the shared folder, but I can't access. I also tried smbclient to login and that writes: NT_STATUS_ACCESS_DENIED My smb....
user avatar
  • 21
0 votes
2 answers
3k views

Samba 4 ADDC with Bind_DLZ in Ubuntu 16.04

Is there a tutorial around that I'm missing on how to set up Bind 9.10 on Ubuntu 16.04 for integration with Samba4 ADDC? The official Samba Wiki only covers Bind 9.8 and Bind 9.9 setup. I'm at a dead-...
user avatar
  • 147
1 vote
3 answers
2k views

Problem with Samba 4.3.8

I've installed samba (v.4.3.8) in Ubuntu Server 14.04.4 and provision a domain but when I try to join a Windows Client to domain, a Network resource is not available error is shown. . Although if I ...
user avatar
0 votes
1 answer
2k views

want to access my Samba shared folder from outside my Local network

On Ubuntu Desktop 14.04 I installed Samba server and its working perfect within my Local network . Now , I need to access the file outside my network , for that I opened port 137, 138, 139 and 445 on ...
user avatar
3 votes
0 answers
1k views

Can't login with domain members on ubuntu 14.04 client joined to (samba4 -ubuntu 14.04) active directory domain

I have a samba4 server: [global] workgroup = MYWG realm = MYWG.ORG netbios name = MYWGADM server role = active directory domain controller dns forwarder = 8.8.8.8 idmap_ldb:...
user avatar
  • 31
-1 votes
1 answer
60 views

Can Samba be use for two types of servers at the same time?

I am currently setting up a server that use samba to act as a domain controller. In the meantime, I am planning to have a file server on the same machine. Will I able to use Samba as a file server too?...
user avatar
1 vote
1 answer
2k views

How to join a Ubuntu desktop client to a ubuntu server domain controller

What I want to do is to authenticate ubuntu users across the network. I have already created the domain, what I need to know is how to log in the users, save their personal settings and stuff like ...
user avatar
1 vote
1 answer
2k views

Samba Domain is same as hostname, fastest way to change?

So, I've been following this tutorial for my first ever samba Domain Controller setup. However, I wasn't really thinking straight during the process, and assigned the domain name the same as the ...
user avatar
0 votes
1 answer
4k views

Samba cannot access sub-directories [closed]

I have added this in my /etc/samba/smb.conf [srv] comment = another share path = /srv browseable = yes create mask = 0777 directory mask = 0777 [slash] comment = another sharedsad ...
user avatar
  • 411
8 votes
5 answers
68k views

Can read but cannot write to Samba share

I'm trying to set up a Samba share that is only accessible by a particular user. I'd like that user to have read/write access to all files in the share. The smb.conf file below will let me access ...
user avatar
1 vote
1 answer
10k views

Connect Windows 10 to samba share with specific linux user

I have a directory on my Ubuntu 14 box that I'd like to connect to via my Windows 10 box. I've created a new Samba user, set the new user's password, and verified that the new user has the proper ...
user avatar
0 votes
1 answer
1k views

samba4 nslcd lightdm and pam_mount

I'm stuck with my setup and hoping for some help. I've setup an AD with Samba4 and nslcd as nss both on the server and the clients. I'm aware that Samba does not recommend running the AD and ...
user avatar