Sha256: 2521f1b2fc681ac3259c90d7b666435d0c11d2efaa73958bf71414fd2ad38a66

Contents?: true

Size: 1.25 KB

Versions: 5

Compression:

Stored size: 1.25 KB

Contents

<% title_actions link_to(icon_text("question-sign", _("Documentation"), :class => "icon-white"), "http://theforeman.org/projects/foreman/wiki/LDAP_Authentication", :rel => "external", :class => "btn-info") %>

<%= form_for @auth_source_ldap do |f| %>
  <%= base_errors_for @auth_source_ldap %>

  <%= text_f f, :name %>
  <%= text_f f, :host %>
  <%= text_f f, :port %>
  <%= checkbox_f f, :tls %>
  <%= text_f f, :account, :help_inline =>_("Use this account to authenticate, <i>optional</i>").html_safe %>
  <%= password_f f, :account_password, :onfocus => "this.value='';", :help_inline => _("Use this account to authenticate, <i>optional</i>").html_safe %>
  <%= text_f f, :base_dn, :label => "basedn", :class => "input-xxlarge" %>
  <%= checkbox_f f, :onthefly_register,
    :help_inline => _("LDAP user will have his Foreman account automatically created the first time he logs into Foreman") %>
  <%= field_set_tag(_("LDAP Attributes mapping")) do %>
    <%= text_f f, :attr_login, :help_inline => _("e.g. uid") %>
    <%= text_f f, :attr_firstname, :help_inline => _("e.g. givenName") %>
    <%= text_f f, :attr_lastname, :help_inline => _("e.g. sn") %>
    <%= text_f f, :attr_mail, :help_inline => _("e.g. mail") %>
  <% end -%>

  <%= submit_or_cancel f %>
<% end %>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
foreman_discovery-1.0.0 test/foreman_app/app/views/auth_source_ldaps/_form.html.erb
foreman_discovery-1.0.0.rc4 test/foreman_app/app/views/auth_source_ldaps/_form.html.erb
foreman_discovery-1.0.0.rc3 test/foreman_app/app/views/auth_source_ldaps/_form.html.erb
foreman_discovery-1.0.0.rc2 test/foreman_app/app/views/auth_source_ldaps/_form.html.erb
foreman_discovery-1.0.0.rc1 test/foreman_app/app/views/auth_source_ldaps/_form.html.erb