search for: _run

Displaying 20 results from an estimated 1384 matches for "_run".

2012 Dec 04
2
Samba4 Classicupgrade Failed
...main classicupgrade --dbdir=/var/lib/samba/ --use-xattrs=yes --realm=ewanko.local /etc/samba/smb.conf ERROR(exceptions.TypeError): uncaught exception - __init__() got an unexpected keyword argument 'epilog' File "/usr/local/samba/bin/samba-tool", line 44, in ? retval = cmd._run("samba-tool", subcommand, *args) File "/usr/local/samba/lib/python2.4/site-packages/samba/netcmd/__init__.py", line 201, in _run return self.subcommands[subcommand]._run( File "/usr/local/samba/lib/python2.4/site-packages/samba/netcmd/__init__.py", line 201, in...
2018 Aug 22
1
Cannot find KDC for requested realm
...:4534:20ac:0:200:ff:fe00:5', 'ad.firma.andrick.de', 'ad', 'A', '192.168.4.53'] ERROR(runtime): uncaught exception - (9711, 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')   File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run     return self.run(*args, **kwargs)   File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line 940, in run     raise e Failed 'samba-tool dns' based update of A ad.ad.firma.andrick.de 192.168.4.53 update (samba-tool): AAAA ad.ad.firma.andrick.de fd35:4534:20ac:0:200:ff...
2018 Aug 22
1
Samba 4.8.4 + BIND 9.9.4 - possibility of nonsecure DNS updates
...no -P ['192.168.45.1', 'samdom.svmetal.cz', 'dc03x', 'A', '192.168.45.1'] ERROR(runtime): uncaught exception - (9711, 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS') File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 176, in _run return self.run(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line 940, in run raise e Failed 'samba-tool dns' based update of A dc03x.samdom.svmetal.cz 192.168.45.1 update (samba-tool): NS samdom.svmetal.cz dc03x.samdom.svmetal.cz Calli...
2018 Sep 10
2
samba 4.7.6-Ubuntu + ipv6 not work bind9-DLZ
...8:3:0:20c:29ff:fecb:5299', 'freewaynet.corp', 'agamenon', 'A', '192.168.1.252'] ERROR(runtime): uncaught exception - (9711, 'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS') File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 176, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 940, in run raise e Failed 'samba-tool dns' based update of A agamenon.freewaynet.corp 192.168.1.252 update (samba-tool): AAAA agamenon.freewaynet.corp 2001:db8:3:0:20c:...
2015 Feb 27
8
samba-tool time
...time and samba-tool time servername.fqdn ? when i run it, im getting : ? ERROR(runtime): uncaught exception - Connection to SRVSVC pipe of server 'rotterdam.bazuin.nl' failed: NT_STATUS_NONE_MAPPED ? File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run ??? return self.run(*args, **kwargs) ? File "/usr/lib/python2.7/dist-packages/samba/netcmd/time.py", line 59, in run ??? self.outf.write(net.time(server_name)+"\n") ? Greetz, ? Louis ?
2018 Mar 29
2
Unable to rejoin to domain as AD DC
...mpatibility issues (I suppose so): [root at backup samba-4.8.0]# samba-tool drs showrepl ERROR(<type 'exceptions.SyntaxError'>): uncaught exception - invalid syntax (ms_schema.py, line 280) File "/usr/local/samba/bin/samba-tool", line 45, in <module> retval = cmd._run("samba-tool", subcommand, *args) File "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 202, in _run return self.subcommands[subcommand]._run( File "/usr/local/samba/lib64/python2.6/site-packages/samba/netcmd/main.py", line 35, in...
2014 Apr 21
2
GPO Create error
...was an issue with sysvol acls, I ran "samba-tool ntacl sysvolcheck" which exploded with: ERROR(<type 'exceptions.TypeError'>): uncaught exception - (61, 'No data available') File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib64/python2.6/site-packages/samba/netcmd/ntacl.py", line 249, in run lp) File "/usr/lib64/python2.6/site-packages/samba/provision/__init__.py", line 1686, in checksysvolacl fsacl = getntacl(lp, dir_path, direct_db_acc...
2018 Mar 14
2
samba-tool error just after samba 4.8.0 install
...essage even when running samba-tool --help : [root at frtlse-srv018 samba-4.8.0]# samba-tool --help ERROR(<type 'exceptions.SyntaxError'>): uncaught exception - invalid syntax (ms_schema.py, line 280) File "/usr/bin/samba-tool", line 44, in <module> retval = cmd._run("samba-tool", subcommand, *args) File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line 223, in _run cmd = self.subcommands[cmd_name] File "/usr/lib64/python2.6/site-packages/samba/netcmd/main.py", line 35, in __getitem__ fromlist=['cm...
2016 Jul 07
4
FSMO Transfer fail
...successful FSMO transfer of 'schema' role successful ERROR(<type 'exceptions.UnboundLocalError'>): uncaught exception - local variable 'master_guid' referenced before assignment File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 452, in run transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb) File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 76, in t...
2016 Jul 07
1
FSMO Transfer fail
...FSMO role This DC already has the 'schema' FSMO role ERROR(<type 'exceptions.UnboundLocalError'>): uncaught exception - local variable 'master_guid' referenced before assignment File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 452, in run transfer_dns_role(self.outf, sambaopts, credopts, "domaindns", samdb) File "/usr/lib/python2.7/dist-packages/samba/netcmd/fsmo.py", line 76, in t...
2019 Feb 28
6
samba-tool domain backup ERROR
...e Setting isSynchronized and dsServiceName Cloned domain LF (SID S-1-5-21-2842440679-1648109622-3732055899) ERROR(<type 'exceptions.IndexError'>): uncaught exception - list index out of range File "/usr/lib/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/domain_backup.py", line 237, in run new_sid = get_sid_for_restore(remote_sam) File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain_backup.py", line 73, in get_sid_for_res...
2019 Sep 24
2
'samba-tool testparm --section' bugs?
...read only = No in DM no: root at vdmsv1:~# samba-tool -V 4.8.12-Debian root at vdmsv1:~# samba-tool testparm --section users ERROR(<type 'exceptions.TypeError'>): uncaught exception - File "/usr/lib/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/testparm.py", line 105, in run lp[section_name].dump(verbose) root at vdmsv1:~# samba-tool testparm --section-name=users ERROR(<type 'exceptions.TypeError'>): uncaught excepti...
2010 Mar 08
1
[PATCH] ExecHelper: Code cleanup
...r.pm b/lib/Sys/VirtV2V/ExecHelper.pm index 87f6d06..110ae9f 100644 --- a/lib/Sys/VirtV2V/ExecHelper.pm +++ b/lib/Sys/VirtV2V/ExecHelper.pm @@ -68,25 +68,17 @@ sub run my $self = {}; bless($self, $class); - $self->{output} = File::Temp->new(); - $self->{status} = $self->_run(@command); - - return $self; -} - -sub _run -{ - my $self = shift; - my @command = @_; - - my $output = $self->{output}; - my $null; open($null, '<', '/dev/null') or die("Failed to open /dev/null: $!"); + my $output = File::Temp->new();...
2015 Oct 12
2
Sysvol acl check failed
...Hello, when I check ACLs on my sysvol I got the following errors: root at DKHHDC1:~# samba-tool gpo aclcheck ERROR(<type 'exceptions.KeyError'>): uncaught exception - 'No such element' File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/gpo.py", line 1150, in run ds_sd_ndr = m['nTSecurityDescriptor'][0] root at DKHHDC1:~# samba-tool ntacl sysvolcheck ERROR(<type 'exceptions.TypeError'>): uncaught excepti...
2015 Oct 02
4
Wiki news: Build Samba, Join DCs
...tries_on_DC_joins adam at eagle:~$ samba-tool dns add DC sogo.smbdomain.com DC A 10.99.0.2 -Uadministrator ERROR(runtime): uncaught exception - (-1073741628, 'NT_STATUS_UNEXPECTED_NETWORK_ERROR') File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 1059, in run dns_conn = dns_connect(server, self.lp, self.creds) File "/usr/lib/python2.7/dist-packages/samba/netcmd/dns.py", line 40, in dns_connect dns_con...
2015 Apr 05
2
samba4 gpo update problem
...was incorrect. Why, I do not know. command1: #samba-tool ntacl sysvolcheck ERROR(<type 'exceptions.TypeError'>): uncaught exception - (2, 'No such file or directory') File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/ntacl.py", line 249, in run lp) File "/usr/local/samba/lib64/python2.7/site-packages/samba/provision/__init__.py", line 1730, in checksysvolacl direct_db_access)...
2011 Nov 08
1
Raising domain functionality level with samba-tool fails with uncaught exception errors from Python
...Python's uncaught exception: --forest-level ERROR(<type 'exceptions.AttributeError'>): uncaught exception - 'module' object has no attribute 'get_config_basedn' File "/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py", line 167, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py", line 326, in run m.dn = ldb.Dn(samdb, "CN=Partitions,%s" % ldb.get_config_basedn()) --domain-level ERROR(<type 'exceptions.AttributeError'>): un...
2016 Jun 10
2
Rsync GPOs Erro Sysvol
...rect ids, but now is a one error this process: samba-tool ntacl sysvolreset open: error=2 (No such file or directory) ERROR(runtime): uncaught exception - (-1073741823, 'Undetermined error') File "/opt/samba/lib/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run return self.run(*args, **kwargs) File "/opt/samba/lib/python2.7/site-packages/samba/netcmd/ntacl.py", line 239, in run lp, use_ntvfs=use_ntvfs) File "/opt/samba/lib/python2.7/site-packages/samba/provision/__init__.py", line 1618, in setsysvolacl set_gpos_...
2015 Jul 16
2
4.2.2 as AD with 2 DCs: database incoherency
Am 16.07.2015 um 17:18 schrieb Rowland Penny: > On 16/07/15 13:27, Reindl Harald wrote: >> >> Am 16.07.2015 um 14:02 schrieb Rowland Penny: >>> /etc/hosts should be: >>> >>> 127.0.0.1 localhost.localdomain localhost >> >> uhm no - you want 127.0.0.1 normally resolved to localhost and hence >> 127.0.0.1 localhost
2015 Oct 13
2
Sysvol acl check failed
...owing errors: >> >> root at DKHHDC1:~# samba-tool gpo aclcheck ERROR(<type >> 'exceptions.KeyError'>): uncaught exception - 'No such element' >> File >> "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line >> 175, in _run return self.run(*args, **kwargs) File >> "/usr/lib/python2.7/dist-packages/samba/netcmd/gpo.py", line >> 1150, in run ds_sd_ndr = m['nTSecurityDescriptor'][0] >> >> >> root at DKHHDC1:~# samba-tool ntacl sysvolcheck ERROR(<type >> 'exc...