Displaying 12 results from an estimated 12 matches for "tdb_util".
2017 Jul 10
1
using samba with bind dlz
On Mon, 10 Jul 2017 11:01:32 -0600
Jeff Sadowski <jeff.sadowski at gmail.com> wrote:
> dnf install tdb-tools and wala it finishes as expected. :-)
>
On Debian, tdb-tools gets installed automatically, this is probably
because you have been able to create an AD DC since Samba 4 came out.
But good catch, glad you got it to work ;-)
Rowland
2013 May 31
1
Can't provision with BIND9_DLZ
...db_copy(samdb, logger, paths, names, domainsid,
domainguid)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/sambadns.py", line 805, in create_samdb_copy
os.path.join(dns_dir, "sam.ldb"))
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/tdb_util.py", line
36, in tdb_copy
status = subprocess.call(tdbbackup_cmd, close_fds=True, shell=False)
File "/usr/lib64/python2.7/subprocess.py", line 493, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__...
2017 Jul 10
2
using samba with bind dlz
...dns
create_samdb_copy(samdb, logger, paths, names, names.domainsid,
domainguid)
File "/usr/lib64/python2.7/site-packages/samba/provision/sambadns.py",
line 851, in create_samdb_copy
os.path.join(dns_dir, "sam.ldb"))
File "/usr/lib64/python2.7/site-packages/samba/tdb_util.py", line 36, in
tdb_copy
status = subprocess.call(tdbbackup_cmd, close_fds=True, shell=False)
File "/usr/lib64/python2.7/subprocess.py", line 168, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.7/subprocess.py", line 390, in __init__...
2013 May 28
0
4.0.6 error: AD based DNS cannot be used
...gradedns", line 454, in <module>
domainguid)
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/provision/sambadns.py", line 805, in create_samdb_copy
os.path.join(dns_dir, "sam.ldb"))
File
"/usr/local/samba/lib64/python2.7/site-packages/samba/tdb_util.py", line
36, in tdb_copy
status = subprocess.call(tdbbackup_cmd, close_fds=True, shell=False)
File "/usr/lib64/python2.7/subprocess.py", line 493, in call
return Popen(*popenargs, **kwargs).wait()
File "/usr/lib64/python2.7/subprocess.py", line 679, in __init__...
2017 Jul 10
0
using samba with bind dlz
...copy(samdb, logger, paths,
> names, names.domainsid, domainguid)
> File
> "/usr/lib64/python2.7/site-packages/samba/provision/sambadns.py",
> line 851, in create_samdb_copy os.path.join(dns_dir, "sam.ldb"))
> File "/usr/lib64/python2.7/site-packages/samba/tdb_util.py", line
> 36, in tdb_copy
> status = subprocess.call(tdbbackup_cmd, close_fds=True,
> shell=False) File "/usr/lib64/python2.7/subprocess.py", line 168, in
> call return Popen(*popenargs, **kwargs).wait()
> File "/usr/lib64/python2.7/subprocess.py", li...
2002 Mar 08
1
tdb((NULL)): tdb_brlock failed on Samba 2.2.3a startup
...first smbd has it locked).
(And side issue, hows does one get the debug timestamps and sourcecode
filenames on a 'smbd -i' invocation?)
(Second side issue, is it possible for tdb debug messages to have the
real source code reference instead of all coming from the same place
(line 475) of tdb_util.c ?)
A quick mailing list search has shown nothng similar. Also 'tdbtool' can
create tdbs, but not 'insert' nor 'store' items into them. (Test file
/tmp/f ) (error message 'insert failed')
Help?
Mac
Assistant Systems Admi...
2017 Jul 10
3
using samba with bind dlz
...,
> > names, names.domainsid, domainguid)
> > File
> > "/usr/lib64/python2.7/site-packages/samba/provision/sambadns.py",
> > line 851, in create_samdb_copy os.path.join(dns_dir, "sam.ldb"))
> > File "/usr/lib64/python2.7/site-packages/samba/tdb_util.py", line
> > 36, in tdb_copy
> > status = subprocess.call(tdbbackup_cmd, close_fds=True,
> > shell=False) File "/usr/lib64/python2.7/subprocess.py", line 168, in
> > call return Popen(*popenargs, **kwargs).wait()
> > File "/usr/lib64/python2....
2017 Jul 10
2
using samba with bind dlz
...;
> From: /var/lib/samba/private/sam.ldb
> To: /var/lib/samba/private/dns/sam.ldb
>
> I put a print statement under tdb_copy that is not reached so the problem
> is there.
> Now to go find tdb_copy and see what it is complaining about.
>
> I see the line
>
> from samba.tdb_util import tdb_copy
>
> So I'm off to find that function and to see what it is complaining about.
>
>
>
>>
>>
>> On Mon, Jul 10, 2017 at 9:17 AM, Jeff Sadowski <jeff.sadowski at gmail.com>
>> wrote:
>>
>>> I found the file /usr/lib64/pytho...
2017 Jul 10
0
using samba with bind dlz
..._dir, "sam.ldb") they both look fine.
From: /var/lib/samba/private/sam.ldb
To: /var/lib/samba/private/dns/sam.ldb
I put a print statement under tdb_copy that is not reached so the problem
is there.
Now to go find tdb_copy and see what it is complaining about.
I see the line
from samba.tdb_util import tdb_copy
So I'm off to find that function and to see what it is complaining about.
>
>
> On Mon, Jul 10, 2017 at 9:17 AM, Jeff Sadowski <jeff.sadowski at gmail.com>
> wrote:
>
>> I found the file /usr/lib64/python2.7/site-packages/samba/provision/samb
>&...
2017 Jul 10
0
using samba with bind dlz
...sam.ldb
>> To: /var/lib/samba/private/dns/sam.ldb
>>
>> I put a print statement under tdb_copy that is not reached so the problem
>> is there.
>> Now to go find tdb_copy and see what it is complaining about.
>>
>> I see the line
>>
>> from samba.tdb_util import tdb_copy
>>
>> So I'm off to find that function and to see what it is complaining about.
>>
>>
>>
>>>
>>>
>>> On Mon, Jul 10, 2017 at 9:17 AM, Jeff Sadowski <jeff.sadowski at gmail.com>
>>> wrote:
>>>
>&g...
2017 Jul 10
2
using samba with bind dlz
In /usr/lib64/python2.7/site-packages/samba/provision/sambadns.py
Update: It is failing in create_samdb_copy specifically here:
# Copy root, config, schema partitions (and any other if any)
# Since samdb is open in the current process, copy them in a child
process
try:
tdb_copy(os.path.join(private_dir, "sam.ldb"),
os.path.join(dns_dir,
2018 Dec 06
3
Build error while upgrading samba 4.9.3
...tils.py -> python/samba/sd_utils.py
symlink: samba/sites.py -> python/samba/sites.py
symlink: samba/subnets.py -> python/samba/subnets.py
symlink: samba/subunit/__init__.py -> python/samba/subunit/__init__.py
symlink: samba/subunit/run.py -> python/samba/subunit/run.py
symlink: samba/tdb_util.py -> python/samba/tdb_util.py
symlink: samba/tests/__init__.py -> python/samba/tests/__init__.py
symlink: samba/tests/audit_log_base.py -> python/samba/tests/audit_log_base.py
symlink: samba/tests/audit_log_dsdb.py -> python/samba/tests/audit_log_dsdb.py
symlink: samba/tests/audit_log_...