#  This is the Sybase Server schema for Active Directory.
#  This file should be imported into AD or AD/AM, with the following command:
#  ldifde -i -u -f sybase.ldf -s server:port -b <username> <domain> <password>
#      -j . -c "cn=Configuration,dc=X" #configurationNamingContext
#  ldifde.exe from AD/AM V1.0 or above must be used.
# ============================================================================


#  Sybase Server Attributes
# ==========================

# Attribute: sybaseVersion
dn: cn=sybaseVersion,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.1
ldapDisplayName: sybaseVersion
attributeSyntax: 2.5.5.6
oMSyntax: 18
isSingleValued: TRUE
systemOnly: FALSE

# Attribute: sybaseServername
dn: cn=sybaseServername,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.2
ldapDisplayName: sybaseServername
attributeSyntax: 2.5.5.12
oMSyntax: 64
systemOnly: FALSE

# Attribute: sybaseService
dn: cn=sybaseService,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.3
ldapDisplayName: sybaseService
attributeSyntax: 2.5.5.12
oMSyntax: 64
systemOnly: FALSE

# Attribute: sybaseStatus
dn: cn=sybaseStatus,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.4
ldapDisplayName: sybaseStatus
attributeSyntax: 2.5.5.6
oMSyntax: 18
isSingleValued: TRUE
systemOnly: FALSE

# Attribute: sybaseAddress
dn: cn=sybaseAddress,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.5
ldapDisplayName: sybaseAddress
attributeSyntax: 2.5.5.12
oMSyntax: 64
systemOnly: FALSE

# Attribute: sybaseSecurity
dn: cn=sybaseSecurity,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.6
ldapDisplayName: sybaseSecurity
attributeSyntax: 2.5.5.12
oMSyntax: 64
systemOnly: FALSE

# Attribute: sybaseRetryCount
dn: cn=sybaseRetryCount,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.7
ldapDisplayName: sybaseRetryCount
attributeSyntax: 2.5.5.6
oMSyntax: 18
isSingleValued: TRUE
systemOnly: FALSE

# Attribute: sybaseRetryDelay
dn: cn=sybaseRetryDelay,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.8
ldapDisplayName: sybaseRetryDelay
attributeSyntax: 2.5.5.6
oMSyntax: 18
isSingleValued: TRUE
systemOnly: FALSE

# Attribute: sybaseJconnectProtocol
dn: cn=sybaseJconnectProtocol,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.9
ldapDisplayName: sybaseJconnectProtocol
attributeSyntax: 2.5.5.12
oMSyntax: 64
isSingleValued: TRUE
systemOnly: FALSE

# Attribute: sybaseJconnectProperty
dn: cn=sybaseJconnectProperty,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.10
ldapDisplayName: sybaseJconnectProperty
attributeSyntax: 2.5.5.12
oMSyntax: 64
systemOnly: FALSE

# Attribute: sybaseDatabaseName
dn: cn=sybaseDatabaseName,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.11
ldapDisplayName: sybaseDatabaseName
attributeSyntax: 2.5.5.12
oMSyntax: 64
isSingleValued: TRUE
systemOnly: FALSE

# Attribute: sybaseHAservername
dn: cn=sybaseHAservername,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.15
ldapDisplayName: sybaseHAservername
attributeSyntax: 2.5.5.12
oMSyntax: 64
isSingleValued: TRUE
systemOnly: FALSE

# Attribute: sybaseResourceManagerName
dn: cn=sybaseResourceManagerName,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.16
ldapDisplayName: sybaseResourceManagerName
attributeSyntax: 2.5.5.12
oMSyntax: 64
isSingleValued: TRUE
systemOnly: FALSE

# Attribute: sybaseResourceManagerType
dn: cn=sybaseResourceManagerType,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.17
ldapDisplayName: sybaseResourceManagerType
attributeSyntax: 2.5.5.6
oMSyntax: 18
isSingleValued: TRUE
systemOnly: FALSE

# Attribute: sybaseJdbcDataSourceInterface
dn: cn=sybaseJdbcDataSourceInterface,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.18
ldapDisplayName: sybaseJdbcDataSourceInterface
attributeSyntax: 2.5.5.12
oMSyntax: 64
isSingleValued: TRUE
systemOnly: FALSE

# Attribute: sybaseServerType
dn: cn=sybaseServerType,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: attributeSchema
attributeId: 1.3.6.1.4.1.897.4.2.19
ldapDisplayName: sybaseServerType
attributeSyntax: 2.5.5.12
oMSyntax: 64
isSingleValued: TRUE
systemOnly: FALSE

dn: 
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-


#  Sybase Server Class
# =====================

# Class: sybaseServer
dn: cn=sybaseServer,cn=Schema,cn=Configuration,dc=X
changetype: ntdsschemaadd
objectClass: classSchema
governsID: 1.3.6.1.4.1.897.4.1.1
ldapDisplayName: sybaseServer
objectClassCategory: 1
# subclassOf: top
subclassOf: 2.5.6.0
# rdnAttId: sybaseServername
rdnAttId: 1.3.6.1.4.1.897.4.2.2
# mustContain: objectClass
mustContain: 2.5.4.0
# mustContain: sybaseServername
mustContain: 1.3.6.1.4.1.897.4.2.2
# mustContain: sybaseAddress
mustContain: 1.3.6.1.4.1.897.4.2.5
# mayContain: sybaseVersion
mayContain: 1.3.6.1.4.1.897.4.2.1
# mayContain: sybaseService
mayContain: 1.3.6.1.4.1.897.4.2.3
# mayContain: sybaseStatus
mayContain: 1.3.6.1.4.1.897.4.2.4
# mayContain: sybaseSecurity
mayContain: 1.3.6.1.4.1.897.4.2.6
# mayContain: sybaseRetryCount
mayContain: 1.3.6.1.4.1.897.4.2.7
# mayContain: sybaseRetryDelay
mayContain: 1.3.6.1.4.1.897.4.2.8
# mayContain: sybaseJconnectProtocol
mayContain: 1.3.6.1.4.1.897.4.2.9
# mayContain: sybaseJconnectProperty
mayContain: 1.3.6.1.4.1.897.4.2.10
# mayContain: sybaseDatabaseName
mayContain: 1.3.6.1.4.1.897.4.2.11
# mayContain: sybaseHAservername
mayContain: 1.3.6.1.4.1.897.4.2.15
# mayContain: sybaseResourceManagerName
mayContain: 1.3.6.1.4.1.897.4.2.16
# mayContain: sybaseResourceManagerType
mayContain: 1.3.6.1.4.1.897.4.2.17
# mayContain: sybaseJdbcDataSourceInterface
mayContain: 1.3.6.1.4.1.897.4.2.18
# mayContain: sybaseServerType
mayContain: 1.3.6.1.4.1.897.4.2.19
# possSuperiors: top
possSuperiors: 2.5.6.0

dn: 
changetype: modify
add: schemaUpdateNow
schemaUpdateNow: 1
-
