LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 05-05-2004, 11:33 AM   #1
linuxzouk
Member
 
Registered: Apr 2004
Location: Malaysia
Distribution: Fedora Core
Posts: 93

Rep: Reputation: 15
Network Servers username and password cache


Currently using Fedora Core 1.

I tried to access my other machine (windows 2000 pro) using Network Servers. I accidentally entered the invalid username and password. So it gave me an error, You do not have the permissions necessary to view the contents of "smb://win2kpro".

I close and reopen Network Servers and try to access my machine again, still it gives me the same error, not allowing me to key in the valid username and password. Have to restart x-windows then only it will prompt me for authentication.

How do I not restart x-windows and clear smb username and password cache?

Thanks

Last edited by linuxzouk; 05-05-2004 at 11:37 AM.
 
Old 05-05-2004, 03:52 PM   #2
queezythegreat
LQ Newbie
 
Registered: Jul 2003
Location: Canada
Distribution: Red Hat Linux 9.0 / Gentoo
Posts: 15

Rep: Reputation: 0
To restart X Windows as root run /sbin/telinit 3, this cheanges your current run level to 3, also known as multi user mode. This will shutdown X-Windows. To get back to X-Windows just run /sbin/telinit 5 and you will be back. I'm assuming that you have a graphical login and that your default runlevel is 5. There is also another way, less gently solution, press CRTL+ALT+Backspace(this kill the X-Windows server). As for the username/password it should be cleared once you restart the server. Hope that helps.
 
Old 05-05-2004, 07:58 PM   #3
linuxzouk
Member
 
Registered: Apr 2004
Location: Malaysia
Distribution: Fedora Core
Posts: 93

Original Poster
Rep: Reputation: 15
Thanks for reply, but i think you get my question wrong. I'm not asking how to restart x-windows but "How do I clear the smb username and password cache WITHOUT restarting x-windows?"

Kind of troublesome to restart x-windows everytime there is a typo during authentication login

Thanks again
 
Old 05-06-2004, 10:11 AM   #4
queezythegreat
LQ Newbie
 
Registered: Jul 2003
Location: Canada
Distribution: Red Hat Linux 9.0 / Gentoo
Posts: 15

Rep: Reputation: 0
Oh ... Sorry. Then I don't know quite how to solve you problem. What are you using??? Konqueror? Maybe if you restart the program that you use, that will fix your problem.
 
Old 05-15-2004, 12:25 AM   #5
linuxzouk
Member
 
Registered: Apr 2004
Location: Malaysia
Distribution: Fedora Core
Posts: 93

Original Poster
Rep: Reputation: 15
i'm using nautilus

found out something new. that problem only happens if i specify the pc-name

smb://win2k-svr

but if i specify by ip

smb://192.168.0.1

then i would not have that error. Is this a bug with nautilus?
 
Old 05-27-2004, 03:43 AM   #6
paulecoyote
LQ Newbie
 
Registered: May 2004
Location: Dorset, UK
Distribution: Gentoo 2004.2
Posts: 18

Rep: Reputation: 0
Did you ever find out the answer to this (being able to use machine name rather then ip?)
 
Old 05-27-2004, 11:14 AM   #7
linuxzouk
Member
 
Registered: Apr 2004
Location: Malaysia
Distribution: Fedora Core
Posts: 93

Original Poster
Rep: Reputation: 15
sad to say i can't find the solution

now even worse, using fedora core 2 can't seem to make either smb://192.168.0.1 or smb://win2kpro to work

not sure what happened to nautilus
 
Old 06-02-2004, 08:08 AM   #8
paulecoyote
LQ Newbie
 
Registered: May 2004
Location: Dorset, UK
Distribution: Gentoo 2004.2
Posts: 18

Rep: Reputation: 0
I posted another thread about this - discovered if you put the pathname to the share

eg:
smb://paulscomputer/cdrive

it would ask you for a username and password and then behave properly. It refused to display the shares on a particular computer though.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remount a network SMB share (on reboot) requiring a username & password BuckRogers01 Linux - Networking 1 07-09-2005 11:53 AM
username/password sailu_mvn Programming 5 12-21-2004 03:21 AM
UserName and Password luis8460 Red Hat 0 07-08-2004 04:45 AM
Username and Password dance2die Arch 3 09-01-2003 03:32 PM
No username and password Tec1 Linux - Software 1 08-10-2003 09:38 AM


All times are GMT -5. The time now is 10:48 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration