[Samba] What is wrong in my Samba setup?

Jason Long hack3rcon at yahoo.com
Thu Apr 29 13:18:08 UTC 2021

I pasted it here:

The realm is the DNS domain? Then, what is Domain in below output?


I did below command and got an error:

# host -t SRV _ldap._tcp.mydomain.z
Host _ldap._tcp.mydomain.z not found: 3(NXDOMAIN)

On Thursday, April 29, 2021, 05:00:48 PM GMT+4:30, Rowland penny via samba <samba at lists.samba.org> wrote: 

On 29/04/2021 13:13, Jason Long via samba wrote:
> Hello,
> I use Fedora Server and installed the last version of Samba from the source code on it. My "/etc/hosts" file contents is:
> And the output is:
> https://paste.ubuntu.com/p/8bd7Q42wNH/

The link doesn't appear to work

> The Samba service is running without any error.
> I have some questions:
> 1- What is realm?

It is the kerberos realm, which must be the dns domain in uppercase.

> 2- When I want to verifying DNS, I got below error:
> # host -t SRV _ldap._tcp.mydomain.mydomain.z.
> Host _ldap._tcp.mydomain.mydomain.z. not found: 3(NXDOMAIN)

Too many 'mydomain' , try it like this:

host -t SRV _ldap._tcp.mydomain.z


To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba

More information about the samba mailing list