ERICSSON-OPENLDAP-MIB DEFINITIONS ::= BEGIN

-- Title: OPENLDAP MIB
-- Document Number: 3/155 19-APR 901 333/1 Uen
-- Revision: B
-- Date: 2003-03-07
-- Prepared: ETH/RUMB Laszlo Varga
-- Approved: ETH/RUPC Rene Pedersen

  -- MIB for configurable parameters of the JIM LDAP Server

  IMPORTS
    OBJECT-TYPE  FROM RFC-1212
    DisplayString FROM SNMPv2-TC
    IpAddress FROM RFC1155-SMI
    platform FROM ERICSSON-JAMBALA-MIB;

   

        openldap OBJECT IDENTIFIER  ::= { platform 1 }
        
        schemacheck OBJECT-TYPE
                SYNTAX  INTEGER { on(1), off(2) }
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "This option turns schema checking on or
                         off. If schema checking is on, entries
                         added or modified are checked. This ensures
                         that they obey the schema rules implied by
                         their object class(es) as defined by the
                         corresponding objectclass option(s). If schema
                         checking is off this check is not done.
                         Default: schemacheck off."
                ::=  { openldap 1 }
    
        schemasTable OBJECT-TYPE
                SYNTAX  SEQUENCE OF SchemasEntry
                ACCESS  not-accessible
                STATUS  mandatory
                DESCRIPTION
                        "File names of the schemas used by the server."
                ::=  { openldap 2 }
                
        schemasEntry OBJECT-TYPE
                SYNTAX  SchemasEntry
                ACCESS  not-accessible
                STATUS  mandatory
                DESCRIPTION
                        "Entry corresponding to each schema in the
                         schemasTable."
                INDEX { schemasIndex }
                ::=  { schemasTable 1 }
        
        SchemasEntry ::=
                SEQUENCE {
                        schemasIndex
                                INTEGER,
                        schemas
                                DisplayString
                }

        schemasIndex OBJECT-TYPE
                SYNTAX  INTEGER (0..65536) 
                ACCESS  read-only
                STATUS  mandatory
                DESCRIPTION
                        "Index for the schemas table"
                ::=  { schemasEntry 1 }
                
        schemas OBJECT-TYPE
                SYNTAX  DisplayString
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "Schema full path name"
                ::=  { schemasEntry 2 }

        referral OBJECT-TYPE
                SYNTAX  DisplayString
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "This option specifies the referral to pass
                         back when slapd cannot find a local database
                         to handle a request. For example, referral
                         ldap:ldap.foo.com. This refers non-local queries
                         to the LDAP server at foo.com. Smart LDAP clients
                         can re-ask their query at this server, but note
                         that most of these clients are only going to know
                         how to handel simple LDAP URLs that contain a host
                         part and optionally a distinguished name part."
                ::=  { openldap  3 }
    
        sizelimit OBJECT-TYPE
                SYNTAX  INTEGER
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "This option specifies the maximum number of
                         entries to return from a search operation."
                ::=  { openldap  4 }
    
        database OBJECT-TYPE
                SYNTAX  DisplayString
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "Name of the backend used to connect to JIM. The
                         value is 'jim'."
                ::=  { openldap  5 }
    
        suffix OBJECT-TYPE
                SYNTAX  DisplayString
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "Suffix used to connect to any property on jim"
                ::=  { openldap  6 }
    
        server OBJECT IDENTIFIER  ::= { openldap 7 }
                
        serveraddress OBJECT-TYPE
                SYNTAX  IpAddress
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "IP address of the JIM server used as the backend.
                         For load sharing purposes, it should contain the
                         IP address of the internal VirtualIP address of
                         the cabinet."
                ::=  { server  1 }
                
        serverport OBJECT-TYPE
                                SYNTAX  INTEGER (0..65535)
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "TCP port number used by the JIM server which the
                         Idap server uses as the backend."
                ::=  { server  2 }
                
        backupServerTable OBJECT-TYPE
                SYNTAX  SEQUENCE OF BackupServerEntry
                ACCESS  not-accessible
                STATUS  mandatory
                DESCRIPTION
                        "Table of redundant JIM servers. If the main
                         server is not accessible, the Idap server will
                         try to connect to this server. The first entry
                         should contain the secondary address of the
                         internal VirtualIP."
                ::=  { openldap  8 }
                
        backupServerEntry OBJECT-TYPE
                SYNTAX  BackupServerEntry
                ACCESS  not-accessible
                STATUS  mandatory
                DESCRIPTION
                        "Entry definition for each redundant JIM server"
                INDEX { serverIndex }
                ::=  { backupServerTable  1 }
        
        BackupServerEntry ::=
                SEQUENCE {
                        serverIndex
                                INTEGER,
                        address
                                IpAddress,
                        port
                                INTEGER
                }
                
        serverIndex OBJECT-TYPE
                SYNTAX  INTEGER (0..255)
                ACCESS  read-only
                STATUS  mandatory
                DESCRIPTION
                        "Backup JIM Server Index"
                ::=  { backupServerEntry  1 }
                                
        address OBJECT-TYPE
                SYNTAX  IpAddress
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "Backup JIM Server address"
                ::=  { backupServerEntry  2 }
                
        port OBJECT-TYPE
                SYNTAX  INTEGER (0..65535)
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "Backup JIM Server port"
                ::=  { backupServerEntry  3 }
    
        reconnectperiod OBJECT-TYPE
                SYNTAX  INTEGER
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "Time in seconds before trying to reconnect
                         to the main JIM server address."
                ::=  { openldap  9 }
                
        openLdapAction OBJECT-TYPE
                SYNTAX  DisplayString
                ACCESS  read-write
                STATUS  mandatory
                DESCRIPTION
                        "Process control command line parameters,
                         used to start/restart/stop the JIM Ldap
                         server."
                ::=  { openldap 9999 }
                
END


