[Samba] Problems after PC is joined to the domain - Samba 4

steve steve at steve-ss.com
Tue Jun 3 04:18:24 MDT 2014


On Tue, 2014-06-03 at 08:38 +0300, Theodotos Andreou wrote:

> >
> OK I followed the guide blindly:
> 
> # grep 127 /etc/hosts
> 127.0.1.1	MYPCNAME.dom.forest.int MYPCNAME localhost
> 
> # cat /etc/hostname
> MYPCNAME.dom.forest.int
> 
> # grep hosts /etc/nsswitch.conf
> hosts:          files dns
> 
> # cat /etc/krb5.conf
> [libdefaults]
>          default_realm = DOM.FOREST.INT
>          dns_lookup_realm = false
>          dns_lookup_kdc = true
> 
> 
> The network interface is configured for DHCP
> 
> I don't think /etc/krb5.conf does anything useful because (correct me if 
> I am wrong) samba 4 has its own kerberos implementation?

You are wrong. /etc/krb5.conf does useful things because Samba4 has its
own Kerberos implementation.

> 
> I still get the same behavior:
> 
> # hostname -d
> dom.forest.int
> 
> # domainname
> (none)
> 
> Now what?
Still wrong. Look again. You're close, but not close enough.

What do you have at:
/etc/resolv.conf
/etc/samba/smb.conf

Is nscd running?
ping MYPCNAME
ping mypcname
getent hosts MYPCNAME
etc.

HTH
Steve




More information about the samba mailing list