Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have a samba server running. Once I log on to the samba server using Username & Pass is it possible to actually log out to where I could use another username and pass to log in to see that users home directory?? The reason i ask is i have a lab setup in my house and I have several test users on the linux machine(FC3). I signed on using one user account and I am able to see his/her home directory and share info between my windows boxes and that home directory. But lets say I want to log out and sign into the samba server using a different username how would one go about that?
I have the red hat linux bible here and have been trying to figure out how to create a share using the terminal. Lets say I have a directory called "/sharethis" how would i go about sharing that directory with the windows boxes using the terminal?
windows has a major limitation here -- it does not want to allow you to log on as multiple users to the same resource. since you are only testing, i assume you won't be telling windows to 'remember password' so if you're lucky, when you close the window it'll forget the credentials, and you'll have no problems.
path = /sharethis
comment = Im a share
valid users = shareuser
write list = shareuser
read only = no
browseable = no
You didn't specify your client. Are you asking if you can log out from a windows box, or from a linux box?
To do it from Windows, select your network drive (the smb share) and disconnect. Windows should then ask for username and password the next time you connect. If windows won't ask for credentials, then disconnect and log out of windows, then log back in. That should do it.
If you are doing it from a linux client all you have to do is issue an smbumount <mountpoint> then issue an smbmount with the credentials you want to test.
i don't work with samba/windows (or windows network shares in general) all that often, but my question regarding your comments is: would windows actually map the share without you directing it to?
I know with windows XP places you visit (on the network) should show up in 'my network places'... but to 'disconnect' a drive, wouldn't it have had to have been mapped by the user?
You would have to tell windows to map the share, and if you check the box "reconnect at each login" it would remap it each startup. To disconnect, it first would have had to be connected (mapped).
Ummm....I think I know where you are going. Yes, it is true that XP keeps all this "my network places" info without mapping the drive. I don't know if it stores the credentials to access those locations are not. Good point.