php ldap终端服务配置文件路径

I've written a php page to change user's names when they get married etc using ldap, however I've just noticed that ldap_get_entries does not return the TS Profile path (msTSProfilePath). Does anyone know how I can get this so I can change it to the new name? (we are changing the user's homedirectory to the new name which includes the TS Profile). Searched here & google, both return 0 results

example code:

$server = "eng-ads-01s.eng.company.co.uk";
$dn = "DC=eng,DC=company,DC=co,DC=uk";$user = "CN=User Name,OU=Users,OU=Helpdesk,OU=Group IT,DC=company,DC=co,DC=uk";
//user password
$psw = "Password";
$ds=ldap_connect($server);
ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION,3); 
ldap_set_option($ds, LDAP_OPT_REFERRALS,0); 
$r=ldap_bind($ds, $user , $psw); 
// performing search
$sr=ldap_search($ds, $dn, $search);
$data = ldap_get_entries($ds, $sr);  
print_r($data);

$data doesn't return the TS profile path even though it's in AD