Monday, August 18, 2014

WebLogic Server: Change to Production Mode

Tested On: WebLogic 10.3.6
Description: Demonstrated how to switch from development mode to production mode. The runtime mode is a domain-wide setting. As each Managed Server starts, it refers to the mode of the Administration Server to determine its runtime mode.
References: http://docs.oracle.com/cd/E23943_01/apirefs.1111/e13952/taskhelp/domainconfig/ChangeRuntimeModes.html

Tuesday, August 5, 2014

OpenLDAP: Adding inetOrgPerson Object Class

1. Shutdown OpenLDAP.

2. Locate the path of the "inetorgperson.schema" file (E.g. /usr/local/etc/openldap/schema). At the top of the "slapd.conf" file (E.g. Location = /usr/local/etc/openldap) include the following lines:

include         /usr/local/etc/openldap/schema/core.schema
include         /usr/local/etc/openldap/schema/cosine.schema
include         /usr/local/etc/openldap/schema/inetorgperson.schema

Adjust the location of the schema files accordingly. The "inetorgperson.schema"file requires "core.schema" and "cosine.schema" files (These files should be in the same directory as the "inetorgperson.schema" file).

3. Start OpenLDAP by executing the slapd script (E.g. Location = /usr/local/libexec).

4. Verify you are able to create a user with the inetOrgPerson object class and set attributes associated with object class. 

inetOrgPerson Object Class via Apache Directory Studio Schema Browser

User with inetOrgPerson Object Class assigned