Comparison of Sun Java System LDAP Schema Modes for Communications Suite Products

Comparing User LDAP Entries for Schema Version 1 and Schema Version 2 Modes

User LDAP entries for Schema version 1 mode and Schema version 2 modes reflect the products that use them. They carry different object classes and attributes depending on which other products and administration tools access them. For example, for Schema version 2 modes with Access Manager, many Access Manager attributes starting with “iplanet-am-” are added to user entries. For Schema version 1 mode, the iPlanet Delegated Administrator object class nsManagedPerson and its attributes are added to user entries.

This section contains examples of user LDAP entries for both schemas for Messaging Server and Calendar Server.

For more information on schema object classes and attributes used by the administration tools, see Sun Java Communications Suite 5 Schema Reference

Examples of User LDAP Entries for Messaging Server

This section contains examples of user LDAP entries for Schema version 1 and Schema version 2 modes. The Schema version 1 mode entry is larger and more complete. The Schema version 2 mode entry illustrates a minimal user entry.


Example 1–5 Schema Version 1 Mode User LDAP Entry for Messaging Server

Notice the iPlanet Delegated Administrator object class nsManagedPerson.

uid=mj123456789,ou=People,o=red.sesta.com, o=SestaMail
sunUCDefaultEmailHandler=uc
givenName=Mike
objectClass=top
objectClass=person
objectClass=organizationalPerson
objectClass=inetOrgPerson
objectClass=inetUser
objectClass=inetSubscriber
objectClass=ipUser
objectClass=userPresenceProfile
objectClass=inetMailUser
objectClass=inetLocalMailRecipient
objectClass=nsManagedPerson
objectClass=sunUCPreferences
sunUCTheme=uwc
nsdaCapability=mailListCreate
sunUCTimeZone=America/Los_Angeles
mailQuota=-1
uid=mj123456789
mail=michael.jonese@sesta.COM
cn=Mike Jones
initials=MJ
inetUserStatus=active
mailHost=mail1.red.sesta.com
sn=Jones
mailMsgQuota=-1
pabURI=ldap://mail1.red.sesta.com:389/    \\
    ou=mjones,ou=People,o=red.sesta.com,o=SestaMail,o=pab
mailAutoReplyTimeout=168
mailDeliveryOption=mailbox
mailDeliveryOption=autoreply
sunUCDateFormat=M/D/Y
sunUCDateDelimiter=/
sunUCTimeFormat=12
vacationEndDate=20050219182103Z
vacationStartDate=20050217182103Z
mailAutoReplySubject=Auto-reply - I am out of the office
mailAutoReplyTextInternal=This is an automatic reply.
mailAutoReplyText=This is an automatic reply. 
mailAlternateAddress=Mike.Jones@red.sesta.com
mailAlternateAddress=mjones@mail1.red.sesta.com
mailUserStatus=active
userPassword= password


Example 1–6 Schema Version 2 Modes User LDAP Entry for Messaging Server

Notice the Access Manager object classes iplanet-am-managed-person, iplanet-am-user-service, and iplanetpreferences. Likewise, the attributes from these object classes are iplanet-am-modifiable-by, and preferredLanguage.

Sometimes an object class in included but none of its attributes are currently used. This can be done to simplify the addition of further attributes later, without having to add the object class, but its not mandatory.

dn: uid=jdoe,ou=People,o=sesta.com,o=sestMail
objectClass: top
objectClass: iplanet-am-managed-person
objectClass: iplanet-am-user-service
objectClass: inetadmin
objectClass: organizationalperson
objectClass: person
objectClass: userpresenceprofile
objectClass: inetuser
objectClass: inetlocalmailrecipient
objectClass: iplanetpreferences
objectClass: ipuser
objectClass: inetorgperson
objectClass: inetsubscriber
objectClass: inetmailuser
sn: jdoe
mailDeliveryOption: mailbox
cn: John Doe
uid: jdoe
iplanet-am-modifiable-by: cn=Top-level Admin Role,o=mailQA
mail: jdoe@sesta.com
givenName: John
mailHost: toystory2.red.sesta.com
mailUserStatus: active
inetUserStatus: Active
userPassword: password
preferredLanguage: en

Examples of User LDAP Entries for Calendar

