Bug 9990 - samba-tool gpo not working
Summary: samba-tool gpo not working
Status: RESOLVED WORKSFORME
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.0.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-02 11:18 UTC by Stefan Kania
Modified: 2022-08-11 01:53 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kania 2013-07-02 11:18:29 UTC
Everytime I try to access the GPOs over the commandline for example with "samba-tool gpo listall" I get the following output:
root@samba4-1:~# samba-tool gpo listall
ERROR(runtime): uncaught exception - ('Could not find a DC for domain', RuntimeError('NT_STATUS_NETWORK_UNREACHABLE',))
  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 311, 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)

All other samba-tool Commands ar working. I can create users and groups list fmos and so on.
Even with the option "-W EXAMPLE" as Workgroup and --ipaddress <ip-domain-controller> it's not working.
I user samba4 sernet-packages:
sernet-samba                       99:4.0.6-3  
on a debian weezy
Comment 1 Douglas Bagnall 2022-08-11 01:53:10 UTC
Stefan: reopen if it still affects you.