Heitmann, Herwarth
2006-Mar-15 14:00 UTC
[Samba] samba server only accessiblie via ip address and not via dns name
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. ===========================================================
Louis van Belle
2006-Mar-15 15:31 UTC
[Samba] samba server only accessiblie via ip address and not viadns name
i've seen this to, but what heppens if you browse over the network. for me for example, when i enter \\hostname\share i get access denied. but when i browse over the network in can access \\hostname\share Louis>-----Oorspronkelijk bericht----- >Van: samba-bounces+louis=van-belle.nl@lists.samba.org >[mailto:samba-bounces+louis=van-belle.nl@lists.samba.org] >Namens Heitmann, Herwarth >Verzonden: woensdag 15 maart 2006 14:42 >Aan: samba@lists.samba.org >Onderwerp: [Samba] samba server only accessiblie via ip >address and not viadns name > >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 >
Frederick C. Damen
2006-Mar-15 18:03 UTC
[Samba] samba server only accessiblie via ip address and not via dns name
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 >