List,
I think I lost the part of my mind that this information stored in it. But what is the syntax, from a Win2k3 server, to create a Windows share on a F810 filer.
Basically I want to automate the creation of Users to include their home directory on the file. I can easily automate creating the directory on the filer, but what about the share? Currently we do it via Filer view or use Manage from My Computer.
Thanks in advance.
This can be done via rsh or ssh depending on your environment (ssh preferred of course). From the filer prompt:
filer> cifs shares -add Share_Name /vol/vol_name/path/path/....
This translates to "C:\rsh filer_name 'cifs shares -add Share_Name /vol/vol_name/path/path/...'
By default this will be everyone full control at both the share and file-system level so you'll need to take care of perms (pretty easy if you're already scripting user creation).
Jeff Mery - MCSE, MCP National Instruments
------------------------------------------------------------------------- "Allow me to extol the virtues of the Net Fairy, and of all the fantastic dorks that make the nice packets go from here to there. Amen." TB - Penny Arcade -------------------------------------------------------------------------
"Scott, Tom E" ScottTE@state.gov Sent by: owner-toasters@mathworks.com 11/02/2005 12:27 PM
To "'toasters@mathworks.com'" toasters@mathworks.com cc
Subject Auto Creation of Windows Share
List, I think I lost the part of my mind that this information stored in it. But what is the syntax, from a Win2k3 server, to create a Windows share on a F810 filer. Basically I want to automate the creation of Users to include their home directory on the file. I can easily automate creating the directory on the filer, but what about the share? Currently we do it via Filer view or use Manage from My Computer. Thanks in advance.