search for: dns_dir

Displaying 20 results from an estimated 30 matches for "dns_dir".

2017 Jul 10
2
using samba with bind dlz
...s 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, "sam.ldb")) for nc in partfile: pfile = partfile[nc] tdb_copy(os.path.join(private_dir, pfile), os.path.join(dns_dir, pfile)) Let me try and figure out what his is doing and I'll write some prints to find out what the culprit is....
2017 Jul 10
2
using samba with bind dlz
...;> # 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, "sam.ldb")) >> for nc in partfile: >> pfile = partfile[nc] >> tdb_copy(os.path.join(private_dir, pfile), >> os.path.join(dns_dir, pfile)) >> >> Let me try and figure out what his is doing and I'l...
2017 Jul 10
0
using samba with bind dlz
...cifically 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, "sam.ldb")) > for nc in partfile: > pfile = partfile[nc] > tdb_copy(os.path.join(private_dir, pfile), > os.path.join(dns_dir, pfile)) > > Let me try and figure out what his is doing and I'll write some prints to &...
2017 Jul 10
0
using samba with bind dlz
...t, 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, "sam.ldb")) >>> for nc in partfile: >>> pfile = partfile[nc] >>> tdb_copy(os.path.join(private_dir, pfile), >>> os.path.join(dns_dir, pfile)) >>> >>> Let me try and figure out what...
2017 Jul 10
3
using samba with bind dlz
On Mon, Jul 10, 2017 at 8:02 AM, Rowland Penny via samba < samba at lists.samba.org> wrote: > On Mon, 10 Jul 2017 06:43:37 -0600 > Jeff Sadowski <jeff.sadowski at gmail.com> wrote: > > > Bind-9.11 is installed. How do you configure it? Does it need anything > > special in the config for samba to build the ...samba.../named.conf > > file that I should be able
2012 Feb 15
1
samba4 provision error
...tdir=targetdir, site=DEFAULTSITE) File "bin/python/samba/provision/sambadns.py", line 990, in setup_ad_dns create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid) File "bin/python/samba/provision/sambadns.py", line 751, in create_samdb_copy os.path.join(dns_dir, "sam.ldb")) File "bin/python/samba/provision/sambadns.py", line 688, in tdb_copy raise Exception("Error copying %s" % file1) Exception: Error copying /usr/local/samba/private/sam.ldb
2012 Jan 24
1
Provision Error
...ot;/usr/lib/python2.7/site-packages/samba/provision/sambadns.py", line 990, in setup_ad_dns create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid) File "/usr/lib/python2.7/site-packages/samba/provision/sambadns.py", line 751, in create_samdb_copy os.path.join(dns_dir, "sam.ldb")) File "/usr/lib/python2.7/site-packages/samba/provision/sambadns.py", line 688, in tdb_copy raise Exception("Error copying %s" % file1) Exception: Error copying /var/lib/samba/private/sam.ldb
2012 Feb 07
1
Samba 4 latest git failed to provision: DNS
...targetdir, site=DEFAULTSITE) File "bin/python/samba/provision/sambadns.py", line 990, in setup_ad_dns create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid) File "bin/python/samba/provision/sambadns.py", line 751, in create_samdb_copy os.path.join(dns_dir, "sam.ldb")) File "bin/python/samba/provision/sambadns.py", line 688, in tdb_copy raise Exception("Error copying %s" % file1) Exception: Error copying /usr/local/samba/private/sam.ldb Any ideas anyone? Thanks, Steve
2017 Jul 10
2
using samba with bind dlz
...python2.7/site-packages/samba/provision/sambadns.py", line 1222, in setup_bind9_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, **kwarg...
2012 Feb 03
1
error with provisionsing
...tdir=targetdir, site=DEFAULTSITE) File "bin/python/samba/provision/sambadns.py", line 990, in setup_ad_dns create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid) File "bin/python/samba/provision/sambadns.py", line 751, in create_samdb_copy os.path.join(dns_dir, "sam.ldb")) File "bin/python/samba/provision/sambadns.py", line 688, in tdb_copy raise Exception("Error copying %s" % file1) Exception: Error copying /usr/local/samba/private/sam.ldb I am fairly new to working with samba and I do not know where to look to get t...
2012 Feb 02
1
Error in provisioning Samba4 Alpha 18 from git
...tdir=targetdir, site=DEFAULTSITE) File "bin/python/samba/provision/sambadns.py", line 990, in setup_ad_dns create_samdb_copy(samdb, logger, paths, names, domainsid, domainguid) File "bin/python/samba/provision/sambadns.py", line 751, in create_samdb_copy os.path.join(dns_dir, "sam.ldb")) File "bin/python/samba/provision/sambadns.py", line 688, in tdb_copy raise Exception("Error copying %s" % file1) Exception: Error copying /usr/local/samba/private/sam.ldb The file /home/administrator/source/samba-master/bin/shared/private/libtdb.so...
2017 Jul 10
0
using samba with bind dlz
I found the file /usr/lib64/python2.7/site-packages/samba/provision/sambadns.py I was looking through it and seemed to come across the area where I am having problems. In the create_dns_dir function I wanted to see what paths.dns had and what dns_dir where getting set to. so I did a simple print and found paths.dir is set to /var/lib/samba/private/dns/fedora.methanemaker.mooo.com.zone and dns_dir is set to /var/lib/samba/private/dns next I check those directories [root at dc1 ~]#...
2019 Jan 02
2
AD bind DNS broken after 4.7.3 -> 4.9.2 upgrade
...b: No such file or directory > Failed to chown /var/lib/samba/bind-dns to bind gid 107 > Failed to chown /var/lib/samba/bind-dns/dns.keytab to bind gid 107 > Traceback (most recent call last): > File "/usr/sbin/samba_upgradedns", line 533, in <module> > create_dns_dir(logger, paths) > File > "/usr/lib/python2.7/dist-packages/samba/provision/sambadns.py", line > 697, in create_dns_dir os.mkdir(dns_dir, 0770) > OSError: [Errno 2] No such file or directory: > '/var/lib/samba/bind-dns/dns' > > > I started to panic, but...
2018 Dec 31
3
AD bind DNS broken after 4.7.3 -> 4.9.2 upgrade
Can you try to upgrade to any 4.8 version then to 4.9.4? might work, atleast my guess this will have a better chance get passed this bug. Greetz, Louis > Op 31 dec. 2018 om 18:35 heeft Král Gergely via samba <samba at lists.samba.org> het volgende geschreven: > > 2018-12-31 17:29 id??pontban Rowland Penny via samba ezt írta: > >>> >> >> OK,
2019 Sep 02
2
Problems with Internal DNS Samba 4
.../samba/bind-d ns/dns.keytab: No such file or directory Failed to chown /var/lib/samba/bind-dns to bind gid 121 Failed to chown /var/lib/samba/bind-dns/dns.keytab to bind gid 121 Traceback (most recent call last): File "/usr/sbin/samba_upgradedns", line 533, in <module> create_dns_dir(logger, paths) File "/usr/lib/python3/dist-packages/samba/provision/sambadns.py", line 704, i n create_dns_dir os.mkdir(dns_dir, 0o770) FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/samba/bind-dns Regards, M?r...
2019 Jan 02
2
AD bind DNS broken after 4.7.3 -> 4.9.2 upgrade
...gt; Failed to chown /var/lib/samba/bind-dns to bind gid 107 >>> Failed to chown /var/lib/samba/bind-dns/dns.keytab to bind gid 107 >>> Traceback (most recent call last): >>> File "/usr/sbin/samba_upgradedns", line 533, in <module> >>> create_dns_dir(logger, paths) >>> File >>> "/usr/lib/python2.7/dist-packages/samba/provision/sambadns.py", line >>> 697, in create_dns_dir os.mkdir(dns_dir, 0770) >>> OSError: [Errno 2] No such file or directory: >>> '/var/lib/samba/bind-dns/dns' &...
2013 May 28
0
4.0.6 error: AD based DNS cannot be used
...DNS cannot be used Traceback (most recent call last): File "/usr/local/samba/sbin/samba_upgradedns", 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(*popena...
2017 Jul 10
0
using samba with bind dlz
...ckages/samba/provision/sambadns.py", > line 1222, in setup_bind9_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(...
2013 May 31
1
Can't provision with BIND9_DLZ
...2.7/site-packages/samba/provision/sambadns.py", line 1122, in setup_bind9_dns create_samdb_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(*popena...
2019 Jan 02
0
AD bind DNS broken after 4.7.3 -> 4.9.2 upgrade
.../samba/bind-dns/dns.keytab: No such file or directory Failed to chown /var/lib/samba/bind-dns to bind gid 107 Failed to chown /var/lib/samba/bind-dns/dns.keytab to bind gid 107 Traceback (most recent call last): File "/usr/sbin/samba_upgradedns", line 533, in <module> create_dns_dir(logger, paths) File "/usr/lib/python2.7/dist-packages/samba/provision/sambadns.py", line 697, in create_dns_dir os.mkdir(dns_dir, 0770) OSError: [Errno 2] No such file or directory: '/var/lib/samba/bind-dns/dns' I started to panic, but since I ran this with samba stopp...