Linux - Software This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-13-2005, 09:24 AM
|
#1
|
|
Member
Registered: Oct 2003
Location: N.C USA
Distribution: Fedora Core 4
Posts: 65
Rep:
|
Samba Shares & Users
Hello
[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?
|
|
|
|
02-13-2005, 11:06 AM
|
#2
|
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
[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
that help?
|
|
|
|
02-13-2005, 02:24 PM
|
#3
|
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
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.
|
|
|
|
02-13-2005, 08:04 PM
|
#4
|
|
Senior Member
Registered: Sep 2004
Location: Savannah, GA
Distribution: Ubuntu, Gentoo, Mythbuntu, ClarkConnect
Posts: 1,154
Rep:
|
jiml...
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?
|
|
|
|
02-14-2005, 04:36 AM
|
#5
|
|
Senior Member
Registered: Sep 2003
Posts: 3,171
Rep: 
|
Quote:
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.
Last edited by jiml8; 02-14-2005 at 04:38 AM.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:38 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|