Automatic Mounting Of WinXP Shares At Start?
Hello.
Is there any way to get WinXP shares mounted automatically at startup on my Slackware10.0 box, without putting a clear-text password in /etc/fstab or any other config file? I can manually access shares on each machine rw from the other machine, and my Linux shares show up automatically on the WinXP machine, but I can't figure out a secure way to automatically mount the WinXP shares on this machine. This isn't a huge issue since I can gain access manually, but it would make things easier if I could automate the process. Any help is greatly appreciated. Thanx, Terje |
You can pass a credentials option. See the "smbmount" mna page for the usage details.
|
Thanx!
After reading the smbmount man pages, and a few threads from LQ, I've managed to get the shares from both machines automatically shared at startup. I did, however, encounter something of a glitch while testing the /etc/fstab settings...
After I got everything set up, but before rebooting, I mounted the WinXP share. Permissions were right, I had full rw access, and everything was working just fine -- until I tried to umount it. Even though I had shut down Konqueror, which I was using to browse the share, I got an error that saying "umount: /mnt/ksd: device is busy". Anybody have any ideas about that? The /etc/fstab entry is as follows: //KIM/SharedDocs /mnt/ksd smbfs credentials=/etc/samba/private/credentials,uid=1001,gid=100 0 0 Terje |
You may be able to use "lsof" to see what is locking the directory.
|
All times are GMT -5. The time now is 02:28 AM. |