Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I used smbclient [...] -U once, and I entered some network credentials.

Now when I browse the server with Thunar (xfce file manager), it remembers the credentials I entered. How can I make the computer forget every username/domain/password I ever entered?


Xubuntu 11.10, most recent samba/everything updates.

share|improve this question
    
As far as I know smbclient doesn't do any caching of credentials, nor does it support anything like gnomekeyring. Are you sure it's not just using your UNIX username? –  jelmer Mar 28 '12 at 22:54
    
@jelmer I'm sorry I didn't make this clear enough. smbclient itself does indeed not remember the credentials by itself it seems, however, after I entered them once in smbclient, Thunar (xfce file manager) remembers them. So the caching is probably done by something other than smbclient. Sorry, the lack of information was my fault. –  dialer Mar 31 '12 at 12:59
add comment

2 Answers 2

up vote 3 down vote accepted

I don't have a Linux box booted at the moment, so I can't provide specific instructions - but Gnome (and probably XFCE) maintain a 'keyring' of credentials. Have you tried looking around for your desktop environment's keyring and clearing that?

share|improve this answer
add comment

Simply provide the credentials in the command, e.g.

smbclient //server/share -U USERNAME%PASSWORD
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.