James Wilford
2003-Mar-29 18:46 UTC
[Samba] Samba from win2k client - "incorrect password or unknown username" error
Hi, I've got an annoying little problem with Samba and Win2k. I installed a Win2k Pro client on the network and set it to use plain text passwords and join the workgroup. The username and password of the user on the win2k box are the same as the account in /etc/passwd on the linux box. But after logging in, when trying to reconnect the mapped drives the windows box says: "Incorrect password or unknown username for: \\linuxbox\share" After typing in the password (the same password as just entered to log into windows) the box can access the mapped drives with no problems. Has anyone else seen this? Its not like I can't access the shares, its just I have to put in the password again after logging into Windows. Any advice would be greatly appreciated. Thanks, James
Le 29/03/2003 20:46, ??James Wilford?? <james@jwilford.co.uk> a ?crit?:> Hi, > > I've got an annoying little problem with Samba and Win2k. I installed a Win2k > Pro client on the network and set it to use plain text passwords and join the > workgroup. > > The username and password of the user on the win2k box are the same as the > account in /etc/passwd on the linux box. But after logging in, when trying to > reconnect the mapped drives the windows box says: > > "Incorrect password or unknown username for: \\linuxbox\share"<snip> *** Had the same problem. Life is too short to try and understand Win2k brainstorms so this is what I did: - Instruct user to hit "Esc" twice after login to get rid of the error window. - Created a *.bat file which is in user "Start up" folder and which mounts the shares automatically: @ECHO OFF echo. "............................" echo. "" echo. " Mounting Linux drives" echo. "" echo. "............................" net use D: \\[server_name]\[share] [PASSWORD] or this if you're connecting to a domain server net use D: \\[server_name]\[share] /USER:[DOMAIN]\[DOMAIN_USER_NAME] [DOMAIN_PASSWORD] P.S. On one line! Have fun. -- Cheers, Zoran. "Home is where you hang your @"