2 Replies Latest reply: Mar 29, 2013 9:50 AM by benvanloock-Oracle RSS

    IWC - Disabling Corporate Directory to a specific Domain.

    caius75
      Hi Guys,
      I 'm running Convergence 2 and as described in the subject i need to disable Corporate Directory to a specific domain.
      First of all as indicated in the wiki:

      https://wikis.oracle.com/display/CommSuite/Convergence+Administrative+Tasks#ConvergenceAdministrativeTasks-abdomainbasedsetup

      I tried to setup a "per domain" addressbook configuration for both Personal and Corporate in order to disable the last one.

      This is what i did:

      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.psrootpattern -v ldap:///piPStoreOwner=%U,o=%D,o=PiServerDb
      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.pstore.defaultserver -v babelint
      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.pstore.[babelint].ldaphost -v rh5home.babel.int
      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.pstore.[babelint].ldapport -v 389
      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.pstore.[babelint].ldapbinddn -v "cn=Directory Manager"
      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.pstore.[babelint].ldapbindcred -v ***************

      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.corpdir.[babelint].urlmatch -v ldap://rh5home.babel.int:389/ou=people,o=babel.int,dc=babel,dc=it
      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.corpdir.[babelint].searchattr -v entry/displayname,@uid
      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.corpdir.[babelint].lookthrulimit -v 3000
      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.corpdir.[babelint].ldaphost -v rh5home.babel.int
      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.corpdir.[babelint].ldapport -v 389
      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.corpdir.[babelint].ldapbinddn -v "cn=Directory Manager"
      /opt/sun/comms/iwc/sbin/iwcadmin -u admin -w webadmin -o ab.{babel.int}.corpdir.[babelint].ldapbindcred -v ***************



      But i have some errors and excpetions in iwc.log


      CONFIG: ERROR from com.sun.comms.client.admin.web.util.ConfigHelper Thread main at 2013-03-22 14:09:50,303 - Parsing error occured while loading the configuration from the file /var/opt/sun/comms/iwc/config/configuration.xml Parsing Error
      Line: 208
      URI: file:/var/opt/sun/comms/iwc/config/configuration.xml
      Message: cvc-complex-type.2.4.b: The content of element 'PSConfig' is not complete. One of '{UsePsRoot, MaxPagedSearch, NumOfRetries, LdapDelay, StoreCacheEntryCount, StoreEntriesLimit, StoreQuotaWarn, Notification}' is expected.
      CONFIG: WARN from com.sun.comms.client.admin.web.util.ConfigHelper Thread main at 2013-03-22 14:09:50,321 - Now parsing the configuration XML without validating against schema. Although the application may work, it is strogly advised to correct the errors in the configuration
      CONFIG: ERROR from com.sun.comms.client.admin.web.util.ConfigHelper Thread main at 2013-03-22 14:09:51,613 - Parsing error occured while loading the configuration from the file /var/opt/sun/comms/iwc/config/credentials.xml Parsing Error
      Line: 60
      URI: file:/var/opt/sun/comms/iwc/config/credentials.xml
      Message: cvc-complex-type.2.4.a: Invalid content was found starting with element 'DBLDAP'. One of '{Identifier, DBConfig}' is expected.


      What's wrong?

      Any ideas?


      Thank you

      Caius