Hi Ulrich, from a DOS prompt, typing net helpmsg 2116 reveals this-- The device or directory does not exist. EXPLANATION You specified an unknown device or directory. ACTION Check the spelling of the device or directory name.
so checking the pathname as suggested below seems like a good idea. as I recall, if you wish to use the "vol" form of the filename, you will want to put C$ in the pathname, such as: \filer\c$\vol\vol0\sharename\directory but the \filer\share\directory format should work just fine. check to see if c:> dir \cobfile01\users$ succeeds or not for example. Jim U
-----Original Message----- From: Hawley, Rob [mailto:rob.hawley@netapp.com] Sent: Monday, September 11, 2000 7:31 AM To: 'Ulrich Neumann'; toasters@mathworks.com Subject: RE: creating a share with vba on a filer
Your program looks correct. We do support using level 502 to add a share. Please confirm a couple of points that could be the source of the problem:
- The user running the script is a member of either the
filer's Administrators group or is a member of Power Users. That is required for NT compatible security. 2. That the path vol\nt01\users is the correct physical path to where the user's directory should be created. That is there are no other directories in the path.
If neither of these resolve your problem, then please contact NetApp customer support. They will need a packet trace of this exchange and a cifs sessions -s of the user attempting to execute the script. CS can help you if you are unfamiliar with how to get a packet trace.
mailto: hawleyr@netapp.com US Mail: Network Appliance Inc. Windows Networking Engineering 495 E Java Dr Phone/pager: 408-822-6661 Sunnyvale, CA 94089 http://www.netapp.com -----Original Message----- From: Ulrich Neumann [mailto:ulrich.neumann@brose.de] Sent: Monday, September 11, 2000 2:01 AM To: toasters@mathworks.com Subject: creating a share with vba on a filer << File: ShareErr2116Filer.txt >> we just turned our user-home-shares from a nt-server to a filer. for creating new user-shares, we use a selfmade program in vb. unfortunately this program woun't work now with the filer. neither "c:\vol\nt01\users\username" nor
"\cobfile01\users$\username" is working. there's always the error 2116.(see sub makeshare in attached code)
is there anybody out there who has a good idea to solve this problem?
greetings from
brose GmbH & Co KG Client-Server-Technologien
Ulrich Neumann