[Samba] samba server only accessiblie via ip address and not via dns name

Heitmann, Herwarth herwarth.heitmann at orangemail.nl
Wed Mar 15 13:41:42 GMT 2006


hello,

from windows 2000/xp clients i can only connect to the samba server
using the ip address in the form:

\\<ipaddress>\share

\\<hostname>\share will give an authorization error

i have tried samba 3 and 2.2 with no difference

smb.conf:

# Global parameters
[global]
        workgroup = CMS
        netbios name = loki
        server string = Samba Server %v
        bind interfaces only = Yes
        security = SHARE
        guest account = vantive
        max log size = 50
        local master = No
        domain master = No
        hosts allow = 10.120., 127.0.0., 10.128., 10.144., 10.152.,
10.121.26., 10.121.18., 10.153.
        wins support = Yes
        dns proxy = Yes
[TEST$]
        comment = test
        path = /test
        create mask = 0644
        guest ok = Yes

[DOCS_INV$]
        comment = DocsOPEN file server for INVOICLIB
        path = /docsopen/invoice
        create mask = 0644
        guest ok = Yes

[DOCS_INV1$]
        comment = DocsOPEN file server for INVOICLIB
        path = /export/home/vantive
        read only = No
        create mask = 0644
        guest ok = Yes
        browsable = Yes

[DOCS_MAIL$]
        comment = DocsOPEN file server for mail
        path = /docsopen/mail
        read only = No
        create mask = 0644
        guest ok = Yes

[DOCS_DOC$]
        comment = DocsOPEN file server for docs
        path = /docsopen/doc
        read only = No
        create mask = 0644
        guest ok = Yes

[DOCS_PUB$]
        comment = DocsOPEN file server for public
        path = /docsopen/public
        read only = No
        create mask = 0644
        guest ok = Yes




===========================================================

De informatie opgenomen in dit bericht kan vertrouwelijk zijn en is alleen bestemd voor de geadresseerde. Indien u dit bericht onterecht ontvangt, wordt u verzocht de inhoud niet te gebruiken en de afzender direct te informeren door het bericht te retourneren. Hoewel Orange maatregelen heeft genomen om virussen in deze email of attachments te voorkomen, dient u ook zelf na te gaan of virussen aanwezig zijn aangezien Orange niet aansprakelijk is voor computervirussen die veroorzaakt zijn door deze email.

The information contained in this message may be confidential and is intended to be only for the addressee. Should you receive this message unintentionally, please do not use the contents herein and notify the sender immediately by return e-mail. Although Orange has taken steps to ensure that this email and attachments are free from any virus, you do need to verify the possibility of their existence as Orange can take no responsibility for any computer virus which might be transferred by way of this email.

===========================================================


More information about the samba mailing list