[Samba] Access shares from DNS alias

Valentin Cheche valentin at cheche.ro
Mon Mar 10 04:37:07 MDT 2014

On Monday, March 10, 2014 7:50:01 AM UTC+2, Christopher Chan wrote:
> Just to let you guys that the int root domain does exist. It definitely
> should not be used as a short form of internal.
>  e.g. http://www.un.int/
>  Unless, of course, you are running an actual domain under .int.

Hi Christopher,
   Yes, I am aware of the .int situation, but it has such a
restrictive registration policy that I feel safe using it for
.int(ernal) purposes. :-)
This, plus choosing a domain name improbable to come up on .int (timco
and oldtim are not really the original domain names ;-) ), plus having
locks in place so that my workstations only interrogate and trust my
internal DNS servers for this domain, and not go out on the Internet
for the queries.

Thank you for the heads up,

On Mon, Mar 10, 2014 at 7:01 AM, Chan Min Wai <dcmwai at gmail.com> wrote:
> 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