Displaying 13 results from an estimated 13 matches for "tdbrestor".
Did you mean:
tdbrestore
2014 Apr 15
0
User migration issues
...;s no problem, but I'd like to avoid
having to recreate the users on the new server, so far I tried this,
without much success
- scp the smb.conf to the new server
- make hot backups
cd /var/lib/samba
tdbbackup *.tdb
- scp the backups to the new server
- restore the tbd in the new server
tdbrestore account_policy.tdb < /tmp/backup_dir/account_policy.tdb.bak
tdbrestore ntdrivers.tdb < /tmp/backup_dir/ntdrivers.tdb.bak
tdbrestore ntforms.tdb < /tmp/backup_dir/ntforms.tdb.bak
tdbrestore ntprinters.tdb < /tmp/backup_dir/ntprinters.tdb.bak
tdbrestore passdb.tdb < /tmp/backu...
2015 Jul 15
2
4.2.2 as AD with 2 DCs: database incoherency
...base.
Perhaps this issue comes from the fact there was a space issue on dc00
(/var/log/samba/log.samba fulfilled /var (debug) and database is on same FS
into /var/lib/samba).
Anyway, do we have something to force databases to come back to a coherent
state?
Could we tdbdump the DB on one host then tdbrestore it on the other?
Kindly regards,
mathias
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...
2013 Jun 26
1
Trouble Building RPMS v3.6.16
...3.6.16-1.x86_64/usr/bin/tdbbackup
error: File not found: /username/rpmbuild/BUILDROOT/samba-3.6.16-1.x86_64/usr/bin/tdbtools
error: File not found: /username/rpmbuild/BUILDROOT/samba-3.6.16-1.x86_64/usr/bin/tdbdump
error: File not found: /username/rpmbuild/BUILDROOT/samba-3.6.16-1.x86_64/usr/bin/tdbrestore
I have install the tdb-tools but still get the error.
Thanks in advance for any help.
Mike
2024 Jul 17
1
dbcheck gets uncaught exception
...t; ../../librpc/ndr/ndr_sec_helper.c:329
OK I think I'm at least a small step further.
I realized that tdbbackup failed on
'DC=DOMAINDNSZONES,DC=COMPANY,DC=INTRA.ldb'
trying to restore a tdbdump failed due to a duplicate key error. I
removed that dup key row and finally was able to tdbrestore and then
tdbbackup all databases.
I created an domain offline backup via samba-tool and restored the
domain to a new system.
Trying to join a dc the restored domain now fails with
DSDB Transaction [rollback] at [Wed, 17 Jul 2024 19:14:50.831149 UTC]
duration [21734458]
{"timestamp"...
2012 Oct 15
1
samba3 to samba4 // logon hours // server role secrets.tdb, secrets.ldb
...to a samba4.
samba4 -V:
Version 4.1.0pre1-GIT-2c3a808
I used the wiki entry about samba3 migration as a guide, copied over
the data etc. but I have some questions left.
fyi - samba3 tdbsam backend. I removed/edited serveral user accounts
with Umlauts in Fullname/Displayname. (tdbdump/text editor/tdbrestore)
until all user accounts got migrated.
1. machine accounts: some machine accounts don't have Logon hours
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF what seem to be a problem.
Could I manually change fields (which fields?) in the tdbsam dump? I
tried pdbedit -Z of the specific account, but th...
2015 Jul 16
3
4.2.2 as AD with 2 DCs: database incoherency
...from the fact there was a space issue on dc00
> (/var/log/samba/log.samba fulfilled /var (debug) and database is on
> same FS into /var/lib/samba).
>
> Anyway, do we have something to force databases to come back to a
> coherent state?
> Could we tdbdump the DB on one host then tdbrestore it on the other?
>
> Kindly regards,
>
> mathias
What does 'samba-tool ldapcmp ldap://DC1 ldap://DC2 -Uadministrator' show ?
More info, see here: https://wiki.samba.org/index.php/Samba-tool_ldapcmp
Rowland
--
To unsubscribe from this list go to the following URL and read t...
2013 Apr 11
1
Pruning embedded samba 3.6 installation
...lient
1465604 usr/bin/smbcontrol
5942436 usr/bin/smbcquotas
6200476 usr/bin/smbget
5966980 usr/bin/smbpasswd
3284036 usr/bin/smbspool
1514500 usr/bin/smbstatus
4910 usr/bin/smbtar
1440736 usr/bin/smbta-util
5872800 usr/bin/smbtree
30216 usr/bin/tdbbackup
26064 usr/bin/tdbdump
30180 usr/bin/tdbrestore
34600 usr/bin/tdbtool
1444868 usr/bin/testparm
166092 usr/bin/udevadm
1024 usr/lib/auth
9476 usr/lib/auth/script.so
1024 usr/lib/charset
5356 usr/lib/charset/CP437.so
5356 usr/lib/charset/CP850.so
15 usr/lib/libtdb.so.1
87516 usr/lib/libtdb.so.1.2.9
62908 usr/lib/libwbcl...
2015 Jul 15
0
4.2.2 as AD with 2 DCs: database incoherency
...es from the fact there was a space issue on dc00
> (/var/log/samba/log.samba fulfilled /var (debug) and database is on same FS
> into /var/lib/samba).
>
> Anyway, do we have something to force databases to come back to a coherent
> state?
> Could we tdbdump the DB on one host then tdbrestore it on the other?
>
> Kindly regards,
>
> mathias
What does 'samba-tool ldapcmp ldap://DC1 ldap://DC2 -Uadministrator' show ?
More info, see here: https://wiki.samba.org/index.php/Samba-tool_ldapcmp
Rowland
2015 Jul 16
2
4.2.2 as AD with 2 DCs: database incoherency
...>>> (/var/log/samba/log.samba fulfilled /var (debug) and database is on
>>> same FS into /var/lib/samba).
>>>
>>> Anyway, do we have something to force databases to come back to a
>>> coherent state?
>>> Could we tdbdump the DB on one host then tdbrestore it on the other?
>>>
>>> Kindly regards,
>>>
>>> mathias
>>>
>> What does 'samba-tool ldapcmp ldap://DC1 ldap://DC2 -Uadministrator' show
>> ?
>>
>> More info, see here: https://wiki.samba.org/index.php/Samba-tool_ldapcmp...
2015 Jul 16
0
4.2.2 as AD with 2 DCs: database incoherency
...as a space issue on dc00
>> (/var/log/samba/log.samba fulfilled /var (debug) and database is on
>> same FS into /var/lib/samba).
>>
>> Anyway, do we have something to force databases to come back to a
>> coherent state?
>> Could we tdbdump the DB on one host then tdbrestore it on the other?
>>
>> Kindly regards,
>>
>> mathias
> What does 'samba-tool ldapcmp ldap://DC1 ldap://DC2 -Uadministrator' show ?
>
> More info, see here: https://wiki.samba.org/index.php/Samba-tool_ldapcmp
>
> Rowland
>
>
> --
> To unsub...
2015 Jun 01
1
32 bits limit?
Thank you all for these detailed answers. This size happened on DC where
the import were done. Database with Samba 4 was always significantly bigger
on this host than on the replicated ones. According to that I'll try the
dump trick which would also teach me some things : )
I'll came back after tests...
For LMDB the start seems to be there:
https://jhrozek.fedorapeople.org/sambaxp
2015 Jul 16
0
4.2.2 as AD with 2 DCs: database incoherency
...log/samba/log.samba fulfilled /var (debug) and database is on
>>>> same FS into /var/lib/samba).
>>>>
>>>> Anyway, do we have something to force databases to come back to a
>>>> coherent state?
>>>> Could we tdbdump the DB on one host then tdbrestore it on the other?
>>>>
>>>> Kindly regards,
>>>>
>>>> mathias
>>>>
>>> What does 'samba-tool ldapcmp ldap://DC1 ldap://DC2 -Uadministrator' show
>>> ?
>>>
>>> More info, see here: https://wiki.sa...