This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
If you have an existing installation of Snap WebHost where users have different login names to their normal usernames, and you wish to add Windows single sign on or LDAP authentication, you need to map existing WebHost users to their authenticated usernames.
Make sure to map the root user as well.
Snap provides a script auth_users.pyc to do this.
You must first create a map file in xml, which maps between the names. A sample file is supplied auth_users.xml.
The <authuser> block is used to map multiple Snap WebHost accounts to a single authenticated user name. E.g.
<authuser>
<name>lbrown</name>
<webhostName>root</webhostName>
<webHostName>lila</webHostName>
</authuser>
allows the authenticated user lbrown to log into the root and lila accounts of Snap WebHost.
If you wish to map multiple authenticated usernames to a single Snap WebHost account you use the <webhostuser> block. E.g.,
<webhostuser>
<name>market</name>
<authName>tblue</authName>
<authName>jgreen</authName>
</webhostuser>
allows the authenticated users tblue and jgreen to log into the market account of Snap WebHost.
To set up the mapping within Snap WebHost run the script auth_users.pyc in the following manner
auth_users.pyc root_password user_map_file.xml
E.g
auth_users.pyc myRootPassword61 auth_users.xml
This will populate the Authenticated Username fields within Snap WebHost appropriately.
|
See Also |