Displaying 20 results from an estimated 8000 matches similar to: "samba-tool domain backup online fails"
2020 May 05
0
samba-tool domain backup online fails
Hello List,
now i try to use the backup command for the first time and it fails:
It claims sam.ldb.d is not empty but there should be all domain db's right?
Samba Version:
root at dc01:/var/lib/samba/private/sam.ldb.d#
<mailto:root at dc01:/var/lib/samba/private/sam.ldb.d#> samba -V
Version 4.11.8-Debian
root at dc01:/backup/linux/samba-dom# samba-tool domain backup
2023 Nov 20
2
Online Backup failed....
Full output:
root at iob-master:~# samba-tool domain backup online --server=dc01
--targetdir=/autofs/backup/linux/samba_dom/$(hostname -d) -U administrator
Password for [SAMBA\administrator]:
INFO 2023-11-20 15:30:05,639 pid:73781
/usr/lib/python3/dist-packages/samba/join.py #1614: workgroup is SAMBA
INFO 2023-11-20 15:30:05,640 pid:73781
/usr/lib/python3/dist-packages/samba/join.py #1617: realm
2023 Nov 20
1
Online Backup failed....
Hi,
here are the versions:
dc01:
Raspberry Pi 3 Model B Rev 1.2
root at dc01:~# cat /etc/debian_version
11.8
root at dc01:~# samba -V
Version 4.17.12-Debian
root at dc01:~# uname -a
Linux dc01 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64
GNU/Linux
Dc02:
Raspberry Pi 3 Model B Rev 1.2
root at dc02:~# cat /etc/debian_version
11.8
root at dc02:~# samba -V
Version
2023 Nov 20
1
Online Backup failed....
On Mon, 20 Nov 2023 15:34:19 +0100
Dirk Laurenz via samba <samba at lists.samba.org> wrote:
> Full output:
>
> root at iob-master:~# samba-tool domain backup online --server=dc01
> --targetdir=/autofs/backup/linux/samba_dom/$(hostname -d) -U
> administrator Password for [SAMBA\administrator]:
> INFO 2023-11-20 15:30:05,639 pid:73781
>
2023 Nov 20
1
Online Backup failed....
Hello everybody,
i tried "samba-tool domain backup online --server=dc01
--targetdir=/autofs/backup/linux/samba_dom/backup.tgz -U administrator"
and got this error:
ERROR(<class 'OSError'>): uncaught exception - [Errno 39] Directory not
empty: 'sam.ldb.d'
File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 185,
in _run
2023 Nov 20
4
Online Backup failed....
Hey,
dir exisit....
root at dc01:/autofs/backup# ls -la /autofs/backup/linux/samba_dom/backup.tgz/
insgesamt 12484
drwxr-xr-x 4 root root 4096 20. Nov 14:02 .
drwxr-xr-x 3 root root 4096 20. Nov 14:00 ..
-rw-r--r-- 1 root root 12765535 20. Nov 14:03
samba-backup-samba.laurenz.ws-2023-11-20T14-02-51.306281.tar.bz2
drwx------ 2 root root 4096 20. Nov 14:00 tmpdz6serc_
drwx------ 7 root
2020 Sep 14
0
DNS problems when adding samba DC to win2008R2
On 14/09/2020 21:11, Carlos Jesus wrote:
> Hi rowland thanks for the tip.
> Even though I'm trying to add a DC not a domain member, your
> instructions are easily adapted.
oops, sorry I sent you the wrong one :-[
> I followed your procedure using Louis' repo up to the point of joining
> the domain.
> Then I issued samba-tool domain join samdom.example.com
>
2020 Oct 30
1
Setting up Backup AD DC
hello
out of curiosity as I wanted to achieve this some time before - i.e. to
performing automated backup od samba domain.
now I've tried to use kerberos - for online backup (within script) I
have used:
samba-tool domain backup online --targetdir=${BACKUPDIR}
--server=${DCSERVER} --krb5-ccache=${KRB5CCNAME}
but seems this is not working as the backup process is interruped in the
middle
2019 Jun 18
1
some questsions to online backup and a failiure with offline backup
Hi,
first online backup works, but why some parts are missing?
Online:
root# samba-tool domain backup online --targetdir=/mnt/backup/online/
--server=DC -UAdministrator
Backup created 2019-Jun-18 11:04:19
Using samba-tool version: Samba 4.10.2
Domain online backup, using DC 'DOMAIN'
Backup for domain DOMAIN (NetBIOS), DOMAIN (DNS realm)
Backup contains domain secrets: True
missing
2019 Sep 03
0
Trouble joining DC Bind9_DLZ
Hi,
I'm using Samba 4.10.7 with Bind9_DLZ (9.10.3-P4-Debian), but I'm not
getting to insert a new DC into the Domain. My SO is a VM Debian 9.9.
Following is the command used and the error:
root at samba4-dc3:/var/lib/samba/private# samba-tool domain join
empresa.com.br DC -k yes --server=samba4-dc1.empresa.com.br
--dns-backend=BIND9_DLZ -d 3
INFO 2019-09-02 15:50:33,684 pid:6636
2019 Sep 03
0
Trouble joining DC Bind9_DLZ
Hi,
There is no record for the forest:
ldbsearch --cross-ncs -H /var/lib/samba/private/sam.ldb -b
'CN=MicrosoftDNS,DC=ForestDnsZones,DC=empresa,DC=com,DC=br' -s sub
'(&(objectclass=dnsZone)(dc=_msdcs.empresa.com.br))'
# returned 0 records
# 0 entries
# 0 referrals
Can I fix this?
Regards,
M?rcio Bacci
Em ter, 3 de set de 2019 ?s 06:40, Rowland penny via samba <
samba at
2019 Jul 04
3
Error samba backup 4.10.5
Hi,
We were using samba_backup from 4.4.5 and after upgrade to 4.10.5 we
are trying to configure new method, but is not working, tried:
offline with samba stopped:
# samba-tool domain backup offline --targetdir=/local/test/
INFO: Current debug levels:
all: 5
tdb: 5
printdrivers: 5
lanman: 5
smb: 5
rpc_parse: 5
rpc_srv: 5
rpc_cli: 5
passdb: 5
sam: 5
auth: 5
winbind: 5
2019 Sep 02
2
Trouble joining DC Bind9_DLZ
Hi,
I'm using Samba 4.10.7 with Bind9_DLZ (9.10.3-P4-Debian), but I'm not
getting to insert a new DC into the Domain.
Following is the command used and the error:
root at samba4-dc3:/var/lib/samba/private# samba-tool domain join
empresa.com.br DC -k yes --server=samba4-dc1.empresa.com.br
--dns-backend=BIND9_DLZ -d 3
INFO 2019-09-02 15:50:33,684 pid:6636
2019 Sep 11
0
Joining Windows 2008 Domain as DC fails 4.10 (and 4.11rc3)
On 11/09/2019 21:59, Vincent Sherwood wrote:
> Here is the full output
>
> [user at DCSAMBA4A ~]# ?samba-tool domain join MYDOMAIN ?DC
> -U"administrator at mydomain.ext" ?--server=DC2016A.mydomain.ext
> Password for [administrator at mydomain.ext]:
> INFO 2019-09-11 21:55:09,790 pid:20279
> /usr/local/samba/lib64/python3.6/site-packages/samba/join.py #1563:
>
2019 Sep 03
3
Trouble joining DC Bind9_DLZ
On 03/09/2019 10:07, Marcio Demetrio Bacci via samba wrote:
> Hi,
>
> I'm using Samba 4.10.7 with Bind9_DLZ (9.10.3-P4-Debian), but I'm not
> getting to insert a new DC into the Domain. My SO is a VM Debian 9.9.
>
> Following is the command used and the error:
>
> root at samba4-dc3:/var/lib/samba/private# samba-tool domain join
> empresa.com.br DC -k yes
2019 Aug 29
0
Problems joining station in domain
Hi,
Attempting to join the domain Bind9_DLZ error occurred again.
root at samba4-dc3:~# samba-tool domain join empresa.com.br DC -k yes --server=
samba4-dc1.empresa.com.br --dns-backend=BIND9_DLZ --verbose -d3
lpcfg_load: refreshing parameters from /etc/samba/smb.conf
GENSEC backend 'gssapi_spnego' registered
GENSEC backend 'gssapi_krb5' registered
GENSEC backend
2019 Sep 03
0
Trouble joining DC Bind9_DLZ
Hi,
samba_dnsupdate --verbose --all-names
IPs: ['192.168.1.20']
force update: A samba4-dc1.empresa.com.br 192.168.1.20
force update: NS empresa.com.br samba4-dc1.empresa.com.br
force update: NS _msdcs.empresa.com.br samba4-dc1.empresa.com.br
force update: A empresa.com.br 192.168.1.20
force update: SRV _ldap._tcp.empresa.com.br samba4-dc1.empresa.com.br 389
force update: SRV
2020 Sep 03
0
Changing IP Scope on a Samba DC
Samba seems to have provisioned OK, but kinit cannot find the realm and I
have some records missing that I don't know how to fix:
itadmin at dc01:~$ kinit administrator at INTERNAL.KCS
kinit: Cannot find KDC for realm "INTERNAL.KCS" while getting initial
credentials
itadmin at dc01:~$ host -t SRV _ldap._tcp.internal.kcs
Host _ldap._tcp.internal.kcs not found: 3(NXDOMAIN)
itadmin at
2023 May 11
1
Usage of '--domain-guid' parameter of 'samba-tool domain provision'
Hello,
I was hoping to reprovision the same domain by specifying the domain
GUID in the command line tool 'samba-tool domain provision' but I am not
sure if I missed something or if there is a bug but the specified domain
GUID is not the one which is created for my domain.
Specifying the domain SID seems to work as I would expect.
I tested it with Samba shipped by Debian 11 (samba2
2019 Apr 05
0
Make/Build Error on armhf
Hi Dirk.
Ok, now im ready with the debian packages for 4.10, this could make your life more easy.
I've not tested this but should work, you could try this.
Install a debian 9 server as minimal as possible, so choose expert install, only install ssh server, nothing else.
Now in this order, start building the armhf samba 4.10 packages
This should be easy todo now since i've match the