After action script for Solaris

Hi,

I'm having trouble with an after action script for the solaris box.

my script reads..

<?xml version='1.0' encoding='UTF-8'?>

<!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>

<Waveset>

<ResourceAction name='after-create'>

<ResTypeAction restype='Solaris' timeout='60000'>

<act>

#!/bin/ksh

echo "$WSUSER_accountId says Hello World!"

PATH=/usr/lib/nis:$PATH; export PATH

nisaddcred -p unix.keerthi2@example.com -P keerthi2.example.com. des

exit 0

</act>

</ResTypeAction>

</ResourceAction>

</Waveset>

I have edited the tabbed user form to include the following field:

<Field name='global.create after action'>

<Expansion>

<s>after-create</s>

</Expansion>

</Field>

Now when i am trying to create a user in my IDM n assigning the Solaris resource i'm getting the following error..

com.waveset.util.WavesetException: An error occurred adding user 'client1' to resource 'Solaris Client'. com.waveset.util.WavesetException: Script failed waiting for "_,)#+(:" in response "" com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "".

the account is created in IDM.

please help me out!

Regards

Sanjeev

[1465 byte] By [Sanjeev1028a] at [2007-11-27 9:52:04]
# 1
Try to remove "#!/bin/ksh"
Andrey.Pa at 2007-7-13 0:21:17 > top of Java-index,Web & Directory Servers,Directory Servers...
# 2
yeah..i've removed it n checked..but the error remains :(
Sanjeev1028a at 2007-7-13 0:21:17 > top of Java-index,Web & Directory Servers,Directory Servers...