LdapIdmap

class oci.file_storage.models.LdapIdmap(**kwargs)

Bases: object

Mount target details about the LDAP ID mapping configuration.

Attributes

SCHEMA_TYPE_RFC2307 A constant which can be used with the schema_type property of a LdapIdmap.
cache_lifetime_seconds Gets the cache_lifetime_seconds of this LdapIdmap.
cache_refresh_interval_seconds Gets the cache_refresh_interval_seconds of this LdapIdmap.
group_search_base Gets the group_search_base of this LdapIdmap.
negative_cache_lifetime_seconds Gets the negative_cache_lifetime_seconds of this LdapIdmap.
outbound_connector1_id Gets the outbound_connector1_id of this LdapIdmap.
outbound_connector2_id Gets the outbound_connector2_id of this LdapIdmap.
schema_type Gets the schema_type of this LdapIdmap.
user_search_base Gets the user_search_base of this LdapIdmap.

Methods

__init__(**kwargs) Initializes a new LdapIdmap object with values from keyword arguments.
SCHEMA_TYPE_RFC2307 = 'RFC2307'

A constant which can be used with the schema_type property of a LdapIdmap. This constant has a value of “RFC2307”

__init__(**kwargs)

Initializes a new LdapIdmap object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • schema_type (str) – The value to assign to the schema_type property of this LdapIdmap. Allowed values for this property are: “RFC2307”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • cache_refresh_interval_seconds (int) – The value to assign to the cache_refresh_interval_seconds property of this LdapIdmap.
  • cache_lifetime_seconds (int) – The value to assign to the cache_lifetime_seconds property of this LdapIdmap.
  • negative_cache_lifetime_seconds (int) – The value to assign to the negative_cache_lifetime_seconds property of this LdapIdmap.
  • user_search_base (str) – The value to assign to the user_search_base property of this LdapIdmap.
  • group_search_base (str) – The value to assign to the group_search_base property of this LdapIdmap.
  • outbound_connector1_id (str) – The value to assign to the outbound_connector1_id property of this LdapIdmap.
  • outbound_connector2_id (str) – The value to assign to the outbound_connector2_id property of this LdapIdmap.
cache_lifetime_seconds

Gets the cache_lifetime_seconds of this LdapIdmap. The maximum amount of time the mount target is allowed to use a cached entry.

Returns:The cache_lifetime_seconds of this LdapIdmap.
Return type:int
cache_refresh_interval_seconds

Gets the cache_refresh_interval_seconds of this LdapIdmap. The amount of time that the mount target should allow an entry to persist in its cache before attempting to refresh the entry.

Returns:The cache_refresh_interval_seconds of this LdapIdmap.
Return type:int
group_search_base

Gets the group_search_base of this LdapIdmap. All LDAP searches are recursive starting at this group.

Example: CN=Group,DC=domain,DC=com

Returns:The group_search_base of this LdapIdmap.
Return type:str
negative_cache_lifetime_seconds

Gets the negative_cache_lifetime_seconds of this LdapIdmap. The amount of time that a mount target will maintain information that a user is not found in the ID mapping configuration.

Returns:The negative_cache_lifetime_seconds of this LdapIdmap.
Return type:int
outbound_connector1_id

Gets the outbound_connector1_id of this LdapIdmap. The OCID of the first connector to use to communicate with the LDAP server.

Returns:The outbound_connector1_id of this LdapIdmap.
Return type:str
outbound_connector2_id

Gets the outbound_connector2_id of this LdapIdmap. The OCID of the second connector to use to communicate with the LDAP server.

Returns:The outbound_connector2_id of this LdapIdmap.
Return type:str
schema_type

Gets the schema_type of this LdapIdmap. Schema type of the LDAP account.

Allowed values for this property are: “RFC2307”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns:The schema_type of this LdapIdmap.
Return type:str
user_search_base

Gets the user_search_base of this LdapIdmap. All LDAP searches are recursive starting at this user.

Example: CN=User,DC=domain,DC=com

Returns:The user_search_base of this LdapIdmap.
Return type:str