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
0answers
48 views

Unable to join Samba ad domain in Windows Client- “DNS name does not exist.”

I have installed samba ad in ubuntu 18.04 cloud server and dns records available in that server The following error occurred when DNS was queried for the service location (SRV) resource record used to ...
0
votes
1answer
27 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. ...
0
votes
1answer
159 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 ...
1
vote
0answers
176 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 ...
0
votes
0answers
160 views

Problem joining the domain

Good evening! I have a Windows domain, and I set up a Fileserver with Ubuntu. I followed several tutorials and apparently everything is correct. When I joined my domain with the command net ads join -...
0
votes
0answers
209 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 ...
0
votes
1answer
149 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 = ...
0
votes
0answers
82 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 ...
0
votes
0answers
3k 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: $ ...
1
vote
1answer
517 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=...
0
votes
1answer
363 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 ...
0
votes
0answers
65 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 ...
0
votes
0answers
516 views

How to update Samba 4.3.11 (Ubuntu 16.04) to 4.7.6 (Ubuntu 18.04) and further to 4.11.6 (Ubuntu 20.04)?

There is a Ubuntu server 16.04 as an Active Directory controller. I need to update it or install a new AD controller and transfer domain and user data to it from the old server. After a simple ...
1
vote
0answers
136 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 ...
2
votes
0answers
2k 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 ...
0
votes
2answers
2k 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 ...
0
votes
1answer
222 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 ...
1
vote
0answers
2k 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 ...
0
votes
1answer
680 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) ...
1
vote
0answers
8k 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 ...
7
votes
1answer
10k 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....
1
vote
1answer
522 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 ...
1
vote
0answers
623 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 ...
2
votes
1answer
3k 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 ...
0
votes
0answers
553 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 ...
0
votes
1answer
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 ...
1
vote
1answer
265 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 ...
0
votes
1answer
5k 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 ...
0
votes
1answer
501 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....
2
votes
1answer
6k 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". ...
0
votes
1answer
623 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 /...
1
vote
0answers
393 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 ...
1
vote
0answers
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....
0
votes
2answers
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-...
1
vote
3answers
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 ...
0
votes
1answer
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 ...
3
votes
0answers
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:...
-1
votes
1answer
57 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?...
1
vote
1answer
1k 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 ...
1
vote
1answer
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 ...
0
votes
1answer
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 ...
5
votes
5answers
52k 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 ...
0
votes
1answer
9k 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 ...
0
votes
1answer
946 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 ...
1
vote
1answer
827 views

Samba 4 on ubuntu 14.04 broken with Posix ACL (2:4.1.6+dfsg-1ubuntu2.14.04.9)?

I have problems with a newly migrated BDC (2:4.1.6+dfsg-1ubuntu2.14.04.9) with POSIX ACL based permissions. I am unable to get it to work as the PDC, which fortunately still has a slightly older ...
2
votes
0answers
2k views

Active Directory Domain Controller Not Appearing in Network Folder

I'm having issues with my Active Directory domain controller, where my server does not show up on Network or My Network Places. I am running Samba 4.1.6-Ubuntu on Ubuntu Server 14.04.3. This issue ...
0
votes
1answer
495 views

Trusty 14.04.2 samba 4 windows xp join error

In the past year I made many installation of ad dc server with samba on ubuntu 14.04 lts server amd64. Every installation with same (or very similar) configuration with bind backend and level 2003 (...
1
vote
1answer
947 views

Ubuntu Server | Gateway: 0.0.0.0

I am trying to setup an Ubuntu Server (non-graphical). However when I try to assign a Static IP address to the device instead of the default DHCP -- the system keeps telling me that the gateway is 0.0....
1
vote
1answer
511 views

Netsend GUI tool for send and receive netsend message for `ubuntu 15.04`

Im looking for http://www.winsentmessenger.com/ kind of tool that can both send and receive netsend messages.. Only im using Ubuntu/lubuntu and the other users use widnows 7/8/8.1 pcs on the local ...
2
votes
1answer
2k views

Can't mount samba shares

I'm trying to setup some samba shares in 14.04. After defining the shares, I can connect and also list the defined shares, but when I try to mount a share, I get the error: NT_STATUS_ACCESS_DENIED (...