What are the steps after configuring the smb.conf file to smbmount a SMB drive automatically, each time you reboot? I knew about this on version 5.1 but I have slept since then (about 3 years). Tom Wilson Network Manager NCI Building Systems, LP 10943 N. Sam Houston Parkway West Suite 209 Houston, TX 77064 281-897-7609 twilson@ncilp.com -------------- next part -------------- HTML attachment scrubbed and removed
At 05:02 PM 9/25/00 -0500, Tom Wilson wrote:>What are the steps after configuring the smb.conf file to smbmount a SMBdrive >automatically, each time you reboot? I knew about this on version 5.1 but I >have slept since then (about 3 years). The latest version of Samba is 2.0.7 and at the current release incrementation rate I expect a version "5.1" to be a looooong way off. Personally I do not recall ever being able to mount a filesystem via smb using smb.conf. . . AFAIK smb.conf is strictly a configuration file for the Samba server, not the client (it may affect smbclient, anyone know? Anyway smbclient does not itself mount remote filesystems). Exactly what you would do varies by OS I guess, in most recent distributions of Linux (I'm guessing that the "5.1" could have been "Redhat Linux 5.1") you would insert a reference to the filesystem in your /etc/fstab file and tell it to mount as a "smbfs" filesystem. Different client programs would have different methods, but I suspect that not involving smb.conf should be fairly universal. n.b. I'm guessing you'll smack yourself in the forehead and go "oh yeah. . ." when you read this. -- "There are two major products that come out of Berkeley: LSD and UNIX. We don't believe this to be a coincidence." -- Jeremy Anderson
[Do you have to post html in your email?] On Mon, 25 Sep 2000, Tom Wilson wrote:> What are the steps after configuring the smb.conf file to smbmount a SMB > drive automatically, each time you reboot? I knew about this on version > 5.1 but I have slept since then (about 3 years).Version 5.1 of what? samba is only up to 2.0.7 ... You can make smbmount mount smbfs automatically in a number of ways. 1. put a line in /etc/fstab //server/share /mnt/smb smbfs defaults,username=foo,password=bar 0 0 (untested, but something like that) 2. setup autofs, the automounter map entry for a smbfs mount may look something like this: smb -fstype=smbfs,username=u,password=p ://server/share 3. add something to /etc/rc.d/rc.local (assuming sysv style init) mount -t smbfs -o username=u,password=p //server/share /mnt/smb 4. be creative, add a line to /etc/inittab ... I don't know of any specific steps. /Urban