similar to: Can I restore a Samba instance from an rsync backup?

Displaying 20 results from an estimated 10000 matches similar to: "Can I restore a Samba instance from an rsync backup?"

2017 Aug 26
2
DC Upgrade from 4.1.7 to 4.6.7
> -----Message d'origine----- > De : samba [mailto:samba-bounces at lists.samba.org] De la part de Rowland > Penny via samba > Envoyé : samedi 26 août 2017 12:00 > À : samba at lists.samba.org > Objet : Re: [Samba] DC Upgrade from 4.1.7 to 4.6.7 > ... > On Sat, 26 Aug 2017 11:28:00 +0400 > > Hi, > > > > I have begun to add a new 4.6.7 DC (following
2018 Mar 12
1
Problem with data base after abnormal shutdown
Hello; last week the power (energy) of the servers fail and it shutdown all. When the power restart in the check I find that the samba4 AD DC have problems. It work, but the users in some of the container or OU dissapear, I mean, when I check with the RSAT the OU in with the user most be, is empty When I try to run # samba-tool dbcheck this is what I have: [root at gtmad ~]# samba-tool
2017 Aug 26
2
DC Upgrade from 4.1.7 to 4.6.7
> -----Message d'origine----- > De : Andrew Bartlett [mailto:abartlet at samba.org] > Envoyé : samedi 26 août 2017 12:40 > À : HB; samba at lists.samba.org > Objet : Re: [Samba] DC Upgrade from 4.1.7 to 4.6.7 > > On Sat, 2017-08-26 at 12:32 +0400, HB via samba wrote: > > > > > Here is the output of samba-tool dbcheck : > > # samba-tool dbcheck >
2017 Aug 26
0
DC Upgrade from 4.1.7 to 4.6.7
On Sat, 2017-08-26 at 12:32 +0400, HB via samba wrote: > > > Here is the output of samba-tool dbcheck : > # samba-tool dbcheck > Checking 1791 objects > ltdb: tdb(/usr/local/samba/private/sam.ldb.d/DC%3DDOMAINDNSZONES,DC%3DCIRAD-REUNION,DC%3DCIRAD,DC%3DFR.ldb): tdb_rec_read bad magic 0xd9fee666 at offset=1115322096 > > ltdb:
2017 Aug 26
0
DC Upgrade from 4.1.7 to 4.6.7
On Sat, 2017-08-26 at 13:46 +0400, HB via samba wrote: > > -----Message d'origine----- > > De : Andrew Bartlett [mailto:abartlet at samba.org] > > Envoyé : samedi 26 août 2017 12:40 > > À : HB; samba at lists.samba.org > > Objet : Re: [Samba] DC Upgrade from 4.1.7 to 4.6.7 > > > > On Sat, 2017-08-26 at 12:32 +0400, HB via samba wrote: > > >
2014 Jul 07
0
corrupt sam.ldb on a dc
Hi all, On one of my two (sernet 4.1.7) domain controllers, I seem to have a corrupt sam database: root at dc1:~# samba-tool dbcheck --cross-ncs ltdb: tdb(/var/lib/samba/private/sam.ldb.d/DC=DOMAINDNSZONES,DC=SAMBA,DC=COMPANY,DC=COM.ldb): tdb_rec_read bad magic 0x198 at offset=1044437120 ERROR(ldb): uncaught exception - Indexed and full searches both failed! File
2016 Oct 02
3
GID mappings of built-in groups when addin additional dc
On Sun, 2 Oct 2016 11:45:15 +0200 Achim Gottinger via samba <samba at lists.samba.org> wrote: > > > Am 02.10.2016 um 08:20 schrieb Trenta sis via samba: > > Hi, > > > > I have a samba 4.4.5 AD domain and is working perfect, but now I > > need to add a second samba 4 AD, I have found that in > >
2016 Oct 02
1
GID mappings of built-in groups when addin additional dc
Am 02.10.2016 um 12:44 schrieb Achim Gottinger via samba: > > > Am 02.10.2016 um 12:24 schrieb Rowland Penny via samba: >> On Sun, 2 Oct 2016 11:45:15 +0200 >> Achim Gottinger via samba <samba at lists.samba.org> wrote: >> >>> >>> Am 02.10.2016 um 08:20 schrieb Trenta sis via samba: >>>> Hi, >>>> >>>> I have a
2016 Oct 02
5
GID mappings of built-in groups when addin additional dc
Hi, I have a samba 4.4.5 AD domain and is working perfect, but now I need to add a second samba 4 AD, I have found that in https://wiki.samba.org/index.php/Join_an_additional_Samba_DC_to_an_existing_Active_Directory is detailed the correct steps, my question is about step related with winbind (tdbbackup) builtin groups, appears a message "*NOTE: Only do this if you are running a version of
2020 Feb 06
2
ldb errors after upgrade, cause?
L.P.H. van Belle via samba writes: > Is samba-dsdb-modules installed ? Yes, I checked again, and all packages are installed, all of them with the proper version, and no leftovers. This server works fine for a half a day, and then these errors happen, so I think it's unlikely that it's related to the install itself. I have already made a backup of all tdb files with tdbbackup and
2018 Jul 31
2
samba-tool dbcheck "Indexed and full searches both failed"
On Tue, 31 Jul 2018 07:37:38 -0500 Denis Morejon via samba <samba at lists.samba.org> wrote: > Hi: > > I have two samba 4.7.4 DCs. One of them has problems. I can not use > samba-tool on it. Then, when I try to fix It's database It returns: > > ------------------------------------------------------------------------------------------------------------------- >
2018 Jan 11
2
Sysvolreset
Hello, copying idmap is fairly straightforward. 1) on your first DC (that one that has PDC FSMO, and is the source for rsync) create backup of idmap.ldb tdbbackup -s .bak /path/to/samba/private/idmap.ldb it will create idmap.ldb.bak 2) stop samba service on second DC 3) copy idmap.ldb.bak from first dc to second dc, lose the .bak suffix and just copy it over idmap.ldb on second dc 4)
2012 Jun 06
2
Restore tdbbackup files?
Hi Samba 3.5.10 centos 5.x. I can backup with tdbbackup, read samba doc but haven't found how to restore them? Any info will appreciated, thanks!!! -- LIving the dream...
2018 Jul 31
2
Internal DNS migrate to Bind9_DLZ
On Tue, 31 Jul 2018 11:39:56 +0200 Michal <Michal67M at seznam.cz> wrote: > > /etc/named.conf > > # Global Configuration Options > > > > include "/var/lib/samba/bind-dns/named.conf"; > > > > options { > > > > dump-file "/var/named/data/cache_dump.db"; > > statistics-file
2018 Nov 08
4
Error in samba-tool dbcheck after updating to samba-4.9.1
Hello all; I use CentOS 7.5.1804 I update from samba-4.8.2 to samba-4.9.1 and finish with not errors, but when I run samba-tool dbcheck --cross-ncs I have the error: [root at gtmad ~]# samba-tool dbcheck --cross-ncs Checking 4087 objects ERROR(<type 'exceptions.UnicodeEncodeError'>): uncaught exception - 'ascii' codec can't encode character u'\xe9' in
2019 Feb 28
3
samba-tool dbcheck Unicode-Error
Hello, we have 2 DC with Sernet Samba-packages 4.9.4 if we do a "samba-tool dbcheck" we get the following error: ---------- samba-tool dbcheck Checking 1631 objects ERROR(<type 'exceptions.UnicodeDecodeError'>): uncaught exception - 'ascii' codec can't decode byte 0xc3 in position 29: ordinal not in range(128) File
2020 Feb 11
1
ldb errors after upgrade, cause?
Hi list, for future reference: we haven't been able to fix it. Upgrading to 4.9.18 didn't help, so in the end we decided to downgrade to our previous version (4.5.12) which doesn't have this problem. Hooray for tdbbackup! Thanks Louis for thinking with us. Best regards, Roel And for Google: smbd[16461]: ldb: Failure during ltdb_lock_read(): Locking error ? Busy smbd[16461]:
2018 Sep 16
1
After updating
Hello list, today I updated my samba domain to version 4.9, after everything went well, I ran the command ./samba-tool dbcheck and the error is the following, however everything else works perfect ... that could be happening???? ./samba-tool dbcheck Checking 903 objects ERROR(): uncaught exception - 'ascii' codec can't encode character u'xe1' in position 313: ordinal not in
2018 Nov 08
3
Error running "samba-tool dbcheck" after going from 4.8.6 to 4.9.2
I just tested Samba 4.9.2 on one of my DCs, previously running version 4.8.6. Immediately after install, I ran "samba-tool dbcheck" and got the following: Checking 511 objects ERROR(<type 'exceptions.UnicodeDecodeError'>): uncaught exception - 'ascii' codec can't decode byte 0xc3 in position 25: ordinal not in range(128)   File
2010 Dec 07
3
Samba4 LDAP LDB Indexes
I have a system running Samba 4 Alpha 11, and I seem to have a corrupted LDB file in my directory. (Probably the result of taking a backup without using tdbbackup). Right now, running tdbbackup on the file produces an error message similar to the following: Failed to insert into DC=WWW,DC=EXAMPLE,DC=COM.ldb.bak.tmp failed to copy DC=WWW,DC=EXAMPLE,DC=COM.ldb If I run ldbsearch -H