This section contains examples of user LDAP entries for Schema version 1 and Schema version 2 modes. The Schema version 1 mode entry is larger and more complete. The Schema version 2 modes entry illustrates a minimal user entry. This illustrates that user entries can be very complex or very minimal, depending on your needs.

For more information on schema object classes and attributes, see Sun Java Communications Suite 5 Schema Reference.


Example 1–7 Schema Version 1 Mode User Entry for Calendar Server

cn=Michael Jones,ou=people,dc=sesta,dc=com
objectClass=icsCalendarUser
objectClass=emailPerson
objectClass=inetOrgPerson
objectClass=inetadmin
objectClass=inetuser
objectClass=mailRecipient
objectClass=organizationalPerson
objectClass=person
objectClass=sunOrganizationalPerson
objectClass=top
objectClass=sunUCPreferences
objectClass=inetLocalMailRecipient
objectClass=inetMailUser
objectClass=ipUser
cn=Michael Jones
mail=Michael.Jones@sesta.com
mailAlternateAddress=mjones@sesta.com
mailAlternateAddress=mikej@sesta.COM
preferredrfc822recipient=Michael.Jones@sesta.com
rfc822recipient=Michael.Jones@Sun.com
rfc822recipient=Michael.Jones@west.sesta.com
sn=Jones
uid=mj123456789
inetUserStatus=active
sunwmailserverdomain=west
userPassword={crypt}e/UnVTLVBX71s
nswmExtendedUserPrefs=UWCMailPreferencesInitialized=true
nswmExtendedUserPrefs=mepabmigration=1
icsCalendar=mj123456789@sesta.com
icsTimezone=America/Los_Angeles
icsFirstDay=1
icsFreeBusy=mj123456789@sesta.com
icsExtendedUserPrefs=sunCalInitialized=true
icsExtendedUserPrefs=ceColorSet=pref_group_3
icsExtendedUserPrefs=ceToolText=1
icsExtendedUserPrefs=ceToolImage=1
icsExtendedUserPrefs=ceFontFace=PrimaSans BT,Verdana,sans-serif
icsExtendedUserPrefs=ceExcludeSatSun=0
icsExtendedUserPrefs=ceGroupInviteAll=1
icsExtendedUserPrefs=ceAllCalendarTZIDs=1
icsExtendedUserPrefs=ceShowCompletedTasks=false
icsExtendedUserPrefs=ceDefaultCategory=Business
icsExtendedUserPrefs=ceDayHead=9
icsExtendedUserPrefs=ceDayTail=16
icsExtendedUserPrefs=ceInterval=PT0H30M
icsExtendedUserPrefs=ceWeekEndDays=1,7
icsExtendedUserPrefs=ceIncludeWeekendInViews=true
icsExtendedUserPrefs=ceSingleCalendarTZID=0
icsExtendedUserPrefs=ceNotifyEnable=1
icsExtendedUserPrefs=ceDefaultAlarmEmail=Michael.Jones@sesta.com
icsExtendedUserPrefs=ceNotifyEmail=Michael.Jones@sesta.com
icsExtendedUserPrefs=ceDefaultView=weekview
icsDWPHost=cal1
icsCalendarOwned=mj123456789@sesta.com:meetings
icsCalendarOwned=mj123456789@sesta.com:Birthdays$Birthdays
icsCalendarOwned=mj123456789@sesta.com:Test$Test Calendar
icsSubscribed=pgreen@sesta.com$pgreen
icsSubscribed=russs@sesta.com$Russ Smith


Example 1–8 Schema Version 2 Modes User LDAP Entry for Calendar Server

dn: uid=jdoe,ou=People,o=sesta.com,o=mailqa
objectClass: iplanetpreferences
objectClass: iplanet-am-user-service
objectClass: iplanet-am-managed-person
objectClass: top
objectClass: icscalendaruser
objectClass: organizationalperson
objectClass: inetadmin
objectClass: ipuser
objectClass: inetorgperson
objectClass: person
objectClass: inetuser
sn: user2
cn: test user2
icsStatus: Active
icsCalendar: jdoe@sesta.com
icsFirstDay: 2
uid: jdoe@sesta.com
iplanet-am-modifiable-by: cn=Top-level Admin Role,o=mailQA
icsTimezone: America/Denver
mail: jdoe@sesta.com
givenName: John
inetUserStatus: Active
userPassword: {SSHA}jlwkaCB8YO/DfaqNWVMZ1bF3DDgvfGJorXu5VA==