I think J the captain is onto something here [Wink]

simply change:
code:
$dsq = shell "dsquery group OU=Some_school,OU=Schools,DC=school,DC=mycompany,DC=com -scope subtree -name Students"

to:
code:
shell "dsquery group OU=Some_school,OU=Schools,DC=school,DC=mycompany,DC=com -scope subtree -name Students"

_________________________
!

download KiXnet