Calendar Server 7, Calendar Auto-Create Fails After Changing davcore.autocreate.displaynameattr (Doc ID 1360040.1)

Last updated on JANUARY 11, 2017

Applies to:

Oracle Communications Calendar Server - Version 7.1 and later
Information in this document applies to any platform.

Symptoms


By default, when a user is created, (e.g.: using the Delegated Administrator command line utility, commadmin), the first time a user logs in to Convergence and clicks on the Calendar tab, the calendar is auto-created / auto-provisioned.

This works with the default Calendar 7 configuration parameters:

davcore.uriinfo.subjectattributes=cn davstore icsstatus mail
mailalternateaddress nsuniqueid owner preferredlanguage uid objectclass
ismemberof uniquemember memberurl mgrprfc822mailmember

davcore.autocreate.displaynameattr=cn


But, if davcore.autocreate.displaynameattr is set to (non-default) attribute "sn", WITHOUT adding it to davcore.uriinfo.subjectattributes, Calendar Server fails to auto-create the user's calendar.  When the new user tries to access his calendar (e.g.: by logging in to Convergence and clicking on the Calendar tab), he gets the following error:

The calendar service is not available. Please try again later.


If the user clicks on the Mail tab and then clicks on the Calendar tab again, the user gets an error of:

The request to the server has failed. (72)


STEPS

  1. Calendar Server 7u1-3.14 (patch 142785-03) and  Convergence 2 (145711-02).

  2. Default Calendar configuration:

    # ./davadmin config -o davcore.autocreate.displaynameattr
    Enter Admin password:*********
    davcore.autocreate.displaynameattr: cn

    # ./davadmin config -o davcore.uriinfo.subjectattributes
    Enter Admin password:*********
    davcore.uriinfo.subjectattributes: cn davstore icsstatus mail
    mailalternateaddress nsuniqueid owner preferredlanguage uid objectclass
    ismemberof uniquemember memberurl mgrprfc822mailmember
  3. Create a user using Delegated Administrator:

    # ./commadmin user create -D admin -w pass1 -d my.sun.com -S mail,cal,im
    -H host1.domain1.com -B host1.domain.com -l davtest1 -W davtest1 -F
    davtest1-fn -L davtest1-sn -E davtest1@my.sun.com
  4. Sign in to Convergence as the new user, and click on the Calendar tab.

    • The new user's calendar is auto-created.
  5. Now, modify the Calendar configuration parameter davcore.autocreate.displaynameattr:

    # ./davadmin config pass1 -o davcore.autocreate.displaynameattr -v sn
  6. Create another new user, "davtest2".

    # ./commadmin user create -D admin -w pass1 -d my.sun.com -S mail,cal,im
    -H host1.domain1.com -B host1.domain.com -l davtest2 -W davtest2 -F
    davtest2-fn -L davtest2-sn -E davtest2@my.sun.com
  7. Sign in to Convergence, and click on the Calendar tab.

    • The new user gets an error:  "The calendar service is not available. Please try again later".

    • If the user clicks on the Mail tab and then clicks on the Calendar tab again, the user gets an error "The request to the server has failed. (72)".

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms