Wrong user name used when connected to a drive

  • Thread starter Thread starter Rob H
  • Start date Start date
R

Rob H

I'm connecting to a Linux machine with a shared directory.
I can connect fine to this, intitially, using 'Map Network
Drive', and entering the username and password.

The problem comes when trying to reconnect. Windows says I
last connected as 'DOMAIN\fred'. Typing the password, the
connection fails, until I delete the remembered connection
completely and recreate it.

As far as I can tell, 'fred' is a user in the Windows
domain, as well as being the username on the Linux drive.
But cause it matches the domain user, Windows is prefixing
'DOMAIN\' to the username being sent to the Linux machine.
This then rejects the connection as there is no user set up
as 'DOMAIN\fred' (the user is just 'fred').

If I connect to a drive on the Linux machine with a
username which doesn't have a matching entry in the Windows
domain, then reconnecting works fine as Windows isn't
prefixing the username with 'DOMAIN\'.

I didn't have this problem under NT4, connecting to the
same machine.

Is there a workaround?

Rob.
 
Hey Rob -

I do the same exact thing, however, I now have Samba
authenticating samba users against the windows domain.
In the globals section, there should be a name server, if
you were to type in just the IP of the DC, and set the
correct code page, add the user to the linux box, letter
for letter so it matches the dc account (doesn't matter
what the passwd is), restart the services, it should
authenticate against the DC.
 
Ok, I'll try that.

But is there no way to prevent Windows erroneously
prefixing the domain when connecting to network shares
which aren't anything to do with Windows?
 
Back
Top