<def-group>
  <definition class="compliance" id="ldap_client_start_tls" version="1">
    {{{ oval_metadata("Require the use of TLS for LDAP clients.") }}}
    <criteria operator="AND">
      <extend_definition comment="LDAP is in use"
      definition_ref="enable_ldap_client" />
      <criterion comment="look for ssl start_tls in /etc/nslcd.conf"
      test_ref="test_ldap_client_start_tls_ssl" />
    </criteria>
  </definition>
  <ind:textfilecontent54_test check="all" check_existence="at_least_one_exists"
  comment="Tests the value of the ssl start_tls setting in the configuration file"
  id="test_ldap_client_start_tls_ssl" version="1">
    <ind:object object_ref="obj_ldap_client_start_tls_ssl" />
  </ind:textfilecontent54_test>
  <ind:textfilecontent54_object id="obj_ldap_client_start_tls_ssl" version="1">
    <ind:filepath>/etc/nslcd.conf</ind:filepath>
    <ind:pattern operation="pattern match">^[\s]*ssl[\s]+start_tls[\s]*$</ind:pattern>
    <ind:instance datatype="int">1</ind:instance>
  </ind:textfilecontent54_object>
</def-group>
