anchor.diff:  <% if @ldap['group_id_attribute'] -%>
   ldap.group.idAttribute=<%= @ldap['group_id_attribute'] %>
   <% end -%>
  +
   <% end -%>
   
   <% if !@crowd.empty? %>
  
positive.code: sonar.security.savePassword=true
  
  ldap.url=<%= @ldap['url'] %>
  <% if @ldap['bind_dn'] -%>
  ldap.bindDn=<%= @ldap['bind_dn'] %>
  <% end -%>
  
negative.code: ldap.user.emailAttribute=<%= @ldap['user_email_attribute'] %>
  <% end -%>
  
  <% if @ldap['group_base_dn'] -%>
  ldap.group.baseDn=<%= @ldap['group_base_dn'] %>
  <% end -%>
  