[Samba] SAMBA: how do I tell SAMBA to not prompt for id/passwords when connecting from windows (vista)

Robert Wickberg rwickberg at gmail.com
Sat Oct 25 15:03:43 GMT 2008

If you don't want to be prompted for user names and passwords, one hint
is to make sure you use the same username and password on both the samba
boxes and the windows boxes, as windows will try to use your current
account's username and password when connecting to a server, and will
only prompt if that doesn't work.

Sometimes I run into problems with this if the account in question has
no password, so use one on both machines.  If you don't want to be
bothered logging in each time you start the windows box, type "control
userpasswords2" at a command prompt in Windows and you can set the
machine up to automatically log in at startup to an account which does
have a password.  (haven't tried this on Vista, works on Win2000 and

Even if the accounts are different, if you map a network drive in
Windows to the samba server, tell it to reconnect at logon, click the
option that says use a different user name, tell it what the user name
and password are, then the windows box will remember the samba account,
and use that account for all connections to that samba server.

On Fri, 2008-10-24 at 10:01 -0400, joseph collins wrote:
> I have a linux box on my home network and it also has xp and win viata on the same network.
> It is all friendly - how do I drop the need for Id/pw (if I can't, how do I set the id/pw
> so what I type in win vista gets passed to samba cleanly and thus I get in. I have tried
> many things in smb.conf and cannot figure it out
> TIA,
> Joe
> _________________________________________________________________
> You live life beyond your PC. So now Windows goes beyond your PC.
> http://clk.atdmt.com/MRT/go/115298556/direct/01/-- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba

More information about the samba mailing list