[Samba] What is wrong in my Samba setup?
L.P.H. van Belle
belle at bazuin.nl
Thu Apr 29 13:26:48 UTC 2021
If everything else if correct. (its in the bottom also)
echo "search $(hostname -d)" > /etc/resolv.conf
echo "nameserver $(hostname -i)" >> /etc/resolv.conf
Optional add more AD-DCs ip for nameserver after this one
Greetz,
Louis
> -----Oorspronkelijk bericht-----
> Van: Jason Long [mailto:hack3rcon at yahoo.com]
> Verzonden: donderdag 29 april 2021 15:20
> Aan: samba at lists. samba. org; L.P.H. van Belle
> Onderwerp: Re: [Samba] What is wrong in my Samba setup?
>
> My "/etc/resolv.conf" is wrong? What it should be?
>
>
>
>
>
>
> On Thursday, April 29, 2021, 05:44:48 PM GMT+4:30, L.P.H. van
> Belle via samba <samba at lists.samba.org> wrote:
>
>
>
>
>
>
>
> > -----Oorspronkelijk bericht-----
> > Van: samba [mailto:samba-bounces at lists.samba.org] Namens
> > Jason Long via samba
> > Verzonden: donderdag 29 april 2021 14:13
> > Aan: samba at lists.samba.org
> > Onderwerp: [Samba] What is wrong in my Samba setup?
> >
> ....... Remove a part, but from here..
>
> >
> > The contents of the "/etc/krb5.conf" file is:
> >
> > [libdefaults]
> > default_realm = MYDOMAIN.Z
> > dns_lookup_realm = false
> > dns_lookup_kdc = true
> >
> >
> Remove from here untill..
> > [realms]
> > MYDOMAIN.Z = {
> > default_domain = mydomain.z
> > }
> >
> >
> > [domain_realm]
> > mydc = MYDOMAIN.Z
> >
> ..You are HERE
>
> >
> > The Samba service is running without any error.
> >
> > I have some questions:
> >
> > 1- What is realm?
> A Kerberos realm is the domain over which a Kerberos
> authentication server
> has the authority to authenticate a user, host or service.
> A realm name is often, but not always the upper case version
> of the name of the DNS domain over which it presides.
>
> >
> > 2- When I want to verifying DNS, I got below error:
> Yes,
> >
> > # host -t SRV _ldap._tcp.mydomain.mydomain.z.
> > Host _ldap._tcp.mydomain.mydomain.z. not found: 3(NXDOMAIN)
> >
> > # host -t SRV _kerberos._tcp.mydomain.mydomain.z.
> > Host _kerberos._tcp.mydomain.mydomain.z. not found: 3(NXDOMAIN)
> >
> > # host -t A mydc._tcp.mydomain.mydomain.z.
> > Host mydc._tcp.mydomain.mydomain.z. not found: 3(NXDOMAIN)
> >
> >
> > Which part of my configuration is wrong?
> /etc/resolv.conf
> search mydomain.mydomain.z
> nameserver 192.168.56.7
>
>
> >
> > Thank you.
>
>
>
>
> Your welkom.
>
> Greetz,
>
> Louis
>
>
> --
> 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