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

