[Samba] Samba ADS-member-server: FQDNs in /etc/hosts

Stefan G. Weichinger lists at xunil.at
Mon Jul 10 11:08:30 UTC 2017


Am 2017-07-10 um 12:08 schrieb Rowland Penny via samba:

> I would change /etc/hosts to this:
> 
> 127.0.0.1       localhost
> 127.0.1.1       pre01svdeb01.my.tld     pre01svdeb01
> 
> ::1     localhost ip6-localhost ip6-loopback
> ff02::1 ip6-allnodes
> ff02::2 ip6-allrouters
> 
> But replace '127.0.0.1' with the real ipaddress of pre01svdeb01.my.tld
> if it has a fixed IP, if it hasn't, you can remove the entire line.
> You don't need anything else, the DNS provided by your AD DC should
> provide everything else.

Thanks, I consider doing so after work hours ... right now I am quite
happy that they all can work so far.

> Probably not, /etc/krb5.conf should only contain something like this:
> 
> [libdefaults]
>     default_realm = MY.TLD
>     dns_lookup_realm = false
>     dns_lookup_kdc = true

Yes, sure, understand.

Seems that the [realms] clause slipped in as I installed some krb5 package.

btw: the list of packages to be installed on debian might be worth
documenting. It was a bit of trial and error for me to get all the
needed krb5-stuff onto that machine. ( krb5-config krb5-locales
libkrb5-3 libpam-krb5 krb5-user ... )


And what does this tell me, please:

[2017/07/10 13:07:48.593400,  1]
../source3/auth/token_util.c:430(add_local_groups)
  SID S-1-5-21-2940660672-4062535256-4144655499-1008 -> getpwuid(11008)
failed
[2017/07/10 13:07:48.593415,  1]
../source3/auth/auth_generic.c:172(auth3_generate_session_info_pac)
  Failed to map kerberos pac to server info (NT_STATUS_UNSUCCESSFUL)

?



More information about the samba mailing list