nope...
should work...
you should add some debug output...
like display all retrieved group names and shares and so on as the script goes on to track possible errors /problems.
_________________________
!

download KiXnet