Displaying 20 results from an estimated 45 matches for "check_object".
2016 Mar 12
4
samba-4.3.6 and talloc-2.1.6
...ysvolacl)
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])
File "/usr/lib64/python2.7/site-packages/samba/samdb.py", line 672,...
2019 Feb 28
3
samba-tool dbcheck Unicode-Error
...n
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 I figured out, it has something to do with german "Umlaute"
"...
2018 Nov 08
4
Error in samba-tool dbcheck after updating to samba-4.9.1
..._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-packages/samba/dbchecker.py", line 1324, in check_dn
v_dn = dsdb_D...
2018 Nov 08
3
Error running "samba-tool dbcheck" after going from 4.8.6 to 4.9.2
...**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 error disappears after going back to Samba 4.8.6. The underlying OS
is CentO...
2018 May 25
1
LDAP broken after AD DC upgrade from 4.7 to 4.8
...n
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.py", line 817,
in err_missing_parent
Funny thing is, if I do ldbsearc...
2018 Sep 16
1
After updating
...urn 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/python2.7/site-packages/samba/dbchecker.py", line 1139, in check_dn
s...
2019 Mar 05
2
samba-tool dbcheck: UnicodeDecodeError' with Samba 4.9.4
...**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 like the Unicode problem with Python 2.6.x is not yet solved.
This particul...
2014 Jul 24
0
Fwd: dnsdomainzone replication failure
...**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_schema, attrname, [val])
> File "/usr/lib64/python2.6/site-packages/samba/sam...
2019 Feb 28
1
samba-tool dbcheck Unicode-Error
...t;/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 I figured out,...
2018 Feb 06
5
Samba Migration and AD integration
...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 198, in check_database
error_count += self.check_object(object.dn, attrs=attrs)
File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 1839, in check_object
expected_dn = ldb.Dn(self.samdb, "RDN=RDN,%s" % (parent_dn))
smb.conf
[global]
netbios name = TEST
realm = TESTDC
server services = s3f...
2019 Feb 28
1
samba-tool dbcheck Unicode-Error
...ages/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))
> >>
> >> ----------
>...
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>
2014 Jul 24
0
Fwd: Re: Fwd: dnsdomainzone replication failure
...tcmd/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_schema,
>>...
2019 Jul 03
2
`samba-tool dbcheck --cross-ncs --fix` fails: governsID already exists as an attributeId or governsId
...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 198, in check_database
> error_count += self.check_object(object.dn, attrs=attrs)
> File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 1708, in check_object
> normalised = self.samdb.dsdb_normalise_attributes(self.samdb_schema, attrname, obj[attrname])
> File "/usr/lib/python2.7/dist-packages/samba/samdb.py&qu...
2018 Feb 06
1
Samba Migration and AD integration
...rgs, **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
> 198, in check_database
> error_count += self.check_object(object.dn, attrs=attrs)
> File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line
> 1839, in check_object
> expected_dn = ldb.Dn(self.samdb, "RDN=RDN,%s" % (parent_dn))
>
>
> smb.conf
>
> [global]
> netbios name = TEST
>...
2017 Mar 31
2
possible memory leak in ldb module while dbcheck on RODC
...% (obj["instanceType"], obj.dn, calculated_instancetype)) @@
> > -1541,6 +1544,7 @@ newSuperior: %s""" % (str(from_dn), str(to_rdn),
> > str(to_base)))
> >
> > raise KeyError
> >
> > + @profile(precision=4)
> > def check_object(self, dn, attrs=['*']):
> > '''check one object'''
> > if self.verbose:
> >
> > Output of memory_profiler shows me additional ~2MB of memory usage
> > after every run of check_object function (show memory_profiler.txt f...
2014 Dec 29
0
Samba4 on Ubuntu server
...gt; "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/dbcheck.py",
> line 136, in run
> controls=controls, attrs=attrs)
> File "/usr/local/samba/lib/python2.7/site-packages/samba/dbchecker.py",
> line 128, 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 1005, in check_object
> attrs=attrs)
> Segmentation fault (core dumped)
>
> real 1980m21.023s
> user 1408m48.304s
> sys 11m43.788s
212000 obje...
2016 Mar 12
0
samba-4.3.6 and talloc-2.1.6
...ot;/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])
> File "/usr/lib64/python2.7/site-packages/samba/sam...
2016 Mar 12
0
samba-4.3.6 and talloc-2.1.6
...t;/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]) File "/usr/lib64/python2.7/site-packages/samba/samdb...
2017 Feb 08
1
samba-tool dbcheck uncaught exception
...in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/dbcheck.py", line
136, in run
controls=controls, attrs=attrs)
File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 141,
in check_database
error_count += self.check_object(object.dn, attrs=attrs)
File "/usr/lib/python2.7/dist-packages/samba/dbchecker.py", line 1509,
in check_object
expected_dn = ldb.Dn(self.samdb, "RDN=RDN,%s" % (parent_dn))