Sun ONE Portal Server 6.2 管理员指南 |
附录 I
模式参考本附录提供了关于 Sun ONE Portal Server LDAP 模式定义的参考。
本附录包含以下部分:
Sun ONE Portal Server 桌面模式按默认方式安装的 psDesktop.ldif 文件位于 /opt/SUNWps/export 目录下。
Sun ONE Portal Server NetMail 模式按默认方式安装的 psNetMail.ldif 文件位于 /opt/SUNWps/export 目录下。
代码示例 I-2 NetMail 模式
#
# Copyright 2001 Sun Microsystems, Inc. All rights reserved.
# PROPRIETARY/CONFIDENTIAL.Use of this product is subject to license terms.
#
#
# Sun ONE Portal Server (iPS) Netmail Service Schema
# Last Modified October 2001
#
dn:cn=schema
changetype:modify
add:attributeTypes
attributeTypes:( sunPortalNetmailIMAPServerName-oid NAME ‘sunPortalNetmailIMAPServerName’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailSMTPServerName-oid NAME ‘sunPortalNetmailSMTPServerName’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailDefaultMailDomain-oid NAME ‘sunPortalNetmailDefaultMailDomain’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailRootFolder-oid NAME ‘sunPortalNetmailRootFolder’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailSentMessagesFolder-oid NAME ‘sunPortalNetmailSentMessagesFolder’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailReplyWithAuthor-oid NAME ‘sunPortalNetmailReplyWithAuthor’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailReplyWithDate-oid NAME ‘sunPortalNetmailReplyWithDate’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailReplyWithBody-oid NAME ‘sunPortalNetmailReplyWithBody’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailIndentPrefix-oid NAME ‘sunPortalNetmailIndentPrefix’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailAddSignature-oid NAME ‘sunPortalNetmailAddSignature’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailInitialHeaders-oid NAME ‘sunPortalNetmailInitialHeaders’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailInactivityInterval-oid NAME ‘sunPortalNetmailInactivityInterval’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailMaxAttachLen-oid NAME ‘sunPortalNetmailMaxAttachLen’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailAutoload-oid NAME ‘sunPortalNetmailAutoload’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailAutosave-oid NAME ‘sunPortalNetmailAutosave’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailAutopurge-oid NAME ‘sunPortalNetmailAutopurge’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailAutoFolderLoad-oid NAME ‘sunPortalNetmailAutoFolderLoad’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailMultipleReadWindows-oid NAME ‘sunPortalNetmailMultipleReadWindows’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailSortKey-oid NAME ‘sunPortalNetmailSortKey’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailViewKey-oid NAME ‘sunPortalNetmailViewKey’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailComposeWinBounds-oid NAME ‘sunPortalNetmailComposeWinBounds’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailFolderWinBounds-oid NAME ‘sunPortalNetmailFolderWinBounds’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailReadWinBounds-oid NAME ‘sunPortalNetmailReadWinBounds’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailGridHeight-oid NAME ‘sunPortalNetmailGridHeight’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailGridColWidths-oid NAME ‘sunPortalNetmailGridColWidths’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailTextColor-oid NAME ‘sunPortalNetmailTextColor’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailBackgroundColor-oid NAME ‘sunPortalNetmailBackgroundColor’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailTextSize-oid NAME ‘sunPortalNetmailTextSize’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailTextStyle-oid NAME ‘sunPortalNetmailTextStyle’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailHeadersPerPage-oid NAME ‘sunPortalNetmailHeadersPerPage’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailNewestFirst-oid NAME ‘sunPortalNetmailNewestFirst’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailNoPrefsList-oid NAME ‘sunPortalNetmailNoPrefsList’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailLDAPServer-oid NAME ‘sunPortalNetmailLDAPServer’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailIMAPUserid-oid NAME ‘sunPortalNetmailIMAPUserid’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailIMAPPassword-oid NAME ‘sunPortalNetmailIMAPPassword’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailReplyToAddress-oid NAME ‘sunPortalNetmailReplyToAddress’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailSignature-oid NAME ‘sunPortalNetmailSignature’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailFavoriteFolders-oid NAME ‘sunPortalNetmailFavoriteFolders’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailPersonalAddressBook-oid NAME ‘sunPortalNetmailPersonalAddressBook’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailExecutable-oid NAME ‘sunPortalNetmailExecutable’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalNetmailLogMessages-oid NAME ‘sunPortalNetmailLogMessages’ DESC ‘iPS NetMail Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
dn:cn=schema
changetype:modify
add:objectClasses
objectClasses:( sunPortalNetmailPerson-oid NAME ‘sunPortalNetmailPerson’ DESC ‘Sun ONE NetMail Service’ SUP top AUXILIARY MAY ( sunPortalNetmailIMAPServerName $ sunPortalNetmailSMTPServerName $ sunPortalNetmailDefaultMailDomain $ sunPortalNetmailRootFolder $ sunPortalNetmailSentMessagesFolder $ sunPortalNetmailReplyWithAuthor $ sunPortalNetmailReplyWithDate $ sunPortalNetmailReplyWithBody $ sunPortalNetmailIndentPrefix $ sunPortalNetmailAddSignature $ sunPortalNetmailInitialHeaders $ sunPortalNetmailInactivityInterval $ sunPortalNetmailMaxAttachLen $ sunPortalNetmailAutoload $ sunPortalNetmailAutosave $ sunPortalNetmailAutopurge $ sunPortalNetmailAutoFolderLoad $ sunPortalNetmailMultipleReadWindows $ sunPortalNetmailSortKey $ sunPortalNetmailViewKey $ sunPortalNetmailComposeWinBounds $ sunPortalNetmailFolderWinBounds $ sunPortalNetmailReadWinBounds $ sunPortalNetmailGridHeight $ sunPortalNetmailGridColWidths $ sunPortalNetmailTextColor $ sunPortalNetmailBackgroundColor $ sunPortalNetmailTextSize $ sunPortalNetmailTextStyle $ sunPortalNetmailHeadersPerPage $ sunPortalNetmailNewestFirst $ sunPortalNetmailNoPrefsList $ sunPortalNetmailLDAPServer $ sunPortalNetmailIMAPUserid $ sunPortalNetmailIMAPPassword $ sunPortalNetmailReplyToAddress $ sunPortalNetmailSignature $ sunPortalNetmailFavoriteFolders $ sunPortalNetmailPersonalAddressBook $ sunPortalNetmailExecutable $ sunPortalNetmailLogMessages) X-ORIGIN ‘Sun ONE Access Management’ )
Sun ONE Portal Server 搜索模式按默认方式安装的 psSearch.ldif 文件位于 /opt/SUNWps/export 目录下。
代码示例 I-3 搜索模式
#
# Copyright 2001 Sun Microsystems, Inc. All rights reserved.
# PROPRIETARY/CONFIDENTIAL.Use of this product is subject to license terms.
#
#
# Sun ONE Portal Server (iPS) Search Service Schema
# Last Modified April 2002
#
dn:cn=schema
changetype:modify
add:attributeTypes
attributeTypes:( sunPortalSearchInstances-oid NAME ‘sunPortalSearchInstances’ DESC ‘iPS Search Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalSearchSelectedInstances-oid NAME ‘sunPortalSearchSelectedInstances’ DESC ‘iPS Desktop Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalSearchExecutable-oid NAME ‘sunPortalSearchExecutable’ DESC ‘iPS Search Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
attributeTypes:( sunPortalSearchAdminExecutable-oid NAME ‘sunPortalSearchAdminExecutable’ DESC ‘iPS Search Attribute’ SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 X-ORIGIN ‘Sun ONE Access Management’ )
dn:cn=schema
changetype:modify
add:objectClasses
objectClasses:( sunPortalSearchPerson-oid NAME ‘sunPortalSearchPerson’ DESC ‘Sun ONE Search Service’ SUP top AUXILIARY MAY ( sunPortalSearchInstances $ sunPortalSearchExecutable $ sunPortalSearchAdminExecutable $ sunPortalSearchSelectedInstances) X-ORIGIN ‘Sun ONE Access Management’ )