[Samba] RPC Server Unavailable Message

Rowland Penny rowlandpenny at googlemail.com
Tue Dec 23 00:53:22 MST 2014

On 22/12/14 22:42, Asai wrote:
> From what I thought I did, I named the domain avalon.local.  That's 
> what the computers will join to.  What does the netbios name have to 
> do with the DC?

Quite a lot, AD relies on DNS, it sounds like the DC cannot find its own 
records, probably because /etc/hosts isn't setup correctly, you need to 
have the machines ipaddress and fqdn in there, i.e. if your DC is called 
'dc1' and its ipaddress is '' you need the line:    dc1.avalon.local    dc1

By the way, I wouldn't use 'local', even microsoft says this is a bad 
idea, it interferes with avahi.

> How much chance of messing up things is there if I run the rename script?

No idea, never ever heard of it until yesterday, but what have you got 
to lose ? it isn't working now and you are only testing, but fix your 
DNS first.

> On 12/22/14 12:22 PM, Rowland Penny wrote:
>> On 22/12/14 19:05, Marc Muehlfeld wrote:
>>> Hello Asai,
>>> Am 22.12.2014 um 19:55 schrieb Rowland Penny:
>>>>> localhost isn't the name of the ad dc, at least that's not what I
>>>>> intended.  How do I change it without reprovisioning?  Can you 
>>>>> provide
>>>>> a link to some documentation?
>>>> I cannot provide a link to any documentation, this is because, I don't
>>>> know of any, I don't think it would be very easy to change it in 
>>>> AD, you
>>>> would have to change every instance of 'LOCALHOST' to your new name 
>>>> and
>>>> probably a lot of other links. It will probably be easier to start 
>>>> again.
>>> To rename the DC, you can try
>>>     source4/scripting/bin/renamedc
>>> It's part of the source package. But I never tried it.
>> Never mind tried it, I had never heard of it :-D
>> It also doesn't seem to come with the Debian packages.
>> Rowland
>>> If you also have for the DC in your directory, try 
>>> changing it:
>>> https://wiki.samba.org/index.php/Change_IP_address_of_the_DC
>>> Regards,
>>> Marc

More information about the samba mailing list