Displaying 11 results from an estimated 11 matches for "dc_url".
2020 Nov 09
2
samba-tool gpo listall error
...STATUSError(3221225524, 'The object name is not found.'))
File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 186,
in _run
return self.run(*args, **kwargs)
File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 464, in
run
self.url = dc_url(self.lp, self.creds, H)
File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 128, in
dc_url
raise RuntimeError("Could not find a DC for domain", e)
I'm using Louis' packages...
root at ad2:~# smbstatus
Samba version 4.11.13-Debian
root at ad2:~# lsb_re...
2020 Nov 10
4
samba-tool gpo listall error
...; File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line
> 186,
> > in _run
> > return self.run(*args, **kwargs)
> > File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 464,
> in
> > run
> > self.url = dc_url(self.lp, self.creds, H)
> > File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 128,
> in
> > dc_url
> > raise RuntimeError("Could not find a DC for domain", e)
> >
> > I'm using Louis' packages...
> > root at ad...
2020 Nov 10
0
samba-tool gpo listall error
...bject name is not found.'))
> File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 186,
> in _run
> return self.run(*args, **kwargs)
> File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 464, in
> run
> self.url = dc_url(self.lp, self.creds, H)
> File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 128, in
> dc_url
> raise RuntimeError("Could not find a DC for domain", e)
>
> I'm using Louis' packages...
> root at ad2:~# smbstatus
> Samba version 4...
2016 Nov 03
7
Problems with GPO
See inline comments:
On Thu, 3 Nov 2016 19:17:58 -0200
Marcio Demetrio Bacci <marciobacci at gmail.com> wrote:
> Hi Rowland
>
> Following the results to:
>
> *USER:*
> wbinfo --uid-info=10060:
> bacci:*:10060:30049:bacci:/home/EMPRESA/bacci:/bin/false
>
It looks like 'bacci' is a normal user and the owner of the
Policies GUID dir should be 'Domain
2020 Nov 10
0
samba-tool gpo listall error
...hon3/dist-packages/samba/netcmd/__init__.py", line
>> 186,
>> > in _run
>> > return self.run(*args, **kwargs)
>> > File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 464,
>> in
>> > run
>> > self.url = dc_url(self.lp, self.creds, H)
>> > File "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 128,
>> in
>> > dc_url
>> > raise RuntimeError("Could not find a DC for domain", e)
>> >
>> > I'm using Louis' packages...
2020 Nov 11
0
samba-tool gpo listall error
...py", line
> >> 186,
> >> > in _run
> >> > return self.run(*args, **kwargs)
> >> > File
> "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 464,
> >> in
> >> > run
> >> > self.url = dc_url(self.lp, self.creds, H)
> >> > File
> "/usr/lib/python3/dist-packages/samba/netcmd/gpo.py", line 128,
> >> in
> >> > dc_url
> >> > raise RuntimeError("Could not find a DC for domain", e)
> >> >
> >> &g...
2016 Nov 04
0
Problems with GPO
...eError('NT_STATUS_NETWORK_UNREACHABLE',))
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/gpo.py", line
349, in run
self.url = dc_url(self.lp, self.creds, H)
File "/opt/samba/lib/python2.7/site-packages/samba/netcmd/gpo.py", line
117, in dc_url
raise RuntimeError("Could not find a DC for domain", e)
Result of *samba-tool gpo listall*
ERROR(runtime): uncaught exception - ('Could not find a DC for dom...
2016 Nov 04
0
Problems with GPO
...same as option 2. but this is only for a computer policie.
If you have problem like, GPO applies from one server, but the other dc.
Run : net cache flush
Stop samba on both DC's and copy the idmap.tdb from DC1 to DC2.
About you setup and config, looks all fine to me, exept.
> 117, in dc_url
> raise RuntimeError("Could not find a DC for domain", e
Please post you resolv.conf /etc/hosts /etc/nsswitch.conf
And are you using bind_DLZ or internal samba DNS
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: samba [mailto:samba-bounces at lists.samba.org] N...
2016 Nov 07
1
Problems with GPO
...eError('NT_STATUS_NETWORK_UNREACHABLE',))
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/gpo.py", line 349, in run
self.url = dc_url(self.lp, self.creds, H)
File "/opt/samba/lib/python2.7/site-packages/samba/netcmd/gpo.py", line 117, in dc_url
raise RuntimeError("Could not find a DC for domain", e)
In DC1 has 2 pastes in Sysvol\empresa.com.br: Policies and Scripts. But in DC2, the Policies paste there...
2017 Jun 14
0
smbclient ends in NT_STATUS_CONNECTION_REFUSED error
...NOT_FOUND',))
> 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
> 349, in run
> self.url = dc_url(self.lp, self.creds, H)
> File
> "/usr/lib/python2.7/dist-packages/samba/netcmd/gpo.py", line
> 117, in dc_url
> raise RuntimeError("Could not find a DC for domain", e)
>
> root at server:~# smbclient -d10 -L localhost -U%
> INFO: Current debug lev...
2017 Jun 13
10
smbclient ends in NT_STATUS_CONNECTION_REFUSED error
...9;, RuntimeError('NT_STATUS_OBJECT_NAME_NOT_FOUND',))
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 349, in run
self.url = dc_url(self.lp, self.creds, H)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/gpo.py", line 117, in dc_url
raise RuntimeError("Could not find a DC for domain", e)
root at server:~# smbclient -d10 -L localhost -U%
INFO: Current debug levels:
all: 10
tdb: 10
printdrive...