[Samba] samba server only accessiblie via ip address and not
via dns name
Frederick C. Damen
fred at damen.org
Wed Mar 15 18:02:36 GMT 2006
I had what appears to be the same problem. The samba server would not show up in the
'My Network Places' and if I access the share with //lmhostname/share or \\lmhostname\share
(depending on client OS) I would get access denied, or something similiar. Accessing
the share with \\ipaddress\share worked fine.
I tried everything that I could find, even posting to this list, and nothing worked.
Shortly after starting windbindd it started to work, the samba server showed up in
'My network places' and I could access the share with the lmhostname. The fix may have
been windbind or some delayed effect of the many other things that I had tried.
I have not seen any reference to needing to run windbind in the simple case of serving
unix home accounts where they are all in /etc/passwd.
Hope this help,
Fred
> 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.
>
> ===========================================================
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>
More information about the samba
mailing list