12.2 OID standalone server VirtualHost configuation

To modify the hostname, port etc. of the oid server - you need to use ldap modify.

Modifying initial instance oid1 created by oid_setup() that was created on non-standard ports.

By default the service will run on all interfaces on the server (attribute value will be the physical host of the server) 

To update settings to bind to a specific ip only - follow the steps from the documentation:

I modified the ssl, non-ssl ports and hostname. 

Create ldif file with  changes: 

dn: cn=oid1, cn=osdldapd, cn=subconfigsubentry
changetype: modify
replace:  orclsslport
orclsslport: 636
 
dn: cn=oid1, cn=osdldapd, cn=subconfigsubentry
changetype: modify
replace:  orclnonsslport
orclnonsslport: 389
 
dn: cn=oid1, cn=osdldapd, cn=subconfigsubentry
changetype: modify
replace: orclhostname
orclhostname: <newservername>
Run the update

ldapmodify -D cn=orcladmin -q -p <oldnonsslport> -h <oldservername> -f  changes.ldif
Restart OID

cd $DOMAIN_HOME/bin
./stopComponent.sh oid1
./startComponent.sh oid1


Comments