search for: ltdb

Displaying 20 results from an estimated 65 matches for "ltdb".

Did you mean: ltd
2017 Aug 26
2
DC Upgrade from 4.1.7 to 4.6.7
...I am aware, there have been a lot of changes between the versions, > but the underlying database hasn't changed. > Have you tried running 'samba-tool dbcheck' ? > > Rowland Hi Rowland, 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: tdb(/usr/local/samba/private/sam.ldb.d/DC%3DDOMAINDNSZONES,DC%3DCIRAD-REUNION,DC%3DCIRAD,DC%3DFR.ldb): tdb_rec_read bad magic 0xd9fee...
2010 Jun 07
1
PAM ISSUE (auth-worker)
...bird, indicating that the client is not authenticated with the server. Ie the username and password dialogue constantly reappears. This only appears as more users logged into the system. TEMP FIX: Restart Dovecot. LOG FILES Mail.err Jun 7 15:23:07 mail dovecot: auth-worker(default): ltdb: tdb(/var/lib/samba/group_mapping.ldb): tdb_mmap failed for size 77824 (Cannot allocate memory) Jun 7 15:23:10 mail dovecot: auth(default): worker-server(shepherb,81.152.245.13): Aborted: Worker process died unexpectedly Jun 7 15:23:10 mail dovecot: child 4268 (auth-worker) killed with signal...
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
2017 Aug 26
2
DC Upgrade from 4.1.7 to 4.6.7
...gt; À : 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 > > Checking 1791 objects > > ltdb: > > > tdb(/usr/local/samba/private/sam.ldb.d/DC%3DDOMAINDNSZONES,DC%3D > CIRAD- > > REUNION,DC%3DCIRAD,DC%3DFR.ldb): tdb_rec_read bad magic > 0xd9fee666 at > > offset=1115322096 > > > > ltdb: > > > tdb(/usr/local/samba/private/sam.ldb.d/DC%3DDOMAINDN...
2018 Jul 31
2
samba-tool dbcheck "Indexed and full searches both failed"
...t; samba-tool on it. Then, when I try to fix It's database It returns: > > ------------------------------------------------------------------------------------------------------------------- > root at zentyal1:/usr/lib/cgi-bin/account_operator# samba-tool dbcheck > --fix > > ltdb: > tdb(/usr/local/samba/private/sam.ldb.d/DC=DTCF,DC=ETECSA,DC=CU.ldb): > tdb_rec_read bad magic 0x434e5355 at offset=35404552 > > ERROR(ldb): uncaught exception - Indexed and full searches both > failed! > > -----------------------------------------------------------------...
2015 Nov 10
3
Unable to use samba-tool
...er, gecos=gecos, loginshell=login_shell) File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 343, in newuser dnsdomain = ldb.Dn(self, self.domain_dn()).canonical_str().replace("/", "") ---------------------------------------------- samba-tool user list ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open file /var/lib/samba/private/sam.ldb: Permission denied Unable to open tdb '/var/lib/samba/private/sam.ldb': Permission denied Failed to connect to 'tdb:///var/lib/samba/private/sam.ldb' with backend 'tdb': Un...
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: tdb(/usr/local/samba/private/sam.ldb.d/DC%3DDOMAINDNSZONES,DC%3DCIRAD-REUNION,DC%3DCIRAD,DC%3DFR.ldb): tdb_rec_read bad mag...
2020 Aug 15
2
password reset using admin keytab on domain member
Hi, I was wondering if it is possible to use something like samba-tool user setpassword ... -k yes on a domain member if one has kerberos tickets for an admin account. That does not seem to work for me, as the above command appears to try to write to the database directly... ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open file /var/lib/samba/private/sam.ldb: No such file or directory when executed on a domain member instead of on a DC. Thanks for any insights, Christian
2023 Mar 03
2
DomainDnsZones bad magic
I've been called back to an old workplace to try to help with some issues that they have and have found that the DomainDnsZones database is not replicating. Everything else in the replication seems to be fine. I ran a samba-tool dbcheck on the affected server and it returns: ltdb: tdb(/var/lib/samba/private/sam.ldb.d/DC=DOMAINDNSZONES,DC=MYDOMAIN,DC=MYCOMPANY.ldb): tdb_rec_read bad magic 0xd9fee666 at offset=4135368 ERROR(ldb): uncaught exception - Indexed and full searches both failed! I've tried to force sync that file from our other DC but it errors out. Can I del...
2015 Nov 10
1
Unable to use samba-tool
First don't forget to reply to Rowland, he's question has sense. samba-tool user list ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open file /var/lib/samba/private/sam.ldb: *Permission denied* --> You should have run that command with a non-root user. A root user would not face such issue as root can access all files. Perhaps you can deal with files permissions to...
2018 Mar 12
1
Problem with data base after abnormal shutdown
...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 dbcheck ltdb: tdb(/var/lib/samba/private/sam.ldb.d/DC=GTM,DC=ONAT,DC=GOB,DC=CU.ldb): tdb_rec_read bad magic 0x303038 at offset=2613200 ERROR(ldb): uncaught exception - Indexed and full searches both failed! File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _ru...
2017 May 22
4
Samba4 AD Corrupted Member
...rvers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=domain,DC=local objectGUID: 3b885301-279f-4dd7-92ce-cc6f6dfd5e34 # record 2 dn: CN=NTDS Settings,CN=AD1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=domain,DC=local objectGUID: 21a051e3-0e5c-4ffd-af1b-a7edeb348325 ltdb: tdb(/usr/local/samba/private/sam.ldb.d/DC=DOMAIN,DC=LOCAL.ldb): tdb_rec_read bad magic 0xd9fee666 at offset=250263808 search error - Indexed and full searches both failed! ---------------------------------------------------------------------------------- In my AD1 everything is ok. Do you known...
2017 Aug 26
0
DC Upgrade from 4.1.7 to 4.6.7
...: [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 > > > Checking 1791 objects > > > ltdb: > > > > > > > tdb(/usr/local/samba/private/sam.ldb.d/DC%3DDOMAINDNSZONES,DC%3D > > CIRAD- > > > REUNION,DC%3DCIRAD,DC%3DFR.ldb): tdb_rec_read bad magic > > > > 0xd9fee666 at > > > offset=1115322096 > > > > > > ltdb: &gt...
2019 Apr 02
2
Make/Build Error on armhf
...m-samba4', '-lmessages-util-samba4', '-lserver-id-db-samba4', '-ltalloc', '-lcluster-samba4', '-lreplace-samba4', '-lgenrand-samba4', '-lmsghdr-samba4', '-lsamba-debug-samba4', '-ltevent-util', '-lsamba-util', '-ltdb', '-ltdb-wrap-samba4', '-lutil-tdb-samba4', '-lsamba-hostconfig', '-ldbwrap-samba4', '-lsocket-blocking-samba4', '-lsys-rw-samba4', '-liov-buf-samba4', '-ltime-basic-samba4', '-ltevent', '-lsamba-errors', '-luti...
2019 Apr 02
2
Make/Build Error on armhf
Hello $List, just downloaded and tried to compile samba 4.10.0 an raspbian stretch which ends in an error: [1924/4121] Compiling source3/rpc_client/rpc_transport_np.c [1925/4121] Linking bin/default/source3/libmsrpc3-samba4.so /usr/bin/ld: /install/samba-4.10.0/bin/default/source3/libutil-cmdline-samba4.so: invalid string offset 3888 >= 3489 for section `.strtab' /usr/bin/ld:
2018 Jul 31
0
samba-tool dbcheck "Indexed and full searches both failed"
...hen, when I try to fix It's database It returns: >> >> ------------------------------------------------------------------------------------------------------------------- >> root at zentyal1:/usr/lib/cgi-bin/account_operator# samba-tool dbcheck >> --fix >> >> ltdb: >> tdb(/usr/local/samba/private/sam.ldb.d/DC=DTCF,DC=ETECSA,DC=CU.ldb): >> tdb_rec_read bad magic 0x434e5355 at offset=35404552 >> >> ERROR(ldb): uncaught exception - Indexed and full searches both >> failed! >> >> -----------------------------------------...
2023 Mar 03
1
DomainDnsZones bad magic
...n called back to an old workplace to try to help with some issues > that they have and have found that the DomainDnsZones database is not > replicating. Everything else in the replication seems to be fine. > > I ran a samba-tool dbcheck on the affected server and it returns: > > ltdb: > tdb(/var/lib/samba/private/sam.ldb.d/DC=DOMAINDNSZONES,DC=MYDOMAIN,DC=MYCOMPANY.ldb): > tdb_rec_read bad magic 0xd9fee666 at offset=4135368 > > ERROR(ldb): uncaught exception - Indexed and full searches both failed! > > I've tried to force sync that file from our other DC...
2014 Jul 22
1
tdb_rec_read bad magic
using samba 4.1.4 syslog have alot of those in log: [2014/07/22 13:24:12.22351, 0] ../lib/ldb-samba/ldb_wrap.c:71(ldb_wrap_debug) ldb: ltdb: tdb(/usr/local/samba/private/sam.ldb.d/DC=DOMAINDNSZONES,DC=MYDOMAIN,DC=LOCAL.ldb): tdb_rec_read bad magic 0x0 at offset=516897176 Anything I can do to fix it?
2020 Feb 05
2
ldb errors after upgrade, cause?
...ie server to Debian buster, with Samba being upgraded from 4.5.12 (+dfsg-2+deb9u3) to 4.9.5 (+dfsg-5+deb10u1). A few hours later we saw these errors in syslog: smbd[26024]: [2020/02/03 11:13:13.631613, 0] ../lib/ldb-samba/ldb_wrap.c:79(ldb_wrap_debug) smbd[26024]: ldb: Failure during ltdb_lock_read(): Locking error ? Busy smbd[26024]: [2020/02/03 11:13:13.631762, 0] ../lib/ldb-samba/ldb_wrap.c:79(ldb_wrap_debug) smbd[26024]: ldb: module samba_dsdb initialization failed : Operations error smbd[26024]: [2020/02/03 11:13:13.631828, 0] ../lib/ldb-samba/ldb_wrap.c:79(ldb_...
2019 Apr 02
0
Make/Build Error on armhf
...m-samba4', '-lmessages-util-samba4', '-lserver-id-db-samba4', '-ltalloc', '-lcluster-samba4', '-lreplace-samba4', '-lgenrand-samba4', '-lmsghdr-samba4', '-lsamba-debug-samba4', '-ltevent-util', '-lsamba-util', '-ltdb', '-ltdb-wrap-samba4', '-lutil-tdb-samba4', '-lsamba-hostconfig', '-ldbwrap-samba4', '-lsocket-blocking-samba4', '-lsys-rw-samba4', '-liov-buf-samba4', '-ltime-basic-samba4', '-ltevent', '-lsamba-errors', '-luti...