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.
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[users]
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?
[Shares]
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?
[users]
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.
[shares]
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.