This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
Set up LDAP in Snap WebHost
This assumes that you have an independent installation of LDAP running and that the Windows authentication is not running on your installation of Snap WebHost. You will need to restart services after making any changes to globalsettings.py.
- Install the python ldap library files for your installation. The file is supplied in the folder
ldap. - Open your
globalsettings.py file (normally in C:\Python25\Lib\site-packages\snap2). - Set
ALLOW_LDAP, in globalsettings.py, to True. - Set
SURVEYS_LDAP_AUTH in globalsettings.py to True. - Save the changes.
- Log into Snap WebHost as the root user.
- Select the tab.
- Change in the to .

- Click to save your settings.
- Scroll down to the Completing these requires a knowledge of your LDAP installation.
- Set to the LDAP server (e.g.
ldap://Rootserver). - : Check to enable Transport Layer Security.
- : Check to enable Simple Authentication and Security Layer.
- : LDAP login name with rights for user search (e.g.
CN=LDAP admin,OU=SnapUsers, OU=Users,OU=Your Company,DC=yourcompany,DC=local). This is only necessary if your LDAP installation does not permit searches via an anonymous bind. - : Password for the login account (if used).
- : The LDAP base object at which to start the search for Snap WebHost users (e.g.
OU=SnapUsers, OU=Users,OU=Your Company,DC=yourcompany,DC=local). - : The LDAP search expression to find Snap WebHost users within LDAP (e.g.
sAMAccountName=[NAME]). - : Set to to search only in the base level specified in Set to to search in the base level and the level below. Set to to search the base level and all levels below.

- Click to save your settings.
- Check that Snap WebHost can check user authentication correctly by clicking thebutton and searching for an authenticated username.
Set up an authenticated user with root access
You need to ensure that an authenticated user has administrative access to Snap WebHost.
- Select the tab.
- Find the root user and click .

- Add the authenticated usernames of the people you wish to have root access to the field, separated by commas.

- Click to save your settings.