Excuse this blooper, I got it backwards. I read it as getting to a Linux 
box from a windows machine,
not what was actually requested.

My apologies.

Bryan Zimmer wrote:

>I can tell you from my experience that accessing and writing to a Linux box
>from a windows machine using Samba really does work, and it works with the
>configuration as it is nearly out of the box. I used RedHat 9 and Fedora
>Core 2 both successfully in the same way.
>
>I used user, rather than machine, authentication, so it involved creating
>users in /etc/samba/smbusers and  passwords in /etc/samba/smbpasswd. The
>user id and password I used for the smbusers were the same as my Windows
>2000 logon name/password.
>
>That was the hardest part. Anyone for filling us in on how to create new
>smbusers? I did it a couple of times but can't bring it to memory.
>
>Anyway, the Windows machines that needed to access the Linux box share were
>all part of a workgroup and not a domain. In /etc/samba/smb.conf I declared
>the Linux box to be part of the same workgroup. You could conceivably use
>the SWAT utility to configure samba, but I just went through the
>/etc/samba/smb.conf and changed the appropriate lines, and created new
>shares at the bottom of the file. If you look in /etc/samba/smb.conf you
>will see what I mean. I left most things at standard distribution settings.
>Be sure to create a copy of the original config file in case you need to
>retrace your steps.
>
>Once you tweak the config file and create the samba users and passwords, you
>should start the daemon: (in RedHat/Fedora)
>
># service smb start
>
>And that should start two daemons, smb and nmb. The nmb is for netbios name
>resolution.
>
>Then you should see the new Linux Samba shares in "Network Neighborhood" in
>windows.
>
>Hope this at least gets you started.
>
>Bryan Zimmer
>
>
>
>
>
>BRYAN ZIMMER
>----- Original Message ----- 
>From: "Olwe Melwasul" <olwe at cpinternet.com>
>To: "TCLUG Mailing List" <tclug-list at mn-linux.org>
>Sent: Monday, August 16, 2004 1:05 PM
>Subject: Re: [TCLUG] Access to Windows share from Linux
>
>
>  
>
>>I'd like to do the same thing. Actually, I know about the Samba client
>>(not the Samba server) meant for "network browsing" and about LISA, the
>>daemon behind it. I'm guessing for programming there must be a Samba
>>"lib" somewhere on the Linux side that has a Samba client API.
>>
>>Olwe
>>
>>Larry Pint wrote:
>>
>>    
>>
>>>I am a programmer, not a Linux OS expert, so please bear with me.
>>>
>>>I need to access a shared drive on a Windows 2003 Server from within a
>>>program running on a Linux box.  I'm unable to figure out how to write
>>>to that drive.  I suspect it has something to do with either Samba,
>>>which we have installed on the Linux machine, or mounting the Windows
>>>share on the Linux machine (or both).  (Red Hat Linux version
>>>2.4.20-8(?)   Samba version 2.2.7a)
>>>
>>>Can someone tell me how to accomplish this?
>>>
>>>Thanks for any suggestions you can offer me.
>>>
>>>Larry  Pint
>>>
>>>
>>>
>>>_______________________________________________
>>>TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>>>Help beta test TCLUG's potential new home: http://plone.mn-linux.org
>>>Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
>>>tclug-list at mn-linux.org
>>>https://mailman.real-time.com/mailman/listinfo/tclug-list
>>>
>>>      
>>>
>>
>>_______________________________________________
>>TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>>Help beta test TCLUG's potential new home: http://plone.mn-linux.org
>>Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
>>tclug-list at mn-linux.org
>>https://mailman.real-time.com/mailman/listinfo/tclug-list
>>
>>    
>>
>
>
>
>_______________________________________________
>TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
>Help beta test TCLUG's potential new home: http://plone.mn-linux.org
>Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
>tclug-list at mn-linux.org
>https://mailman.real-time.com/mailman/listinfo/tclug-list
>  
>



_______________________________________________
TCLUG Mailing List - Minneapolis/St. Paul, Minnesota
Help beta test TCLUG's potential new home: http://plone.mn-linux.org
Got pictures for TCLUG? Beta test http://plone.mn-linux.org/gallery
tclug-list at mn-linux.org
https://mailman.real-time.com/mailman/listinfo/tclug-list