Questions tagged [samba4]
Questions related to samba4 a file server with ability to act as an active directory domain controller.
70
questions
0
votes
0
answers
57
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 "...
0
votes
1
answer
592
views
Samba won't join computers to domain anymore
DISCLAMER:
I'm still trying to fully learn and understand how to properly maintain a samba domain controller.
The Problem:
I had a working samba installation with AD controlle but now, just a month ...
0
votes
0
answers
71
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: ...
2
votes
0
answers
189
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
...
0
votes
0
answers
199
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 ...
-1
votes
1
answer
199
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?
-1
votes
1
answer
382
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 ...
1
vote
2
answers
22k
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 ...
1
vote
1
answer
635
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) ...
1
vote
2
answers
1k
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 ...
0
votes
1
answer
89
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 ...
0
votes
1
answer
471
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. ...
1
vote
1
answer
1k
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 ...
2
votes
0
answers
1k
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
0
answers
390
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
1
answer
362
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
0
answers
229
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 ...
1
vote
0
answers
12k
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
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=...
0
votes
1
answer
1k
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
0
answers
323
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 ...
2
votes
0
answers
301
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 ...
3
votes
0
answers
5k
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
2
answers
4k
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
1
answer
371
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
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 ...
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) ...
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 ...
8
votes
1
answer
17k
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
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 ...
1
vote
0
answers
717
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
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 ...
0
votes
0
answers
754
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
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 ...
1
vote
1
answer
457
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
1
answer
7k
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
1
answer
585
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....
3
votes
1
answer
10k
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
1
answer
924
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
0
answers
421
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
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....
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-...
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 ...
0
votes
1
answer
3k
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
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:...
-1
votes
1
answer
78
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
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 ...
1
vote
1
answer
3k
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
1
answer
5k
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
...
10
votes
5
answers
82k
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 ...