[Samba] What is wrong in my Samba setup?
Jason Long
hack3rcon at yahoo.com
Thu Apr 29 13:26:55 UTC 2021
Thank you.
Problem solved:
# host -t SRV _ldap._tcp.mydomain.z
_ldap._tcp.mydomain.z has SRV record 0 100 389 mydc.mydomain.z.
# host -t A mydc.mydomain.z
mydc.mydomain.z has address 192.168.56.7
In the below lines, the realm must have suffix, but Domain must not?
Realm [MYDOMAIN.Z]: MYDOMAIN.Z
Domain [MYDOMAIN]: MYDOMAIN
On Thursday, April 29, 2021, 05:49:17 PM GMT+4:30, Rowland penny via samba <samba at lists.samba.org> wrote:
On 29/04/2021 14:14, L.P.H. van Belle via samba 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
His realm is 'MYDOMAIN.Z' so his search domain should be 'search mydomain.z'
Rowland
--
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