Fedora Linux Support Community & Resources Center
Old 3rd December 2009, 05:49 AM
yu xintian Offline
Registered User
Join Date: Oct 2009
Posts: 51
Question Samba: How to switch user when you access to server from Windows?

Hi all ! I have samba server(Fedora 11) here,but when I want to access to it from WindowXP ,the first time you need to tap in user name and password.But the next time ,you automatically log in Samba server with the user name as the first time you used. But I have not clicked the "Remeber me " option when I logged in.
I want to switch user when I want to log in samba,does anybody know what is wrong ? Any advice is welcome ,thank you !

security = user
passdb backend = tdbsam
wins support = yes
path = /samba_folder
read only = yes
writable = yes
browseable = yes
guest ok = no
Reply With Quote
Old 3rd December 2009, 05:59 AM
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
Join Date: Sep 2007
Location: NYC
Posts: 8,129
Can't you just set it in My Network Places?

I find that if I log out, then log back in, I might have to reenter the user name and password--but I don't pay attention whether that's consistent or not. It might be a time limit thing, but I've never paid close attention.

Do you mean that on XP, you, for example, open My Network Places and go to the samba machine, then, just close the My Network Places Window, and after a few minutes, go back to the samba machine in My Network Places and once again have to log in?
Reply With Quote
Old 3rd December 2009, 07:01 AM
yu xintian Offline
Registered User
Join Date: Oct 2009
Posts: 51
Yes ,Scottro . Now ,I don't have to re-enter password or user name if I closed the window and login again . But I want to re-enter user name and password when I log in again,so that I can log in as another user. As I remember ,we can do like this when I learned this in college.......I don't think it is a matter of time limit thing ,because after I have closed the window for a long time ,I still have this problem ,even if I restart the network in WindowsXP. The only way to solve this problem,as I currently know ,is restart WindowsXP system .
Reply With Quote
Old 25th December 2009, 09:21 PM
Vector Offline
Join Date: Jul 2006
Location: Transgression
Age: 37
Posts: 1,183
What kind of samba authentication are you using? If you're using the default auth, then i have no clue what's going wrong. If you're using some other form, then try using the default. Does it still NOT require a login AFTER you log out of windows? I never have to enter the password again, unless i log out of windows first. If this is your situation, then it is likely that this is a windows issue, and you may want to look for a setting in the registry to change the time that a password is remembered for...

Sorry, but that's about all i'm worth in this thread............
Reply With Quote
Old 28th December 2009, 02:28 AM
yu xintian Offline
Registered User
Join Date: Oct 2009
Posts: 51
Hi ,Vector . This problem is solved: it is because Windows don't really close the connection with Linux after you close the window that you use to transfer files.You should run "net user */ del " from "start"->"exec" to shut down the connection manually .It works for me
Reply With Quote

access, samba, server, switch, user, windows

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to switch user in Samba? yu xintian Using Fedora 0 24th November 2009 05:41 AM
Windows can't access Samba server eliufoo Servers & Networking 8 17th October 2007 03:58 PM
Samba: access/user problems Liticovjesac Servers & Networking 11 19th January 2006 06:45 PM
Samba: Windows boxes can't access my FC2 Samba shares iontyre Servers & Networking 13 26th October 2004 04:49 PM

Current GMT-time: 20:44 (Tuesday, 22-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat