Iím getting a login error following upgrade to Sles11 OES11. We are using Windows 7- 32 bit with the latest client and NetStorage. This script worked well in Netware but now generates
LOGIN-LGNWINT32-600 : This utility could not interpret the line error
I seem to get errors on the AND and THEN commands. Why do they generate an error in OES11? The scripts passes and the drives are mapped but it gives errors. Should I be using a different MAP command?
The login script is as follows

IF "<WEBACCESS>"="1"
MAP ROOT G:=LABOETU/ETUD:COMM
MAP ROOT K:=LABO/DATA:COL\MAGELLAN
ELSE
IF "<WEBACCESS>" <> "1"
AND
IF MEMBER OF "G Comm-ETU"
THEN
MAP ROOT F:=LABOETU/ETUD:COMM\%LOGIN_NAME
MAP ROOT G:=LABOETU/ETUD:COMM
MAP ROOT K:=LABO/DATA:COL\MAGELLAN
MAP ROOT L:=LABO/APP:LOGICIEL
MAP INS S1:=LABO/SYS:PUBLIC
ELSE
MAP ROOT F:=LABOETU/ETUD:COL\%LOGIN_NAME
MAP ROOT K:=LABO/DATA:COL\MAGELLAN
MAP ROOT L:=LABO/APP:LOGICIEL
MAP INS S1:=LABO/SYS:PUBLIC
END
AND
IF MEMBER OF "K TIC-ETU"
THEN
MAP ROOT H:=LABOETU/COMM:TIC
END

I get errors as follows

LOGIN SCRIPT ERROR:
LOGIN-LGNWINT32-600 : This utility could not interpret the line
The original line was
AND

LOGIN SCRIPT ERROR:
LOGIN-LGNWINT32-600 : This utility could not interpret the line
The original line was :
THEN

DRIVE F:=LABOETU/ETUD:COL\%LOGIN_NAME
DRIVE K:=LABO/DATA:COL\MAGELLAN
DRIVE L:=LABO/APP:LOGICIEL
S1:=Z:.LABO/SYS:PUBLIC

LOGIN SCRIPT ERROR:
LOGIN-LGNWINT32-600 : This utility could not interpret the line
AND

LOGIN SCRIPT ERROR:
LOGIN-LGNWINT32-600 : This utility could not interpret the line
THEN

DRIVE H:=LABOETU/COMM:TIC