[Samba] Access shares from DNS alias

Chan Min Wai dcmwai at gmail.com
Sun Mar 9 23:01:40 MDT 2014


Hi Valentin,

I believe it should be a DHCP Server
there is should be a dns default domain/search domain.

That should be Your domain "timco.int"

so when you type file -- it will goto file.timco.int

of course you can also use the netbios alias like below.




On Mon, Mar 10, 2014 at 2:08 AM, Valentin Cheche <valentin at cheche.ro> wrote:

> On Sunday, March 9, 2014 4:20:01 PM UTC+2, Valentin Cheche wrote:
> > Hello,
> >    I have setup a Samba 4 ADDC following the tutorial in the wiki. I
> > need it to be a DC and a fileserver.
> >    Everything works fine and dandy except that I cannot access the
> > file shares via a DNS alias, instead of the original hostname/DNS
> > name. And I need this for various reasons, enough to halt going live
> > with it if it doesn't work. :-(
> >    When accessing via the machine's fqdn everything works. When using
> > a DNS alias I can get to list the shares but I get access denied when
> > trying to get into them.
> > (....)
>
> A one line edit in smb.conf fixed my problem.
> If anyone knows if more needs to be done (in the Samba 4 context),
> please give me a hint.
> By all looks, it works as expected now.
>
> [global]
>     ....
>     netbios alias = file file.timco.int fileserver fileserver.oldtim.local
>     ....
>
> Got so distracted by the Windows-ish feel and way of management of
> Samba4 that I almost forgot about smb.conf. :-)))
>
> Cheers,
> Val.
> --
> 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