[Samba] Samba acting as a domain member + netbios

Rowland Penny rpenny at samba.org
Thu Jan 25 17:34:37 UTC 2024


On Thu, 25 Jan 2024 16:28:57 +0000
Vincent DROUIN <vdrouin at chapsvision.com> wrote:

> Thanks for the advice about the security line, I won't use domain
> type anymore then.
> 
> I know name_status_find is using NetBios, what I don't know is why
> this function is called when using 'security = ads', and as a result
> of the fail my domain is added to the failed connection cache.

Whilst name_status_find is meant for netbios, if you look at the code,
there is this near the top of the function:

	if (lp_disable_netbios()) {
		DEBUG(5,("name_status_find(%s#%02x): netbios is disabled\n",
					q_name, q_type));
		return False;
	}

Which to myself, means that if 'disable netbios = yes' is set in
smb.conf , then return false and log a message if the log level is 5 or
greater.

If 'disable netbios = yes' is set in smb.conf, then netbios shouldn't
be used by Samba and you shouldn't be having problems with it.

I think you need to give us a bit more detail:

What version of Windows server ?
What version of Samba are you using ?
What OS is Samba running on ?
Please post the output of 'testparm -s'
   
At the moment, all I can say is that it all works for myself, but I am
using Samba (with netbios turned off and nmbd not running) against a
Samba AD DC (again with netbios turned off and nbt turned off).

Rowland
 
> 
> Then, every action that needs to have a look into the cache results
> in failing, and wbinfo -P returns "WBC_ERR_DOMAIN_NOT_FOUND"
> 
> I've got the following error message :
> wbd_ping_dc_done: dcerpc_wbint_PingDc_recv failed for domain:
> BERTINIT - NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND
> 
>



More information about the samba mailing list