Displaying 20 results from an estimated 8000 matches similar to: "samba-4.10.15 - Unable to demote secodary DC"
2020 Jul 09
1
DC replications of FreeBSD samba-4.10.15
Following the wiki replication guide precisely I got to this step.
[root at smb4-2 ~ (master)]# rsync -XAavz --delete-after
smb4-1.brockley.harte-lyne.ca:/var/db/samba4/sysvol/ /var/db/samba4/sysvol/
receiving file list ... done
./
brockley.harte-lyne.ca/
. . .
brockley.harte-lyne.ca/scripts/
sent 142 bytes received 1,683 bytes 3,650.00 bytes/sec
total size is 182 speedup is 0.10
[root at
2020 Jul 07
0
How to delete an unwanted NS record
On 07/07/2020 20:00, James B. Byrne via samba wrote:
> I have this on the DC smb4-1.brockley.harte-lyne.ca:
>
> samba-tool dns query localhost brockley.harte-lyne.ca brockley.harte-lyne.ca
> ALL -U administrator
> Password for [BROCKLEY\administrator]:
> Name=, Records=6, Children=0
> SOA: serial=7, refresh=900, retry=600, expire=86400, minttl=3600,
>
2020 Jul 23
2
samba-tool domain backup offline stalls
On Wed, July 22, 2020 14:48, Rowland penny wrote:
> On 22/07/2020 19:40, James B. Byrne via samba wrote:
>>
>> On Wed, July 22, 2020 12:35, James B. Byrne wrote:
>>> FreeBSD-12.1p7 jail running Samba-4.10.15 on ZFS.
>>>
>>> When I run 'samba-tool domain backup offline targetdir=/tmp' I see this:
>>>
>>> running backup on dirs:
2020 Jul 08
0
How to delete an unwanted NS record
On 07.07.2020 22:14, Mani Wieser via samba wrote:
>
> On 07.07.2020 21:14, Rowland penny via samba wrote:
>> On 07/07/2020 20:00, James B. Byrne via samba wrote:
>>> I have this on the DC smb4-1.brockley.harte-lyne.ca:
>>>
>>> samba-tool dns query localhost brockley.harte-lyne.ca
>>> brockley.harte-lyne.ca
>>> ALL -U administrator
2020 Jul 07
2
How to delete an unwanted NS record
I have this on the DC smb4-1.brockley.harte-lyne.ca:
samba-tool dns query localhost brockley.harte-lyne.ca brockley.harte-lyne.ca
ALL -U administrator
Password for [BROCKLEY\administrator]:
Name=, Records=6, Children=0
SOA: serial=7, refresh=900, retry=600, expire=86400, minttl=3600,
ns=SMB4-1.brockley.harte-lyne.ca., email=support.harte-lyne.ca.
(flags=600000f0, serial=110, ttl=3600)
2020 Jul 07
2
How to delete an unwanted NS record
On 07.07.2020 21:14, Rowland penny via samba wrote:
> On 07/07/2020 20:00, James B. Byrne via samba wrote:
>> I have this on the DC smb4-1.brockley.harte-lyne.ca:
>>
>> samba-tool dns query localhost brockley.harte-lyne.ca
>> brockley.harte-lyne.ca
>> ALL -U administrator
>> Password for [BROCKLEY\administrator]:
>> ?? Name=, Records=6, Children=0
2020 Jul 22
1
samba-tool domain backup offline fails
On FreeBSD-12.1p7 running Samba-4.10.15 I have a working test AD domain. While
samba_server is confirmed stopped the 'samba-tool domain backup offline'
command gives the following error:
[root at smb4-1c-testfmso ~ (master)]# hostname
smb4-1.brockley.harte-lyne.ca
[root at smb4-1c-testfmso ~ (master)]# samba-tool domain backup offline
--targetdir=/tmp
ERROR(<class
2020 Jun 04
1
Samba-4.11 AD DC provisioning fails
I decided to restart the provisioning process. I stopped the samba_server,
deleted /usr/local/etc/smb4.conf and /var/db/samba4. I then decided to do an
interactive provisioning and this is the result:
[root at smb4-1 ~ (master)]# ll /var/samba4 ; ll /usr/local/etc/smb4.conf
ls: /var/samba4: No such file or directory
ls: /usr/local/etc/smb4.conf: No such file or directory
[root at smb4-1 ~
2020 Jul 08
1
How to delete an unwanted NS record
On Wed Jul 8 13:46:41 UTC 2020, Rowland penny wrote:
>
> This is because it is an 'A' record and not an 'NS' record.
samba-tool dns delete localhost brockley.harte-lyne.ca brockley.harte-lyne.ca.
A 192.168.216.162 -U administrator
Password for [BROCKLEY\administrator]:
ERROR(runtime): uncaught exception - (9701,
'WERR_DNS_ERROR_RECORD_DOES_NOT_EXIST')
File
2020 Jun 03
1
Samba-4.11 AD DC dnsupdate fails
FreeBSd-12.1p5
Samab-4.11
py37-dnspython-1.16.0
python37-3.7.7
I am seeing a recurring error relating to dns updates. I ran:
samba_dnsupdate --verbose
I see this result:
Calling samba-tool dns add -k no -P ['192.168.216.166',
'brockley.harte-lyne.ca',
'_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones', 'SRV',
2020 Jul 08
2
How to delete an unwanted NS record
Wed Jul 8 16:09:19 UTC 2020, Rowland penny wrote:
> No, it is '@' for the name, not 'brockley.harte-lyne.ca'
Previously I had tried that as well with similar results as shown below:
[root at smb4-1 ~ (master)]# samba-tool dns help delete
Usage: samba-tool dns delete <server> <zone> <name>
<A|AAAA|PTR|CNAME|NS|MX|SRV|TXT> <data>
[root at smb4-1
2020 Jul 08
6
How to delete an unwanted NS record
On Wed, July 8, 2020 04:23, Rowland penny wrote:
> On 08/07/2020 08:50, Mani Wieser via samba wrote:
>>
>> On 07.07.2020 22:14, Mani Wieser via samba wrote:
>> Found it (while having my morning walk with the dog): same as with
>> SOA: this is a zone/domain thing and not record
>>
>> Usage: samba-tool dns delete <server> <zone> <name>
2020 Aug 21
3
Problem with secondary DC
On Thu, August 20, 2020 16:14, Rowland penny wrote:
> On 20/08/2020 20:40, James B. Byrne via samba wrote:
>> FreeBSd-12.1p8
>> Samba-4.10.15
>>
>>
>> I have this problem:
>>
>> samba-tool dbcheck --cross-ncs
>> Searching for dsServiceName in rootDSE failed: operations error at
>> ../../source4/dsdb/samdb/ldb_modules/rootdse.c:518
>>
2020 Jul 13
5
DC replications of FreeBSD samba-4.10.15
On Sat, July 11, 2020 04:32, Andrea Venturoli wrote:
> On 2020-07-10 14:47, James B. Byrne wrote:
>> FreeBSD-12.1p6 IOCage thick jails on ZFS, samba-4.10.15:
>
> Can you post the smb.conf of both DCs?
>
> Just out of curiosity, are you also using vfs_zfsacl?
Yes.
smb.confs DC1 and DC2:
/zroot/iocage/jails/smb4-1a/root/usr/local/etc/smb4.conf
[root at vhost04 ~ (master)]#
2020 Jun 30
3
samab-4.10 nsupdate
I have a dc configured to use the samba internal dns service. The version of
samba I am using is 4.10.15 packaged for FreeBSD. Its build options state
this:
BIND911 : off
BIND916 : off
, , ,
GSSAPI_BUILTIN : on
GSSAPI_MIT : off
LDAP : on
. . .
NSUPDATE : off
My smb4.conf file contains this:
[global]
bind interfaces only = Yes
dns forwarder =
2020 Aug 13
0
Failed to find our own NTDS Settings DN in the ldb!
FreeBSD-12.1p7
Samba-4.10.15
I attempted (and failed) to restart the second DC on a test domain and got this
error in smbd.log
Failed to find our own NTDS Settings DN in the ldb!
[root at smb4-1 ~ (master)]# host -t A smb4-1.brockley.harte-lyne.ca
smb4-1.brockley.harte-lyne.ca has address 192.168.18.161
[root at smb4-1 ~ (master)]# host -t A smb4-2.brockley.harte-lyne.ca
2020 Jul 03
0
samab-4.10 nsupdate
I changed the entries in smb4.conf (smb.conf) to this:
[global]
. . .
dns update command = /usr/local/sbin/samba_dnsupdate
nsupdate command = /usr/local/bin/samba-nsupdate -d -g
And this is what results when I run: samba_dnsupdate --verbose -d8 --all-names
. . .
update(nsupdate): SRV
_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones.brockley.harte-lyne.ca
2020 Jun 30
0
samab-4.10 nsupdate
> Could be because you added the wrong line to your smb4.conf (why does
> freebsd call it smb4.conf ?),
Why does freebsd put these things in /usr/local/etc/? Some questions have
answers that are not worth the effort to know.
> try:
> nsupdate command = /usr/local/sbin/nsupdate -g
I did catch that error earlier. But it makes no difference. samba_dnsupdate
does not give any
2020 Jul 02
0
samab-4.10 nsupdate
This is all the diagnostic information I can think of at the moment:
[root at smb4-1 ~ (master)]# klist
Credentials cache: FILE:/tmp/krb5cc_0
Principal: administrator at BROCKLEY.HARTE-LYNE.CA
Issued Expires Principal
Jul 2 10:35:11 2020 Jul 2 20:35:11 2020
krbtgt/BROCKLEY.HARTE-LYNE.CA at BROCKLEY.HARTE-LYNE.CA
[root at smb4-1 ~ (master)]# grep nsup
2020 Jul 13
3
DC replications of FreeBSD samba-4.10.15
On Mon, July 13, 2020 10:23, Andrea Venturoli wrote:
> On 2020-07-13 15:06, James B. Byrne wrote:
>
>>> Just out of curiosity, are you also using vfs_zfsacl?
>>
>> Yes.
>
> But only on DC1, AFAICT!
> I see no mention of it on DC2's smb.conf.
> That could be the reason why you have two different behaviour.
>
> bye
> av.
>
That appears to