Seeing SAMBA in embedded device from vista
Rubén Lagar
ruben.lagar at vanios.es
Wed Jun 18 11:28:51 GMT 2008
I have read everywhere that
security=user
is preferred by developers and recommended, but I have not found any way
to achieve the same effect. If I use that option, Vista always is asking
me for an username and a password, so then people who wants to use my
device has to know those params. I have looked for a solution in google
and in mail archives, but I have not found anything. Maybe it is a
newbie question, but that is what I am.
About what I asked first in my email, could you please help me with
something?
I apologize if I should not ask these type of things in this list, but I
am really stuck and I don't know how to go forward.
Volker Lendecke escribió:
> On Wed, Jun 18, 2008 at 11:40:50AM +0200, Rubén Lagar wrote:
>
>> Hello,
>>
>> I am working on a embedded linux device with an arm processor. This
>> devices creates a dedicated network with a generic computer with Windows
>> Vista.
>>
>> I have succesfully built samba for it, and runned it with commands:
>>
>> smbd -D
>> nmbd -D
>>
>> My configuration file is like this:
>>
>> [global]
>> netbios name = MYDEVICE
>> name resolve order = wins lmhosts hosts bcast
>> workgroup = WORKGROUP
>> server string = Samba Server
>> security = share
>> load printers = no
>> guest account = root
>> log file = /usr/local/samba/var/log.%m
>> max log size = 50
>> interfaces = 1.1.1.1/24
>> wins support = yes
>> dns proxy = no
>>
>> [public]
>> path = /
>> public = yes
>> only guest = yes
>> writable = yes
>> printable = no
>>
>>
>> So in Windows Vista I can see files in the device through the path
>> \\1.1.1.1. Also I can see my device in "My network places" as
>> "MYDEVICE", but when I try to access files with this path (e.g
>> "\\MYDEVICE\public\smb.conf") I am always getting an error "Windows can
>> not access \\MYDEVICE, check name and network are right".
>>
>> Please, whan am I doing wrong? I have also tried with other
>> configurations like:
>>
>> [global]
>> netbios name = MYDEVICE
>> remote announce = 1.1.1.2
>> workgroup = WORKGROUP
>> server string = Samba Server
>> security = share
>> load printers = no
>> guest account = root
>> log file = /usr/local/samba/var/log.%m
>> max log size = 50
>> interfaces = 1.1.1.1/24
>> local master = yes
>> os level = 33
>> preferred master = yes
>> wins support = yes
>> dns proxy = no
>>
>>
>> But I cannot get it to work properly. I am stuck. Could somebody please
>> help me with this? Thank you!!
>>
>>
>>
>
> Don't use security=share. There are other tricks to achieve
> a similar effect.
>
> Volker
>
More information about the samba-technical
mailing list