{
 "creation": "2016-09-22 04:16:48.829658",
 "doctype": "DocType",
 "document_type": "System",
 "editable_grid": 1,
 "engine": "InnoDB",
 "field_order": [
  "enabled",
  "ldap_server_url",
  "column_break_4",
  "base_dn",
  "password",
  "section_break_5",
  "organizational_unit",
  "default_role",
  "ldap_search_string",
  "ldap_email_field",
  "ldap_username_field",
  "column_break_11",
  "ldap_first_name_field",
  "ldap_middle_name_field",
  "ldap_last_name_field",
  "ldap_phone_field",
  "ldap_mobile_field",
  "ldap_security",
  "ssl_tls_mode",
  "require_trusted_certificate",
  "column_break_17",
  "local_private_key_file",
  "local_server_certificate_file",
  "local_ca_certs_file",
  "ldap_group_mappings_section",
  "ldap_group_field",
  "ldap_groups"
 ],
 "fields": [
  {
   "default": "0",
   "fieldname": "enabled",
   "fieldtype": "Check",
   "label": "Enabled"
  },
  {
   "fieldname": "ldap_server_url",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "LDAP Server Url",
   "reqd": 1
  },
  {
   "fieldname": "column_break_4",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "base_dn",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "Base Distinguished Name (DN)",
   "reqd": 1
  },
  {
   "fieldname": "password",
   "fieldtype": "Password",
   "in_list_view": 1,
   "label": "Password for Base DN",
   "reqd": 1
  },
  {
   "fieldname": "section_break_5",
   "fieldtype": "Section Break",
   "label": "LDAP User Creation and Mapping"
  },
  {
   "fieldname": "organizational_unit",
   "fieldtype": "Data",
   "in_list_view": 1,
   "label": "Organizational Unit for Users",
   "reqd": 1
  },
  {
   "fieldname": "default_role",
   "fieldtype": "Link",
   "label": "Default Role on Creation",
   "options": "Role",
   "reqd": 1
  },
  {
   "fieldname": "ldap_search_string",
   "fieldtype": "Data",
   "label": "LDAP Search String",
   "reqd": 1
  },
  {
   "fieldname": "ldap_email_field",
   "fieldtype": "Data",
   "label": "LDAP Email Field",
   "reqd": 1
  },
  {
   "fieldname": "ldap_username_field",
   "fieldtype": "Data",
   "label": "LDAP Username Field",
   "reqd": 1
  },
  {
   "fieldname": "column_break_11",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "ldap_first_name_field",
   "fieldtype": "Data",
   "label": "LDAP First Name Field",
   "reqd": 1
  },
  {
   "fieldname": "ldap_middle_name_field",
   "fieldtype": "Data",
   "label": "LDAP Middle Name Field"
  },
  {
   "fieldname": "ldap_last_name_field",
   "fieldtype": "Data",
   "label": "LDAP Last Name Field"
  },
  {
   "fieldname": "ldap_phone_field",
   "fieldtype": "Data",
   "label": "LDAP Phone Field"
  },
  {
   "fieldname": "ldap_mobile_field",
   "fieldtype": "Data",
   "label": "LDAP Mobile Field"
  },
  {
   "fieldname": "ldap_security",
   "fieldtype": "Section Break",
   "label": "LDAP Security"
  },
  {
   "default": "Off",
   "fieldname": "ssl_tls_mode",
   "fieldtype": "Select",
   "label": "SSL/TLS Mode",
   "options": "Off\nStartTLS"
  },
  {
   "default": "No",
   "fieldname": "require_trusted_certificate",
   "fieldtype": "Select",
   "label": "Require Trusted Certificate",
   "options": "No\nYes",
   "reqd": 1
  },
  {
   "fieldname": "column_break_17",
   "fieldtype": "Column Break"
  },
  {
   "fieldname": "local_private_key_file",
   "fieldtype": "Data",
   "label": "Path to private Key File"
  },
  {
   "fieldname": "local_server_certificate_file",
   "fieldtype": "Data",
   "label": "Path to Server Certificate"
  },
  {
   "fieldname": "local_ca_certs_file",
   "fieldtype": "Data",
   "label": "Path to CA Certs File"
  },
  {
   "fieldname": "ldap_group_mappings_section",
   "fieldtype": "Section Break",
   "label": "LDAP Group Mappings"
  },
  {
   "fieldname": "ldap_group_field",
   "fieldtype": "Data",
   "label": "LDAP Group Field"
  },
  {
   "fieldname": "ldap_groups",
   "fieldtype": "Table",
   "label": "LDAP Group Mappings",
   "options": "LDAP Group Mapping"
  }
 ],
 "in_create": 1,
 "issingle": 1,
 "modified": "2019-07-15 06:48:16.562109",
 "modified_by": "Administrator",
 "module": "Integrations",
 "name": "LDAP Settings",
 "owner": "Administrator",
 "permissions": [
  {
   "create": 1,
   "delete": 1,
   "email": 1,
   "export": 1,
   "print": 1,
   "read": 1,
   "role": "System Manager",
   "share": 1,
   "write": 1
  }
 ],
 "read_only": 1,
 "sort_field": "modified",
 "sort_order": "DESC",
 "track_changes": 1
}