Question on creating service packages

Hi there,

I have got my system working now but want to create some service packages for my users so stuff like quotas can be managed easily through DA.

To quickly explain how my directory is organised, my DC root is dc=domain,dc=com and all my users and groups etc are in an organisation within that domain - o=isp,dc=domain,dc=com

When I installed the software I chose to install the sample service packages so that I would have a point of reference. These are available in the root of my DC (dc=domain,dc=com) but not available to my users in the o=isp organisation.

Not a problem, I thought, as I wanted to create my own service packages anyway. Have created the LDIF file following the document like so:

dn: cn=bronze,o=cosTemplates,o=isp,dc=domain,dc=com

changetype: add

objectclass: top

objectclass: LDAPsubentry

objectclass: extensibleobject

objectclass: LDAPsubentry

objectclass: extensibleobject

objectclass: cosTemplate

cn: bronze

mailMsgMaxBlocks: 1000000

mailquota: 250000000

mailmsgquota: 10000

mailAllowedServiceAccess: +pop:ALL$+imap:ALL$+smtp:ALL$+http:ALL

daServiceType: calendar user

daServiceType: mail user

But when I try to import this into the directory, it fails because o=cosTemplates does not existing inside o=isp.

Now I am not sure how to procede ... simply create an o=cosTemplates inside my org (I can copy it from the DC root) or import them into the DC root and apply them to my org somehow (I am unsure how I would do this).

EDIT: I am using schema 2 in case it makes a difference

Many Thanks

Josh

[1681 byte] By [Josh_Berrya] at [2007-11-26 20:56:04]
# 1
I think you can just create your o=cosTemplates where you need it.
jay_plesseta at 2007-7-10 2:24:08 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2

Worked this one out. Just in case anyone else tries to do this wrong like me...

You don't actually create the Service Packages inside your organization like I was trying to do. You create them in the root of your DC tree (dc=domain,dc=com here) and then use the following atributes to assign them to your org:

objectClass: sunManagedProvider

sunIncludeServices: <service package>

sunAvailableServices: <service package>

They are then available in DA for you to use.

Josh

Josh_Berrya at 2007-7-10 2:24:08 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 3
Thank you for letting us know. I learn here, too!jay
jay_plesseta at 2007-7-10 2:24:08 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...