Administer > SA Provisioning > OS sequence-based provisioning > Setting up the Media Server > Hosting Windows media on a Windows 2K server using a share

Hosting Windows media on a Windows 2K server using a share

You want to host your Windows media on a Windows 2K (2003, 2008, 2008 R2 x64) server using a share and have access to the share is available to a local user on the server. For example:

Server / Share:

\\servername\IOP

user: username password: userpassword is used to mount the share. SA Windows build script directories have the user hard coded to guest with no password. Many security policies do not allow for an enabled guest account, read-only share.

Perform the following tasks to set up the share:

Edit the file:

/opt/opsware/buildscripts/windows/buildserver.py

and replace these lines:

system_ini["network"]["username"] = self.mrl_username

system_ini["network"]["logondomain"] = self.mrl_domain

system_ini["network"]["workgroup"] = self.mrl_domain

with your share credentials. Also edit the following lines specifying the correct username/password:

# formulate net logon command line

logonCmd = []

logonCmd.append("lh %ramdrv%\\mslanman\\net")

logonCmd.append("logon")

logonCmd.append(self.mrl_username)

logonCmd.append(self.mrl_password)