GET /api/auth_source_ldaps
Lista alla LDAP-autentiseringskällor

GET /api/locations/:location_id/auth_source_ldaps
List LDAP authentication sources per location

GET /api/organizations/:organization_id/auth_source_ldaps
List LDAP authentication sources per organization

Params

Param name Description
location_id
optional

Scope by locations

Validations:

  • Must be a Integer

organization_id
optional

Scope by organizations

Validations:

  • Must be a Integer

search
optional

filtrera resultat

Validations:

  • Must be a String

order
optional

sortera resultat

Validations:

  • Must be a String

page
optional

paginate results

Validations:

  • Must be a String

per_page
optional

antal poster per begäran

Validations:

  • Must be a String


GET /api/auth_source_ldaps/:id
Visa en LDAP-autentiseringskälla

Params

Param name Description
id
required

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/auth_source_ldaps
Skapa en LDAP-autentiseringskälla

Params

Param name Description
auth_source_ldap
required

Validations:

  • Must be a Hash

auth_source_ldap[name]
required

Validations:

  • Must be a String

auth_source_ldap[host]
required

Validations:

  • Must be a String

auth_source_ldap[port]
optional , nil allowed

standardvärde är 389

Validations:

  • Must be a number.

auth_source_ldap[account]
optional , nil allowed

Validations:

  • Must be a String

auth_source_ldap[base_dn]
optional , nil allowed

Validations:

  • Must be a String

auth_source_ldap[account_password]
optional , nil allowed

krävs om onthefly_register är sant

Validations:

  • Must be a String

auth_source_ldap[attr_login]
optional , nil allowed

krävs om onthefly_register är sant

Validations:

  • Must be a String

auth_source_ldap[attr_firstname]
optional , nil allowed

krävs om onthefly_register är sant

Validations:

  • Must be a String

auth_source_ldap[attr_lastname]
optional , nil allowed

krävs om onthefly_register är sant

Validations:

  • Must be a String

auth_source_ldap[attr_mail]
optional , nil allowed

krävs om onthefly_register är sant

Validations:

  • Must be a String

auth_source_ldap[attr_photo]
optional , nil allowed

Validations:

  • Must be a String

auth_source_ldap[onthefly_register]
optional , nil allowed

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[usergroup_sync]
optional , nil allowed

synka externa användargrupper vid inloggning

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[tls]
optional , nil allowed

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[groups_base]
optional , nil allowed

groups base DN

Validations:

  • Must be a String

auth_source_ldap[use_netgroups]
optional , nil allowed

use NIS netgroups instead of posix groups, applicable only when server_type is posix or free_ipa

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[server_type]
optional , nil allowed

typ av LDAP-server

Validations:

  • Must be one of: free_ipa, active_directory, posix.

auth_source_ldap[ldap_filter]
optional , nil allowed

Ldap-filter

Validations:

  • Must be a String

auth_source_ldap[location_ids]
optional , nil allowed

REPLACE locations with given ids

Validations:

  • Must be an array of any type

auth_source_ldap[organization_ids]
optional , nil allowed

REPLACE organizations with given ids.

Validations:

  • Must be an array of any type


PUT /api/auth_source_ldaps/:id
Uppdatera en LDAP-autentiseringskälla

Params

Param name Description
id
required

Validations:

  • Must be a String

auth_source_ldap
required

Validations:

  • Must be a Hash

auth_source_ldap[name]
optional

Validations:

  • Must be a String

auth_source_ldap[host]
optional

Validations:

  • Must be a String

auth_source_ldap[port]
optional , nil allowed

standardvärde är 389

Validations:

  • Must be a number.

auth_source_ldap[account]
optional , nil allowed

Validations:

  • Must be a String

auth_source_ldap[base_dn]
optional , nil allowed

Validations:

  • Must be a String

auth_source_ldap[account_password]
optional , nil allowed

krävs om onthefly_register är sant

Validations:

  • Must be a String

auth_source_ldap[attr_login]
optional , nil allowed

krävs om onthefly_register är sant

Validations:

  • Must be a String

auth_source_ldap[attr_firstname]
optional , nil allowed

krävs om onthefly_register är sant

Validations:

  • Must be a String

auth_source_ldap[attr_lastname]
optional , nil allowed

krävs om onthefly_register är sant

Validations:

  • Must be a String

auth_source_ldap[attr_mail]
optional , nil allowed

krävs om onthefly_register är sant

Validations:

  • Must be a String

auth_source_ldap[attr_photo]
optional , nil allowed

Validations:

  • Must be a String

auth_source_ldap[onthefly_register]
optional , nil allowed

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[usergroup_sync]
optional , nil allowed

synka externa användargrupper vid inloggning

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[tls]
optional , nil allowed

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[groups_base]
optional , nil allowed

groups base DN

Validations:

  • Must be a String

auth_source_ldap[use_netgroups]
optional , nil allowed

use NIS netgroups instead of posix groups, applicable only when server_type is posix or free_ipa

Validations:

  • Must be one of: true, false, 1, 0

auth_source_ldap[server_type]
optional , nil allowed

typ av LDAP-server

Validations:

  • Must be one of: free_ipa, active_directory, posix.

auth_source_ldap[ldap_filter]
optional , nil allowed

Ldap-filter

Validations:

  • Must be a String

auth_source_ldap[location_ids]
optional , nil allowed

REPLACE locations with given ids

Validations:

  • Must be an array of any type

auth_source_ldap[organization_ids]
optional , nil allowed

REPLACE organizations with given ids.

Validations:

  • Must be an array of any type


PUT /api/auth_source_ldaps/:id/test
Testa LDAP-anslutning

Params

Param name Description
id
required

Validations:

  • Must be a String


DELETE /api/auth_source_ldaps/:id
Radera en LDAP-autentiseringskälla

Params

Param name Description
id
required

Validations:

  • Must be a String