I've got the following in my /etc/fstab file
//abinidi/common /abinidi/common smbfs uid=500,gid=500,credentials=/etc/smbmount_passwd 0 0 //abinidi/homes /abinidi/home smbfs uid=500,gid=500,credentials=/etc/smbmount_passwd,rw 0 0 //abinidi/networking /abinidi/networking smbfs uid=500,gid=500,credentials=/etc/smbmount_passwd,rw 0 0 /d 500 is my user id /etc.smbmount_passwd is a root rw file with the following content username = steves password = xxxxx Of course /abinidi/... are local directories Hope that helps On Tue, 1 Oct 2002 04:17, Barry Skidmore wrote: > This is an excellent idea. In investigating this, however, I have > found that I can not even do the following: > -------------------------------------------------------------------- > mount -t smbfs -o username=skidmore,password=xxx //sheltie/linux > /root/mnt/sheltie/linux > execvp of smbmnt failed. Error was No such file or directory.smbmnt > failed: 1 > --------------------------------------------------------------------- > I can assure you that "/root/mnt/sheltie/linux" exists, and if I do the > following with > 'smbclient', I can connect. > (I can also mount '//sheltie/linux' using the GUI 'xSMBrowser') > > ------------------------------------------ > [root@mail skidmore]# smbclient //sheltie/linux -U skidmore%xxx > added interface ip=xxx.xxx.xxx.xxx bcast=xxx.xxx.xxx.xxx > nmask=xxx.xxx.xxx.xxx > Got a positive name query response from xxx.xxx.xxx.xxx ( xxx.xxx.xxx.xxx ) > smb: \> ls > . D 0 Tue Sep 10 12:33:52 2002 > .. D 0 Tue Sep 10 12:33:52 2002 > Nutritional Needs of Dogs With Cancer.txt 5665 Mon Mar 8 > 15:32:52 1999 > > 38152 blocks of size 1048576. 28567 blocks available > smb: \> > --------------------------------------------------------------------- > > Any thoughts? > > Thanks, > Barry > > > > Have you tried smbmount "\\\\client machine\\dir" > > > '/home/barry' -o username=xxx password=xxx > > > in your rc.local file for boot and the unmount in > > > the > > > halt file.? -- Steve Simeonidis Network Engineer, Spherion Education Spherion Group Ltd 1st Floor, 493 St. Kilda Rd, Melbourne VIC 3004, Australia Phone: +61 3 9243 2382 Fax: +61 3 9820 2010 Email: [EMAIL PROTECTED] The information contained in this email and any attachments to it: (a) may be confidential and if you are not the intended recipient, any interference with, use, disclosure or copying of this material is unauthorised and prohibited; and (b) may contain personal information of the recipient and/or the sender as defined under the Privacy Act 1988 (Cth). Consent is hereby given by the recipient(s) to collect, hold and use such information and any personal information contained in a response to this email, for any reasonable purpose in the ordinary course of Spherion's business, including forwarding this email internally or disclosing it to a third party. All personal information collected by Spherion will be handled in accordance with Spherion's Privacy Policy. If you have received this email in error, please notify the sender and delete it. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
