[Samba] error

Bjoern Baumbach bb at sernet.de
Tue Jun 19 14:28:32 MDT 2012


On 06/19/2012 11:15 PM, sandy.napoles at eccmg.cupet.cu wrote:
> and, when I run this other commands
> 
> ./samba-tool domain join eccmg.cupet.cu DC -Usandy --realm=eccmg.cupet.cu
> Finding a writeable DC for domain 'eccmg.cupet.cu'
> ERROR(exception): uncaught exception - Failed to find a writeable DC for
> domain 'eccmg.cupet.cu'
>   File
> "/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py",
> line 160, in _run
>     return self.run(*args, **kwargs)
>   File
> "/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py",
> line 184, in run
>     machinepass=machinepass, use_ntvfs=use_ntvfs)
>   File "/usr/local/samba/lib/python2.6/site-packages/samba/join.py", line
> 943, in join_DC
>     machinepass, use_ntvfs)
>   File "/usr/local/samba/lib/python2.6/site-packages/samba/join.py", line
> 65, in __init__
>     ctx.server = ctx.find_dc(domain)
>   File "/usr/local/samba/lib/python2.6/site-packages/samba/join.py", line
> 203, in find_dc
>     raise Exception("Failed to find a writeable DC for domain '%s'" % domain)
> root at orion:/usr/local/samba/bin#
> 

This seems to be a dns problem. Please run the commands, that Gerben
sent, and post the output.

Check your /etc/resolv.conf and dns server.

Björn

-- 
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de


More information about the samba mailing list