Applescript Error 5000 access to active directory

288 Views Asked by At

I have a problem with an apple script because I try to access to a directory but his parent is hidden with NTFS rules. When i do this command: mount volume ("smb://srv-data1/Apprenants/" & userName") Apprenants is hidden I have the error number -5000 Please can you help me I need some help and i didn't find any answer! Thank's Killian Kaempf

1

There are 1 best solutions below

1
On

did you try the "as user name" and "with password" parameters?

mount volume ("smb://srv-data1/Apprenants/" & userName") as user name "validusername" with password "validpassword"