Many thanks to everyone who replied to me with possible solutions to the
problem I was having with drive mappings from login scripts under Windows
98SE.
Adam Manock hit the nail on the head with his comments (see below) - it
turned out to be exactly this.
I was using Notepad to edit the login script, then using SSH to transfer
the script to the server. SSH was 'helpfully' converting CR/LF's to
LF's
for me during the transfer. Of course, when I transferred the file back
again to the local machine to look at it, SSH was converting the LF's back
to CR/LF's so it looked to me as though there was no problem!
Opening the script directly from a mapped drive showed the problem
straight away.
Regards
Andy
Dr. Andy Dawson
A.J.Dawson@Bradford.ac.uk
http://www.mossie.org
http://www.museum-explorer.org.uk
Never attribute to malice that which is adequately explained by stupidity.
> Message: 11
> Date: Wed, 29 May 2002 13:57:49 -0400
> To: samba@lists.samba.org
> From: Adam Manock <abmanock@earthlink.net>
> Subject: Re: [Samba] Win9x login script drive mapping problem - addendum
>
> Try net use f: \\server\netlogon
>
> notepad f:\scripts\someuser.bat
>
> Do you have CRLF line endings of just LF?
>
> If I recall correctly, NT / 2000 will handle login scripts with bare LFs,
> and 9x will not.
>
> Adam