[Samba] Success with samba4 ( debian wheezy member server )

steve steve at steve-ss.com
Wed Dec 18 08:23:13 MST 2013


On Wed, 2013-12-18 at 09:59 +0100, Cyril wrote:
> Le 17/12/2013 23:27, steve a écrit :> On Tue, 2013-12-17 at 17:41 +0100, 
> Cyril wrote:
>  >> There's some points I don't understand :
>  >>
>  >>
>  >>
>  >>   > 1) point your dns ( /etc/resolv.conf ) to the ad server.
>  >>
>  >> Ok, This is done by the DHCP server.
>  >>
>  > No chance.
>  >
>  > The only way on the member server is to hard code
>  > 127.0.0.1 hostname.domainname hostname
>  > to /etc/hosts
>  >
> 
> I think that's already the case, the workstation (windows and linux) is 
> resolving well the server name without any modification on the client 
> network configuration.
> 
I'm sure it is, but this is not the problem. I'd guess that the
workstation is not sending the correct fqdn to the DC. Maybe you don't
have access to /etc/hosts? 

> 
>  >>
>  >>> 2) make user hostname.domainname works.
>  >>> 	test it with :  hostname -s ( single name )
>  >>> 			    hostname -d ( domainname )
>  >>> 			    hostname -f  ( hostname.domainname )
>  >>
>  >> Ok, I add an "A" entry in the DNS Zone.
>  >>
>  > Not necessary. This is done when you join the domain.
> 
> I agree when joining windows workstation.
> 
> But with Linux workstation, I wasn't able to join without an entry in 
> the DNS server
> 

This is because as far as the DC is concerned, the fqdn of the
workstation does not include the correct domain name.

Steve




More information about the samba mailing list