search for: tdbtool

Displaying 20 results from an estimated 128 matches for "tdbtool".

2008 Apr 10
1
Tdbtool in Samba 3.0.28a
Hello, I'm wondering if tdbtool is working in new samba. I have some UID's, which I have to delete but when i'm starting tdbtool, next open /usr/local/samba/var/locks/winbindd_idmap.tdb and trying to delete UID 109 for example, i get "delete failed", when I type "keys" command in tdbtool, I got all UID...
2004 May 31
1
Old domain name an't delete record with tdbtool
...and I assume it is still showing because it is still present in secrets.tdb. A "tdbdump secrets.tdb" shows (actual domain names changed): key = "SECRETS/SID/OLDNAME" data = [deleted] key = "SECRETS/SID/NEWNAME" data = [deleted] So I tried to remove the old name with tdbtool: $ tdbtool secrets.tdb tdb> delete SECRETS/SID/OLDNAME delete failed tdb> delete "SECRETS/SID/OLDNAME" delete failed tdb> Some questions: 1. Is the reason that the old domain name is showing because it is in secrets.tdb? 2. Is deleting it from secrets.tdb the right way to re...
2020 Aug 14
2
TDB database commands (TDB used by SAMBA)
...SAMBA 4.10.15 Hello everyone, Good evening/afternoon/morning. I am trying to "reuse" the TDB database to my portal, where I want to store basically 3 information: IP address , Name, TimeStamp - where IP would be the KEY and "NAME,TIMESTAMP" would be the VALUE. I am using the tdbtool to insert/store data successfully (like the example below) tdbtool myfile.tdb store "key1" "value1,value2,value3,value4" The problem is when I want to READ the information back. It brings hexadecimal code in a strange format. (see below) tdbtool myfile.tdb show "key1&quo...
2010 Mar 26
1
Can tdbtool be installed on it's own?
Hi guys, I have a Netgear ReadyNas that has Samba v3.4.5 installed on it. I'm having trouble accessing some tdb files and I'm wondering whether the app tdbtool can be installed on its own as it seems that Netgear have pulled it out. I have windows domain users who get denied access for no reason and the events aren't being caught my the standard logs. Plus Netgear force the smb.conf to auto generate and any changes I make get over written once a day....
2018 Aug 29
2
gencache.tdb size and cache flush
On Wed, Aug 29, 2018 at 03:36:23PM +0200, Peter Eriksson via samba wrote: > For what it’s worth you are not alone in seeing similar problems with Samba and gencache. > > Our site has some 110K users (university with staff & students (including former ones), and currently around 2000 active (SMB) clients connecting to 5 different Samba servers (around 400-500 clients per server).
2005 Feb 03
4
Removing printer drivers?
I have installed windows printer drivers and it worked but now I need to remove several. I have tried everything I can find but nothing will get rid of them. Using "remove" from a winxp machine in "server properties" won't work. It claims they are in use. I'm not sure what "in use" means. Nothing is printing and the drivers should be local. I've
2010 Dec 17
1
Issue in manipulating records with TDBTOOL
Hi all, I have run into an issue where I see some entries in winbindd which I would not like to be present. I have learnt that tdbtool would help me get rid of these unwanted entries, but i simply haven't been able to do anything with it. tdb> keys key 46 bytes: S-1-5-21-160935111-2493731623-2036278074-1242 key 46 bytes: S-1-5-21-160935111-2493731623-2036278074-1225 ........ ...... tdb> show S-1-5-21-160935111-24937316...
2020 Aug 17
1
TDB database commands (TDB used by SAMBA)
...rying to "reuse" the TDB database to my portal, where I want > > to store > > basically 3 information: > > > > IP address , Name, TimeStamp - where IP would be the KEY and > > "NAME,TIMESTAMP" would be the VALUE. > > > > I am using the tdbtool to insert/store data successfully (like the > > example > > below) > > > > tdbtool myfile.tdb store "key1" "value1,value2,value3,value4" > > > > The problem is when I want to READ the information back. It brings > > hexadecimal code in...
2017 Dec 04
2
gencache.tdb growing and growing and...
...s (we see smbd processes using hundreds of megabytes of RAM and up to 5GB virtual memory). Anyway, one part that seems to use over 100MB of memory is the (shared) gencache.tdb database. So I looked at what was stored inside gencache.tdb on of the busy servers and noticed that it contained: > # tdbtool gencache.tdb check > Database integrity is OK and has 495309 records > # tdbtool gencache.tdb keys | egrep IDMAP/ | wc -l > 88974 > # tdbtool gencache.tdb keys | egrep RA/ | wc -l > 406311 (The number of IDMAP records I sort of can understand - our AD server contains some 100k...
2018 Aug 02
0
tdbtool repack fails
On Thu, 2018-08-02 at 15:53 +0200, Andrej Gessel via samba wrote: > Hello list, > > I try to repack(tdbtool repack) my "dc=domain,dc=com.ldb" file: > > tdb> info > Size of file/data: 3388084000/1050098055 > Header offset/logical size: 0/3388084000 > Number of records: 669737 > Incompatible hash: no > Active/supported feature flags: 0x00000000/0x00000001 > Robust mute...
2018 Aug 02
3
tdbtool repack fails
Hello list, I try to repack(tdbtool repack) my "dc=domain,dc=com.ldb" file: tdb> info Size of file/data: 3388084000/1050098055 Header offset/logical size: 0/3388084000 Number of records: 669737 Incompatible hash: no Active/supported feature flags: 0x00000000/0x00000001 Robust mutexes locking: no Smallest/average/largest...
2005 Feb 15
1
Making nt_printer.tdb from tdbtool?
...which has a central server of configs for routers, servers and so on. The config server doesn't run any applications and so can't have Samba running on it to receive rcpclient requests. Anybody achieved anything like this? Any developer got some half-working code? We were hoping to use tdbtool or similar. Alternatively, does anybody have good documentation about what is expected in the printing tdb files? We're using Samba 2.2.2 on FreeBSD 4.various. Any help gratefully received. Regards, Jonathan. -- ______________________________________________________________________ Imagi...
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 `
2018 Aug 30
0
gencache.tdb size and cache flush
...html> I now notice that I never replied to a question I received for that post - we build our own Samba package (we do not use the ports-supplied one with FreeBSD). From that post with a samba server then had been running for a number of weeks (or months) if I remember correctly: > > # tdbtool gencache.tdb check > > Database integrity is OK and has 495309 records > > > # tdbtool gencache.tdb keys | egrep IDMAP/ | wc -l > > 88974 > > # tdbtool gencache.tdb keys | egrep RA/ | wc -l > > 406311 > > (The number of IDMAP records I sort of can under...
2016 Oct 05
3
winbindd losing track of RFC2307 UIDs
...9;d think winbindd would prefer the mapping in AD, given smb.conf > having our domain listed explicitly and 2xxx only as a > default/fallback. Or maybe I misunderstand how the idmaps work... does > the order in smb.conf matter at all? > > _Rob > > Hi Rob, You can try to use tdbtool to delete the offending key with uid 2020. https://www.samba.org/samba/docs/man/manpages-3/tdbtool.8.html I'd stop samba make an backup of winbind_idmap.tdb and give it a try. In my case deleting the mappings from idamp.tdb fixed the issue of changing uid's. achim~
2006 Feb 16
2
edited tdb... restart samba?
I had to remove reference to some printer drivers via tdbtool on ntdrivers.tdb. 1. Do I need to restart smbd and nmbd to make these changes take effect? 2. If I restart smbd and nmbd will connected users get disconnected?
2016 Oct 06
1
winbindd losing track of RFC2307 UIDs
On Wed, 5 Oct 2016, Achim Gottinger wrote: >> Hi Rob, >> >> You can try to use tdbtool to delete the offending key with uid 2020. >> https://www.samba.org/samba/docs/man/manpages-3/tdbtool.8.html >> I'd stop samba make an backup of winbind_idmap.tdb and give it a try. >> In my case deleting the mappings from idamp.tdb fixed the issue of changing >> uid...
2020 Mar 03
1
start/stop ctdb
# tdbtool /usr/local/samba/var/lib/ctdb/persistent/account_policy.tdb.0 check Database integrity is OK and has 18 records. Guess no? Am 03.03.2020 um 10:42 schrieb Ralph Boehme: > tdbtool /usr/local/samba/var/lib/ctdb/persistent/account_policy.tdb.0 check
2006 Aug 24
2
tdbtool help
Please provide me with an example on how to use this tool to change a uid of a user to what I want the uid to be. I am confused on what it thinks are keys. It has a keys command: key 11 bytes: UID 119989 key 44 bytes: S-1-5-21-54348060-1989963526-242692186-2277 key 44 bytes: S-1-5-21-54348060-1989963526-242692186-8749 key 45 bytes: S-1-5-21-54348060-1989963526-242692186-24986 But if I go
2020 Mar 03
3
start/stop ctdb
Hi, i configured a running three node CTDB SAMBA cluster (hope so). Virtual ip's are floating between the nodes after faling one of them. Im using SAMBA 4.11.6 on Ubuntu 18.04. Samba was compiled from source. I configured some systemD start/stop scripts for samba (smbd, nmbd) and winbind, also disabled them for manage via ctdb. I enabled ctdb to mange samba and winbind via this