GET /api/auth_source_ldaps
List all authsource ldaps

Params

Param Name Description
page
Optional

pagina els resultats


Value:

Must be String

per_page
Optional

Nombre d'entrades per petició


Value:

Must be String


GET /api/auth_source_ldaps/:id
Show an authsource ldap.

Params

Param Name Description
id
Required

Value:

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
Create an auth_source_ldap.

Params

Param Name Description
auth_source_ldap
Required

Value:

Must be a Hash

auth_source_ldap[name]
Required

Value:

Must be String

auth_source_ldap[host]
Required

Value:

Must be String

auth_source_ldap[port]
Optional

per defecte a 389


Value:

Must be a number.

auth_source_ldap[account]
Optional

Value:

Must be String

auth_source_ldap[base_dn]
Optional

Value:

Must be String

auth_source_ldap[account_password]
Optional

és obligatori si onthefly_register està establert a true


Value:

Must be String

auth_source_ldap[attr_login]
Optional

és obligatori si onthefly_register està establert a true


Value:

Must be String

auth_source_ldap[attr_firstname]
Optional

és obligatori si onthefly_register està establert a true


Value:

Must be String

auth_source_ldap[attr_lastname]
Optional

és obligatori si onthefly_register està establert a true


Value:

Must be String

auth_source_ldap[attr_mail]
Optional

és obligatori si onthefly_register està establert a true


Value:

Must be String

auth_source_ldap[attr_photo]
Optional

Value:

Must be String

auth_source_ldap[onthefly_register]
Optional

Value:

Must be 'true' or 'false'

auth_source_ldap[usergroup_sync]
Optional

sincronitza els grups d'usuaris externs a l'iniciar


Value:

Must be 'true' or 'false'

auth_source_ldap[tls]
Optional

Value:

Must be 'true' or 'false'


PUT /api/auth_source_ldaps/:id
Update an auth_source_ldap.

Params

Param Name Description
id
Required

Value:

Must be String

auth_source_ldap
Required

Value:

Must be a Hash

auth_source_ldap[name]
Optional

Value:

Must be String

auth_source_ldap[host]
Optional

Value:

Must be String

auth_source_ldap[port]
Optional

per defecte a 389


Value:

Must be a number.

auth_source_ldap[account]
Optional

Value:

Must be String

auth_source_ldap[base_dn]
Optional

Value:

Must be String

auth_source_ldap[account_password]
Optional

és obligatori si onthefly_register està establert a true


Value:

Must be String

auth_source_ldap[attr_login]
Optional

és obligatori si onthefly_register està establert a true


Value:

Must be String

auth_source_ldap[attr_firstname]
Optional

és obligatori si onthefly_register està establert a true


Value:

Must be String

auth_source_ldap[attr_lastname]
Optional

és obligatori si onthefly_register està establert a true


Value:

Must be String

auth_source_ldap[attr_mail]
Optional

és obligatori si onthefly_register està establert a true


Value:

Must be String

auth_source_ldap[attr_photo]
Optional

Value:

Must be String

auth_source_ldap[onthefly_register]
Optional

Value:

Must be 'true' or 'false'

auth_source_ldap[usergroup_sync]
Optional

sincronitza els grups d'usuaris externs a l'iniciar


Value:

Must be 'true' or 'false'

auth_source_ldap[tls]
Optional

Value:

Must be 'true' or 'false'


DELETE /api/auth_source_ldaps/:id
Delete an auth_source_ldap.

Params

Param Name Description
id
Required

Value:

Must be String