If I use only that example posted I get this:

ERROR : expected expression!
Script: \\Sussex1\NETLOGON\LDAP.kix
Line : 0