Home All Groups Group Topic Archive Search About

XP not prompting for username/password connecting to a share

Author
16 Jan 2009 12:48 PM
parish
This is an old problem that i've seen before but can't remember how I fixed it. Unfortunately, all the "solutions" I've found by Googling are to create matching usernames on all machines. I've got two Samba servers - -redshift -and -postbag -- and connect to them with two XP machines and a Mac. One XP machine and the Mac prompt me for username and password, I enter them, and everything works as expected on both -redshift -and -postbag-. The other XP machine - -testlap -- prompts for username/password when connecting to -postbag -and works as expected, however, when trying to connect to -redshift -it doesn't prompt for username/password and after a short while comes back with the error \"YOU DO NOT HAVE PERMISSION TO CONNECT TO \\REDSHIFT\HOMES. CONTACT YOUR SYSTEM ADMIN.....\" (can't remember the exact wording, but it's a standard XP error). Looking at the Samba logs on -redshift -I can see that the reason it's failing is because it (-testlap-) is trying to connect as user Administrator - the user I'm logged onto testlap as - which doesn't exist on -redshift-. This isn't a Samba-specific problem as I've had the same problem between two Windows boxes before. It's something to do with XP thinking - or behaving as though - it has been told to remember the username/password. Both XP machines are running XP Pro + SP2 + all current updates, i.e. exactly the same version of XP. IIRC there is a "hidden" dialogue somewhere in XP that allows you to tell XP to forget all network passwords. Please don't suggest that I create a user called Adminstrator on -redshift -as this is not possible and should not be necessary as the other machine works fine, as does the Mac, and -testlap -can also connect OK to -postbag-. Thanks.

Author
16 Jan 2009 3:49 PM
Lanwench [MVP - Exchange]
parish <parish.3m3wdm@no.email.invalid> wrote:
Show quoteHide quote
> This is an old problem that i've seen before but can't remember how I
> fixed it. Unfortunately, all the "solutions" I've found by Googling
> are to create matching usernames on all machines.
>
> I've got two Samba servers - -redshift -and -postbag -- and connect to
> them with two XP machines and a Mac.
>
> One XP machine and the Mac prompt me for username and password, I
> enter them, and everything works as expected on both -redshift -and
> -postbag-.
>
> The other XP machine - -testlap -- prompts for username/password when
> connecting to -postbag -and works as expected, however, when trying to
> connect to -redshift -it doesn't prompt for username/password and
> after a short while comes back with the error
>
> \"YOU DO NOT HAVE PERMISSION TO CONNECT TO \\REDSHIFT\HOMES. CONTACT
> YOUR SYSTEM ADMIN.....\"
> (can't remember the exact wording, but it's a standard XP error).
>
> Looking at the Samba logs on -redshift -I can see that the reason it's
> failing is because it (-testlap-) is trying to connect as user
> Administrator - the user I'm logged onto testlap as - which doesn't
> exist on -redshift-.
>
> This isn't a Samba-specific problem as I've had the same problem
> between two Windows boxes before. It's something to do with XP
> thinking - or behaving as though - it has been told to remember the
> username/password.
>
> Both XP machines are running XP Pro + SP2 + all current updates, i.e.
> exactly the same version of XP.
>
> IIRC there is a "hidden" dialogue somewhere in XP that allows you to
> tell XP to forget all network passwords.
>
> Please don't suggest that I create a user called Adminstrator on
> -redshift -as this is not possible and should not be necessary as the
> other machine works fine, as does the Mac, and -testlap -can also
> connect OK to -postbag-.
>
> Thanks.

Did you try this?
http://www.windowsnetworking.com/kbase/WindowsTips/WindowsXP/AdminTips/Security/RemoveSavedPasswords.html

1. Click Start and select Run

2. In the Open field type "rundll32.exe keymgr.dll, KRShowKeyMgr"

3. Once the Stored Usernames and Passwords interface opens you can select
any of the entries and select Properties to view the existing information

4. To remove a saved password you can select one of the entries and select
Remove. A confirmation screen will appear. Click on OK and the account will
be removed

5. You can add additional saved passwords as well by clicking on the Add
button and entering the appropriate information

6. Repeat the steps above as needed to add, remove or edit saved passwords

7. When you are done using the interface click the Close button