search for: tdbdump

Displaying 20 results from an estimated 175 matches for "tdbdump".

Did you mean: pdbdump
2019 Aug 10
2
Standalone Server User Import / Export
Am Freitag, den 09.08.2019, 13:41 +0100 schrieb Rowland penny via samba: > ayers at vmbuster:~$ sudo tdbdump samba.tdbsam-export > > { > > key(19) = "INFO/minor_version\00" > > data(4) = "\00\00\00\00" > > } > > { > > key(9) = "NEXT_RID\00" > > data(4) = "\E8\03\00\00" > > } > > { > > key(13) = "INFO/v...
2014 Dec 15
2
Strange problem with pdbedit -Lv : missing users ?
Thank you very much for your answer. It's the default, internal backend. (smbpasswd) a) If I do : tdbdump schannel_store.tdb dump | grep BWPC |grep SECRET | wc I get 95 machines (this number looks good). b) smbpasswd is a text file that looks good. c) I can also do "tdbdump secrets.tdb dump" Thanks a lot in advance for any advice, Denis Le 15.12.2014 22:00, Gaiseric Vandal a ?crit...
2011 Jan 08
2
tdbdump, tdbbackup
Do these programs still exist? They don't seem to be part of the samba3x package on RHEL5.
2019 Aug 09
2
Standalone Server User Import / Export
...CEST Password can change:??Fr, 09 Aug 2019 13:40:33 CEST Password must change: never Last bad password???: 0 Bad password count??: 0 Logon hours?????????: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF ayers at vmbuster:~$ sudo pdbedit -e tdbsam:/home/ayers/samba.tdbsam-export ayers at vmbuster:~$ sudo tdbdump samba.tdbsam-export? { key(19) = "INFO/minor_version\00" data(4) = "\00\00\00\00" } { key(9) = "NEXT_RID\00" data(4) = "\E8\03\00\00" } { key(13) = "INFO/version\00" data(4) = "\04\00\00\00" } I assume that ist not what its supposed to lo...
2019 Aug 10
0
Standalone Server User Import / Export
On 10/08/2019 06:20, David Ayers wrote: > Am Freitag, den 09.08.2019, 13:41 +0100 schrieb Rowland penny via > samba: >> ayers at vmbuster:~$ sudo tdbdump samba.tdbsam-export >>> { >>> key(19) = "INFO/minor_version\00" >>> data(4) = "\00\00\00\00" >>> } >>> { >>> key(9) = "NEXT_RID\00" >>> data(4) = "\E8\03\00\00" >>> } >>> { >&...
2014 Dec 16
2
Strange problem with pdbedit -Lv : missing users ?
...knows where pdbedit is reading the information displayed ? > > Denis > > Le 15.12.2014 23:01, Denis BUCHER a ?crit : > >> Thank you very much for your answer. >> >> It's the default, internal backend. (smbpasswd) >> >> a) If I do : >> >> tdbdump schannel_store.tdb dump | grep BWPC |grep SECRET | wc >> >> I get 95 machines (this number looks good). >> >> b) smbpasswd is a text file that looks good. >> >> c) I can also do "tdbdump secrets.tdb dump" >> >> Thanks a lot in advance for an...
2017 Aug 25
2
retrieve machine password in current Samba?
...s network that uses 802.1x authentication, in which domain joined computers use their machine credentials to connect. Windows machines do this automatically, and until recently Linux computers could join using wicd, wpa-supplicant, and a simple script that would retrieve the machine password with tdbdump. ( specifically tdbdump -k SECRETS/MACHINE_PASSWORD/DOMAIN /var/lib/samba/private/secrets.tdb ) On older machines running Samba 4.2 (Debian Jessie) tdbdump gives a working password such as this: ]f2>lOR4NA~hbv\00 where the actual password is ]f2>lOR4NA~hbv On newer machines running...
2019 Aug 09
0
Standalone Server User Import / Export
...09 Aug 2019 13:40:33 CEST > Password must change: never > Last bad password???: 0 > Bad password count??: 0 > Logon hours?????????: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF > ayers at vmbuster:~$ sudo pdbedit -e tdbsam:/home/ayers/samba.tdbsam-export > ayers at vmbuster:~$ sudo tdbdump samba.tdbsam-export > { > key(19) = "INFO/minor_version\00" > data(4) = "\00\00\00\00" > } > { > key(9) = "NEXT_RID\00" > data(4) = "\E8\03\00\00" > } > { > key(13) = "INFO/version\00" > data(4) = "\04\00\00\00&...
2014 Dec 15
3
Strange problem with pdbedit -Lv : missing users ?
Dear all, I have a very strange problem with "pdbedit -Lv" under Samba 3.3.10, a lot of users and machines are missing ! Strangely, all these missing machines and users are working perfectly well. The problem is that I need to get their SID to be able to migrate to a new server... TECHNICAL DETAILS : * Samba 3.3.10 * Number of machines : * Unix : 128 machines * pdbedit
2017 Aug 25
0
retrieve machine password in current Samba?
...uses 802.1x authentication, in which domain joined computers use their machine credentials to connect. > > > Windows machines do this automatically, and until recently Linux computers could join using wicd, wpa-supplicant, and a simple script that would retrieve the machine password with tdbdump. > > > ( specifically tdbdump -k SECRETS/MACHINE_PASSWORD/DOMAIN /var/lib/samba/private/secrets.tdb ) > > > On older machines running Samba 4.2 (Debian Jessie) tdbdump gives a working password such as this: > > > ]f2>lOR4NA~hbv\00 where the actual password is ]...
2010 Jul 08
2
How to regenerate passdb.tdb
Hi, I was having problem with the tdbsam backend in which a particular user got listed twice with pdbedit. (http://www.mail-archive.com/samba at lists.samba.org/msg109110.html) Without much hope in fixing it, I am planning to re-generating passdb.tdb on my PDC by: (1)exporting tdbsam to smbpasswd backend (2)delete passdb.tdb (3)re-import smbpasswd to tdbsam backend With the command `
2014 Dec 16
0
Strange problem with pdbedit -Lv : missing users ?
...39;t know where to search. Does someone knows where pdbedit is reading the information displayed ? Denis Le 15.12.2014 23:01, Denis BUCHER a ?crit : > Thank you very much for your answer. > > It's the default, internal backend. (smbpasswd) > > a) If I do : > > tdbdump schannel_store.tdb dump | grep BWPC |grep SECRET | wc > > I get 95 machines (this number looks good). > > b) smbpasswd is a text file that looks good. > > c) I can also do "tdbdump secrets.tdb dump" > > Thanks a lot in advance for any advice, > > De...
2004 Jun 30
1
Vampire fails
...be vampire but it fails with reference to smbtest2-domain. I can't figure out wherefrom this domain comes from. The host is smbtest2, but samba is configured to be member of domain, security is user and there is no mention of smbtest2 in /etc/samba/secrets.tdb BEFORE vampire: ---------------- # tdbdump /etc/samba/secrets.tdb { key = "SECRETS/SID/NT-DOM" data = ... } { key = "SECRETS/MACHINE_SEC_CHANNEL_TYPE/NT-DOM" etc... # net rpc vampire -S NT11 -W NT-DOM -U Administrator Cannot import users from NT-DOM at this time, as the current domain: SMBTEST2: S-1-5-21-5563936...
2009 May 11
2
secrets.tdb and Samba 3.0.28 -> 3.3.4 migration
...between Samba 3.0.X revisions, I have been able to copy the secrets.tdb file and the trust relationships with foreign domains remain established. However, this does not appear to work when moving directly from 3.0.X to the 3.3.X branch. Is there a tool available that allows us to migrate - or can tdbdump (or similar) be used to dump out data from the 3.0.X format and then be imported into the 3.3.X DB format ? If so, how ? Thank you, Patrick
2014 Dec 20
1
sysvol /etc /private replication/backup via git
Just to mention and because I'm in doubt: The samba_backup script contains tdbdump for private folder to create online dumps of all ldb. But the dumps are smaller than the original. Is that ok? I'm in doubt regarding integrity. Am 20. Dezember 2014 10:59:59 MEZ, schrieb Marc Muehlfeld <mmuehlfeld at samba.org>: >Hello Johannes, > >Am 18.12.2014 um 12:23 schrie...
2016 Oct 06
4
winbindd losing track of RFC2307 UIDs
This is what there is in winbindd_idmap.tdb of both members that i have, whewre file server 2 is working well and file server 1 lose winbind rfc track. # # FILE SERVER 1 - PROBLEM # # tdbdump winbindd_idmap.tdb { key(9) = "USER HWM\00" data(4) = "\D0\07\00\00" } { key(10) = "GROUP HWM\00" data(4) = "\D0\07\00\00" } { key(14) = "IDMAP_VERSION\00" data(4) = "\02\00\00\00" } # # FILE SERVER 2 - OK # # tdbdump winbindd_idmap.tdb...
2004 Feb 12
3
More to pdbedit -L segfault
I have recompiled pdbedit 3.0.2 with -g flag to be able to list sources from gdb when debugging pdbedit and discovered some more info but don't know how to interpret it: (gdb) frame 1 #1 0x0806c899 in init_sam_from_buffer (sampass=0x81b8c28, buf=0x81b8d78 "", buflen=208) at passdb/passdb.c:1462 1462 SAFE_FREE(domain); (gdb) print domain $8 = 0x10000 <Address
2012 Mar 21
1
IDMAP dump and restore for second server.
.... I expect a whole bunch of lines,but i get the following, we around 70 users filer01 ~ # net idmap dump dumping id mapping from /var/db/samba/winbindd_idmap.tdb GID 150004 S-1-5-11 GID 150005 S-1-5-32-546 USER HWM 150000 GID 150002 S-1-1-0 GID 150003 S-1-5-2 GROUP HWM 150006 filer01 ~ # Also a tdbdump /var/db/samba/winbind_idmap.tdb gives me a small amount of Lines. tdbdump /var/db/samba/winbindd_idmap.tdb { key(11) = "GID 150002\00" data(8) = "S-1-1-0\00" } { key(9) = "S-1-5-11\00" data(11) = "GID 150004\00" } { key(13) = "S-1-5-32-546\00" data...
2005 Nov 30
1
Modify and backup winbindd_idmap.tdb
Hello list, Is there a possibility to add entries to the winbindd_idmap.tdb manually? I know I can use tdbdump to see the entries, but is there a chance to modify? My problem is I have to map some uid to some Windows SID without using LDAP. On the other hand new user not having any uid in linux should map to the range of uid I defind by using idmap uid = 10000-20000 2nd Question: Is it possible to backu...
2014 Dec 16
0
Strange problem with pdbedit -Lv : missing users ?
...wrote: > And I must admin that I really don't know where to search. Does someone knows where pdbedit is reading the information displayed ? Denis Le 15.12.2014 23:01, Denis BUCHER a ?crit : Thank you very much for your answer. It's the default, internal backend. (smbpasswd) a) If I do : tdbdump schannel_store.tdb dump | grep BWPC |grep SECRET | wc I get 95 machines (this number looks good). b) smbpasswd is a text file that looks good. c) I can also do "tdbdump secrets.tdb dump" Thanks a lot in advance for any advice, Denis Le 15.12.2014 22:00, Gaiseric Vandal a ?crit : What is t...