smbmount script
I made a script to mount a samba share from a windows computer on a domain. I have been working a while to get everything working, and I think I'm am getting close. The error I get now says that the place I want to mount the share to on the linux box "is a directory" or something along those lines.
I am using the "smbmount" command, since "mount -t smbfs" seems to need root priviledges, which I don't feel like setting up
I don't have the script on this computer, so I cant actually post it, but any suggestions I you could give would help me out.
Also, once I get the script working, I need to know where to put it. The script takes information from the user currently logged in, (username, password, domain). The problem with copying it to the autostart folder in the users home directory is that users home directories aren't created until the user logs in, so I wouldn't be able to set it up for the user until they log in for the first time. Is there a place to put it where it would affect any/all users who log in?
Im using Suse 10.2 and KDE (not sure if that matters for this situation)
Sorry for the vague descriptions, but I don't actually have the computer that has the script,( its a school computer, and I'm not sure how deep of shit I would be in bringing it home, but am not willing to find out.)
Last edited by Ulfgar; 04-16-2007 at 05:49 PM.
|