[Samba] Access shares from DNS alias

Christopher Chan christopher.chan at bradbury.edu.hk
Sun Mar 9 23:46:21 MDT 2014

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.

On Monday, March 10, 2014 01:01 PM, Chan Min Wai 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