Questions tagged [samba4]

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

41 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4 votes
0 answers
3k views

smbtree not finding my samba shares, but I can connect to shares using Mac client

I'm trying to use smbtree to view samba shares on my local network. Several of those shares are hosted on my own server, which I am running all these commands on. I know the shares exist because I can ...
almel's user avatar
  • 191
3 votes
0 answers
6k 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 ...
Dan's user avatar
  • 471
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:...
user3215433's user avatar
2 votes
0 answers
202 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 ...
enboig's user avatar
  • 21
2 votes
0 answers
2k 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 ...
tom_tom's user avatar
  • 71
2 votes
0 answers
319 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 ...
JillElaine's user avatar
2 votes
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 ...
the_meter413's user avatar
2 votes
0 answers
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 ...
Andy's user avatar
  • 21
2 votes
0 answers
727 views

Samba 4.1.6 Segfaults on 14.04 LTS

My Samba network folder disconnects on my Windows 7 boxes whenever I use Windows Explorer to open a file. The folder icons grey out for a minute or so, before becoming available again. However the the ...
Stham's user avatar
  • 21
2 votes
1 answer
587 views

Alternative to missing samba_backup

The packaged samba-4 install does not include the samba_backup utility that normally comes with the source code install. Is it included in some other package? Is there an alternative solution that ...
user311381's user avatar
2 votes
0 answers
438 views

How do I Access Shared Files on a Samba Domain Controller from Win 7?

I set up a Ubuntu 14.04 Server as a domain controller. A Windows 7 client can join the domain, show the Samba shared directories in the network but cannot open any of them except the user's home ...
California Ken's user avatar
1 vote
1 answer
749 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) ...
MathieuO's user avatar
1 vote
0 answers
13k 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: $ ...
Kraus's user avatar
  • 41
1 vote
1 answer
2k 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=...
Makdumul Islam's user avatar
1 vote
1 answer
4k 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 ...
carvio's user avatar
  • 11
1 vote
0 answers
13k 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 ...
user7391836's user avatar
1 vote
1 answer
1k 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 ...
Peter's user avatar
  • 203
1 vote
0 answers
723 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 ...
Peter's user avatar
  • 203
1 vote
0 answers
426 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 ...
NickT's 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....
icebolt's user avatar
  • 21
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 ...
Carlos Alonso's user avatar
1 vote
1 answer
905 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 ...
sba's user avatar
  • 131
1 vote
1 answer
1k 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....
dlundy1's user avatar
  • 181
1 vote
3 answers
2k views

Why does "hostname -d" gives different output than domainname?

I have joined an Ubuntu 14.04 machine to domain using samba 4 but auth is not working. Look what I get: # net ads keytab create -U 'admin' Enter admin's password: ads_get_dnshostname: No dNSHostName ...
Theodotos Andreou's user avatar
1 vote
1 answer
240 views

unable to access windows files in ubuntu

am unable to access windows server (2008) files and folder in ubuntu 12.04 server I have installed samba client package
user263850's user avatar
0 votes
0 answers
84 views

Weird behaviour smb.conf create mask

I have set up a samba share to connect with windows 11. I tried to change the default permissions to -RW-RW---- with create mask = 0660 But i get -RW-R-----. When i try create mask = 0460 i get -R--RW-...
rankzy's user avatar
  • 1
0 votes
0 answers
84 views

samba-tool used to link a gpo to an ou

I have an ubuntu 22.04 server set up as an ADC to server 8 windows10 clients. It is called Server02.shop02.wood.store. I have gpos to control the clients Typical gpo in Group Policy Objects is "...
Nealt's user avatar
  • 63
0 votes
0 answers
77 views

Samba sharing problem

Hi I installed ubuntu mate (Life) version as a LTSP server. My problem is when I share a folder from my desktop or anywhere else it gives me an error message: "Failed to mount windows share: ...
Amjad Ali's user avatar
0 votes
0 answers
204 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 ...
MSJ's user avatar
  • 11
0 votes
1 answer
98 views

Samba server stopped working after changed hd

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 ...
Francisco's user avatar
0 votes
1 answer
522 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. ...
pallago's user avatar
  • 121
0 votes
0 answers
412 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 ...
bedanizer's user avatar
0 votes
1 answer
384 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 = ...
bedanizer's user avatar
0 votes
0 answers
252 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 ...
bedanizer's user avatar
0 votes
0 answers
383 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 ...
Gopipuli's user avatar
  • 143
0 votes
1 answer
392 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 ...
Attinder Singh's user avatar
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) ...
grasp's user avatar
  • 26
0 votes
0 answers
790 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 ...
cmwarre's user avatar
  • 13
0 votes
1 answer
597 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....
Ahmed Reda's user avatar
0 votes
1 answer
537 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 (...
Alfredo Marchini's user avatar
-1 votes
1 answer
241 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?
ALec122's user avatar