search for: dbchecker

Displaying 20 results from an estimated 103 matches for "dbchecker".

2017 Mar 30
4
possible memory leak in ldb module while dbcheck on RODC
An embedded and charset-unspecified text was scrubbed... Name: memory_profiler.txt URL: <http://lists.samba.org/pipermail/samba/attachments/20170330/f5d10ac9/memory_profiler.txt>
2018 Sep 16
1
After updating
.../site-packages/samba/netcmd/__init__.py", line 177, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dbcheck.py", line 157, in run controls=controls, attrs=attrs) File "/usr/local/samba/lib/python2.7/site-packages/samba/dbchecker.py", line 221, in check_database error_count += self.check_object(object.dn, attrs=attrs) File "/usr/local/samba/lib/python2.7/site-packages/samba/dbchecker.py", line 2230, in check_object error_count += self.check_dn(obj, attrname, syntax_oid) File "/usr/local/samba/lib/pyt...
2017 Mar 31
2
possible memory leak in ldb module while dbcheck on RODC
...ng process > > starts with ~300MB and use at the end about 1,6GB of memory on test > > domain with 15000 users and 15000 groups(ntds.dit is only ~150MB). I > > tried to find out why it is increasing continuously. > > > > > > 1) I used memory_profiler and modified dbchecker.py: > > > > root at buildhost samba # git diff dbchecker.py diff --git a/dbchecker.py > > b/dbchecker.py index 032c0e7..6fe0d4d 100644 > > --- a/dbchecker.py > > +++ b/dbchecker.py > > @@ -17,6 +17,7 @@ > > # along with this program. If not, see <http:/...
2018 Nov 08
4
Error in samba-tool dbcheck after updating to samba-4.9.1
...64/python2.7/site-packages/samba/netcmd/__init__.py", line 177, in _run return self.run(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/samba/netcmd/dbcheck.py", line 157, in run controls=controls, attrs=attrs) File "/usr/lib64/python2.7/site-packages/samba/dbchecker.py", line 221, in check_database error_count += self.check_object(object.dn, attrs=attrs) File "/usr/lib64/python2.7/site-packages/samba/dbchecker.py", line 2230, in check_object error_count += self.check_dn(obj, attrname, syntax_oid) File "/usr/lib64/python2.7/site-...
2019 Jul 24
2
Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION
...nit__.py", line 185, in _run ??? return self.run(*args, **kwargs) ? File "/opt/samba/lib/python3.6/site-packages/samba/netcmd/dbcheck.py", line 141, in run ??? check_expired_tombstones=selftest_check_expired_tombstones) ? File "/opt/samba/lib/python3.6/site-packages/samba/dbchecker.py", line 221, in __init__ ??? self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0]) === samba-tool dbcheck --cross-ncs --fix --yes ERROR(<class 'KeyError'>): uncaught exception - 'No such element' ? File "/opt/samba/lib/python3.6/site-packages...
2018 Nov 08
3
Error running "samba-tool dbcheck" after going from 4.8.6 to 4.9.2
.../netcmd/__init__.py", line 177, in _run     return self.run(*args, **kwargs)   File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/dbcheck.py", line 157, in run     controls=controls, attrs=attrs)   File "/usr/local/samba/lib64/python2.7/site-packages/samba/dbchecker.py", line 222, in check_database     error_count += self.check_object(object.dn, attrs=attrs)   File "/usr/local/samba/lib64/python2.7/site-packages/samba/dbchecker.py", line 2315, in check_object     expected_dn = ldb.Dn(self.samdb, "RDN=RDN,%s" % (parent_dn)) The...
2017 Mar 31
0
possible memory leak in ldb module while dbcheck on RODC
...-ncs --fix", this running process > starts with ~300MB and use at the end about 1,6GB of memory on test domain > with 15000 users and 15000 groups(ntds.dit is only ~150MB). I tried to > find out why it is increasing continuously. > > > 1) I used memory_profiler and modified dbchecker.py: > > root at buildhost samba # git diff dbchecker.py > diff --git a/dbchecker.py b/dbchecker.py > index 032c0e7..6fe0d4d 100644 > --- a/dbchecker.py > +++ b/dbchecker.py > @@ -17,6 +17,7 @@ > # along with this program. If not, see <http://www.gnu.org/licenses/>. &...
2018 May 25
1
LDAP broken after AD DC upgrade from 4.7 to 4.8
.../python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/site-packages/samba/netcmd/dbcheck.py", line 157, in run controls=controls, attrs=attrs) File "/usr/lib/python2.7/site-packages/samba/dbchecker.py", line 218, in check_database error_count += self.check_object(object.dn, attrs=attrs) File "/usr/lib/python2.7/site-packages/samba/dbchecker.py", line 2308, in check_object self.err_missing_parent(obj) File "/usr/lib/python2.7/site-packages/samba/dbchecker....
2019 Jul 24
2
Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION
...turn self.run(*args, **kwargs) >> ? File >> "/opt/samba/lib/python3.6/site-packages/samba/netcmd/dbcheck.py", >> line 141, in run >> ??? check_expired_tombstones=selftest_check_expired_tombstones) >> ? File "/opt/samba/lib/python3.6/site-packages/samba/dbchecker.py", >> line 221, in __init__ >> ??? self.tombstoneLifetime = int(res[0]["tombstoneLifetime"][0]) > > I think this is a python 3 problem, the code around line 221 in > dbchecker is this: > > ??????? res = samdb.search(base=ntds_service_dn, > ??????????...
2016 Mar 12
4
samba-4.3.6 and talloc-2.1.6
...ion/__init__.py", line 2172, in provision skip_sysvolacl=skip_sysvolacl) File "/usr/lib64/python2.7/site-packages/samba/provision/__init__.py", line 1864, in provision_fill attrs=['defaultObjectCategory']) File "/usr/lib64/python2.7/site-packages/samba/dbchecker.py", line 138, in check_database error_count += self.check_object(object.dn, attrs=attrs) File "/usr/lib64/python2.7/site-packages/samba/dbchecker.py", line 1358, in check_object normalised = self.samdb.dsdb_normalise_attributes(self.samdb_schema, attrname, [val])...
2019 Feb 28
3
samba-tool dbcheck Unicode-Error
.../python2.7/dist-packages/samba/netcmd/__init__.py", line 177, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py", line 157, in run controls=controls, attrs=attrs) File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 222, in check_database error_count += self.check_object(object.dn, attrs=attrs) File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 2315, in check_object expected_dn = ldb.Dn(self.samdb, "RDN=RDN,%s" % (parent_dn)) ---------- As far as...
2018 Mar 14
2
samba-tool error just after samba 4.8.0 install
...cmd = self.subcommands[cmd_name] File "/usr/lib64/python2.6/site-packages/samba/netcmd/main.py", line 35, in __getitem__ fromlist=['cmd_%s' % attr]), File "/usr/lib64/python2.6/site-packages/samba/netcmd/dbcheck.py", line 28, in <module> from samba.dbchecker import dbcheck File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line 32, in <module> from samba.descriptor import get_wellknown_sds, get_diff_sds File "/usr/lib64/python2.6/site-packages/samba/descriptor.py", line 31, in <module> from samba.s...
2018 Nov 13
0
Error running "samba-tool dbcheck" after going from 4.8.6 to 4.9.2
...t; > > "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/dbcheck.py", > > > > line 157, in run > > > > controls=controls, attrs=attrs) > > > > File > > > > "/usr/local/samba/lib64/python2.7/site-packages/samba/dbchecker.py", > > > > line 222, in check_database > > > > error_count += self.check_object(object.dn, attrs=attrs) > > > > File > > > > "/usr/local/samba/lib64/python2.7/site-packages/samba/dbchecker.py", > > > > line 2315,...
2018 Oct 19
1
after samba update to 4.9 GIT issue with samba-tool dbcheck
...amba/netcmd/__init__.py", line 177, in _run     return self.run(*args, **kwargs)   File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dbcheck.py", line 157, in run     controls=controls, attrs=attrs)   File "/usr/local/samba/lib/python2.7/site-packages/samba/dbchecker.py", line 221, in check_database     error_count += self.check_object(object.dn, attrs=attrs)   File "/usr/local/samba/lib/python2.7/site-packages/samba/dbchecker.py", line 2230, in check_object     error_count += self.check_dn(obj, attrname, syntax_oid)   File "/usr/loc...
2019 Jul 24
0
Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION
Hi! After change file /opt/samba/lib/python3.6/site-packages/samba/dbchecker.py , dbcheck was ok Output log: checking 2407 objects NOTE: old (due to rename or delete) DN string component for lastKnownParent in object CN=RID Set\0ADEL:4faaeabf-54f9-4997-a2cf-a27d034ba524,CN=Deleted Objects,DC=interno,DC=xxxxxxxx,DC=com,DC=br - CN=DC-SAMBA-09,OU=Domain Controllers,DC=in...
2019 Mar 05
2
samba-tool dbcheck: UnicodeDecodeError' with Samba 4.9.4
.../netcmd/__init__.py", line 177, in _run     return self.run(*args, **kwargs)   File "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/dbcheck.py", line 157, in run     controls=controls, attrs=attrs)   File "/usr/local/samba/lib64/python2.6/site-packages/samba/dbchecker.py", line 222, in check_database     error_count += self.check_object(object.dn, attrs=attrs)   File "/usr/local/samba/lib64/python2.6/site-packages/samba/dbchecker.py", line 2315, in check_object     expected_dn = ldb.Dn(self.samdb, "RDN=RDN,%s" % (parent_dn)) Looks...
2014 Jul 24
0
Fwd: dnsdomainzone replication failure
.../netcmd/__init__.py", > line 175, in _run > return self.run(*args, **kwargs) > File "/usr/lib64/python2.6/site-packages/samba/netcmd/dbcheck.py", > line 136, in run > controls=controls, attrs=attrs) > File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line > 130, in check_database > error_count += self.check_object(object.dn, attrs=attrs) > File "/usr/lib64/python2.6/site-packages/samba/dbchecker.py", line > 1201, in check_object > normalised = > self.samdb.dsdb_normalise_attributes(self.samdb_s...
2019 Jul 24
3
Error after upgrade NT_STATUS_INTERNAL_DB_CORRUPTION
Hi, ok, now join(with samba 4.10.6) was ok, but same original error :-/ smbclient //localhost/netlogon -UAdministrator -c 'ls' Enter XXXXXXX\Administrator's password: session setup failed: NT_STATUS_INTERNAL_DB_CORRUPTION Regards; On 24/07/2019 10:17, Rowland penny via samba wrote: > On 24/07/2019 12:53, Carlos via samba wrote: >> HI >> >> As the reported
2019 Feb 28
1
samba-tool dbcheck Unicode-Error
...177, in _run >> return self.run(*args, **kwargs) >> File >> "/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py", line >> 157, in run >> controls=controls, attrs=attrs) >> File >> "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 222, >> in check_database >> error_count += self.check_object(object.dn, attrs=attrs) >> File >> "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 2315, >> in check_object >> expected_dn = ldb.Dn(self.samdb, "R...
2018 Sep 13
0
[Announce] Samba 4.9.0 Available for Download
...es/samba/netcmd/__init__.py", line 177, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/dbcheck.py", line 157, in run controls=controls, attrs=attrs) File "/usr/local/samba/lib64/python2.7/site-packages/samba/dbchecker.py", line 221, in check_database error_count += self.check_object(object.dn, attrs=attrs) File "/usr/local/samba/lib64/python2.7/site-packages/samba/dbchecker.py", line 2230, in check_object error_count += self.check_dn(obj, attrname, syntax_oid) File "/usr/local/sam...