[Samba] Samba 4.3 AD Member Server: No Domain configured for <hostname>
Rowland Penny
rowlandpenny241155 at gmail.com
Mon Oct 26 16:44:44 UTC 2015
On 26/10/15 16:29, Viktor Trojanovic wrote:
> After setting up a Samba AD Member Server following the instructions
> on the Samba Wiki, I am running into some issues. I checked the net
> for hints, including the list archive, and indeed my issues are
> mentioned in many places but never accompanied by a working solution.
>
> I will focus on one point for now. When joining my member server to
> the DC, I see the following output in the shell:
>
> # net ads join -U administrator
> Using short domain name -- SAM
> Joined 'HOSTNAME' to dns domain 'sam.domain.com'
> No DNS domain configured for hostname. Unable to perform DNS Update.
> DNS Update failed: NT_STATUS_INVALID_PARAMETER
>
> If I check the domain attached computers with RSAT, this host is
> listed but with an arrow pointing down (afaik a sign for 'disabled').
You need to add the member servers DNS record to the AD DC, Unix doesn't
add them automatically. What is your AD DC, a windows one or a Samba4.
>
> I did all the various checks suggested on the wiki page, such as using
> 'host', 'ldbsearch', 'kinit' and so on. They all return the respective
> recommended values. But let me know if some specific output would
> help, happy to provide it.
>
> var/log/messages mentions only CUPS errors. I am not sure if this is
> relevant since I don't even need CUPS (how can I avoid these errors?).
>
Add:
# disable printing completely
load printers = no
printing = bsd
printcap name = /dev/null
disable spoolss = yes
To smb.conf and then restart Samba.
> Is this DNS error a relevant error at all? If yes, does anyone know
> how it could come to this error?
>
> I am not sure if this is relevant information but there is no DNS
> record for the member server on the DC. It's also nowhere mentioned
> that this is necessary.
>
>
>
It is required, otherwise how would the domain find the member server.
Rowland
More information about the samba
mailing list