Can't use calendar.

When i create user with "-k legacy" , then i can use the calendar.

"commadmin user create -D chris -n sesta.com -w secret -F smith -l john -L major -W secret -S mail -H mailhost.siroe.com -k legacy"

But when i create user not with "-k legacy" , then i can't use the calendar.

"commadmin user create -D chris -n sesta.com -w secret -F smith -l john -L major -W secret -S mail -H mailhost.siroe.com

Thank you.

[454 byte] By [sshgz] at [2007-11-25 22:21:45]
# 1
With your server not currently supporting virtual domains, you need to use the -k legacy option. Otherwise commadmin will create calid's for virtual domains just like you experienced when adding users from the Delegated Admin GUI.
Button@Sun at 2007-7-5 2:20:44 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 2
Yes, i have solved the problem.
sshgz at 2007-7-5 2:20:44 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 3
Can anyone of you tell me how do i set up virtual domain for my server? i have that same problemThanks
Kinnari at 2007-7-5 2:20:44 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...
# 4

This document might help you setup virtual domain.Her we are doing the Virtual domain setup for UWC,you could probably use ONLY that part of the steps below that are relavant to calendar server if you are not using UWC.

Suppose you want to create domain called pepsi.com, the machine you are using is nicp103.india.sun.com and the port in which uwc is deployed is indicated agianst -p option.

Use the following command

./commadmin domain create -D amadmin -w adminpassword -X nicp103.india.sun.com -n nicp103.india.sun.com -p uwcport -d pepsi.com -o pepsi.com -S cal,mail

it will prompt for

Enter domain's mailhost: Provide fully qualified host name.

The "pepsi.com" domain will be created.

3) Create User under the domain.

./commadmin user create -D amadmin -w adminpassword -X nicp103.india.sun.com -n nicp103.india.sun.com -p uwcport -d pepsi.com -F test -L user1 -l user1 -W user1 -S mail,cal

4) Go to /var/opt/SUNWuwc/WEB-INF/config

open uwcauth.properties file.

Search for " virtualdomain.mode " and set it to "y".

5) Go to /etc/opt/SUNWam/config

open AMConfig.properties file.

Search for "fqdnMap" parameter and set it to "nicp103.pepsi.com"(virtual domain that you created).

6) Restart the webserver and login to uwc with any user under the domain you just created(pepsi.com) and try to access calender.

You should be able to access calender.

For the default domain user to access calender open /opt/SUNWics5/cal/config/ics.conf

and set the following parameters:(Refer to CE Admin Guide for more info)

service.virtualdomain.support = "y"

local.schemaversion = "2"

service.dcroot = "o=iec" (or whatever u have given during installation)

service.schema2root = "o=iec"

service.defaultdomain = "india.sun.com"

service.loginseparator = "@+"

service.siteadmin.userid = "admin@india.sun.com"

service.virtualdomain.scope = "select"

local.domain.language = "en"

Restart Calendar server.

Issue the following command.

./commadmin domain modify -D amadmin -w adminpassword -X nicp103.india.sun.com -n nicp103.india.sun.com

-p uwcport -d <put your default domain here> -S cal,mail

it will prompt for

Enter domain's mailhost: Provide fully qualified host name.

Now try to login as defaultdomain user in uwc you will be able to access calender

thanks

Ramya

ramya_ravi at 2007-7-5 2:20:44 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Calendar Server...