How can I logout of a samba share from Windows XP (without logging out the user on XP client)? I've got a samba 3.0.14 running on debian sarge in user=security mode. When I to file run "\\server" from a windows XP client, I get prompted for a username / password and everything works fine. If I run "net use" on the XP machine it may or may not show the connection to the server. (Don't know what affects that -- what shares I'm connected to?). But if I run "net use * /del" it disconnects from all the shares it sees. After this "net use" does not show any connected shares. If, however, I connect to the samba server (file run "\\server") it doesn't not prompt for a username / password but connects as the user from the original login. Windows is not saving the password -- if I logout from XP and log back it, I'm asked for a username/password again. Somehow the XP client is staying connected to the samba server. How can I force a disconnect? The samba server it setup (and works) to handle domain logons (does that matter?), but most clients run certain programs constantly and (want) just log in and out to access their files. Thanks, Ben
> If, however, I connect to the samba server (file run "\\server") it > doesn't not prompt for a username / password but connects as the user > from the original login. Windows is not saving the password -- if I > logout from XP and log back it, I'm asked for a username/password > again. Somehow the XP client is staying connected to the samba server.Before you reconnect, run "smbstatus | grep <username>" on the server and double-check that the user really is staying connected. It's possible that Windows does cache the credentials, and only wipes that cache when you log out. If the client is staying connected, running "net use \\samba /del" should disconnect from the server, but I'm surprised that the connection wouldn't be in the "net use" list. Cheers, Adam.