<%! title = 'Splunk Admin Authentication Control' %> <%namespace name="lib" file="//lib.html" import="*"/> <%namespace name="helpers" file="_helpers.html"/> <%inherit file="//layout/admin.html"/> <% import splunk from splunk.appserver.mrsparkle.lib import util, i18n sessionId = cherrypy.session.id selected = "" %> % if message: <%helpers:message content="${message}" level="info"/> % endif

${_('LDAP mapping')}

${_('First save your initial configuration, then login as failsafe user and use this screen to set up your role mappings.')}

${_('LDAP configuration:')}

% for property in LDAPEntity.properties: % if not property.startswith("roleMap_") and not property == 'eai:acl': % endif % endfor
${property}: <% if property.lower().count("password") > 0: type = 'type="password"' else: type = 'type="text"' endif propVal = "" if LDAPEntity[property] == None else LDAPEntity[property] %>

${_('Role mapping:')}

% for role in splunkroles: % endfor
${role}:
${csrf_hidden_input()}