incorrect smbmount mount -t smbfs //imageserver/images$ /... correct mount -t smbfs //imageserver/images$ /... you don't need the "smbmount" when doing it this way. You can also put the line in a text file, make it executable and you have a shell script! Larry Pint wrote: > Sam, > > Thanks for the help. This list is great! (Actually it's the people > who give their time to help newb's like me that are great!!) > > I tried your suggestion. I got an error message that said "could not > resolve mount point -t". I created a directory under /mnt named > "ir". The command line I used for the mount was: > > "smbmount mount -t smbfs //imageserver/images$ /mnt/ir -o > username=larryp,password=xxxxxxxx" (where xxxxxxxx was the password > for larryp on the Windows server) > > It looks to me like it didn't recognize the "smbfs" as a valid file > system. Could it be that that is not installed on this Linux server? > I thought it would be installed as part of Samba. > > Any ideas? > > Thanks again > > Larry > > smac at visi.com wrote: > >>I've found the easist way to do this is... >>Be sure Samba is running >>Open a Shell if your running X windows >>Change directory to /mnt >>Create a directory in /mnt and remember the name >> >>type smbmount at the # >> you will have and example of the string you need to type to mount the >> smb share something like the following >> >>mount -t smbfs //servername/sharename /mountdirectory -o >>username=mywindowsusername,password=mywindowspassword >> >>//servername/sharename Windows share >> >>/mnt/mountdirectory directory in /mnt >> >> >>Sam. >> >> >>Quoting Larry Pint <larry.pint at ntuminc.com>: >> >> >> >>>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