# adcontext.sbs   Created 7/16/99
#
# Modified:
# 7/16/99   scaminez    Creation
#
#
#
#
# This ldif file creates the required objects for an Oracle Admin context,
# including:
#   the top level container object (OracleContext),
#   the Products container object,
#   the 3 admin groups under the Users folder,
#   the DBsecurity container object, and
#   the default domain under the DBsecurity container.
#
#
#
#
# ***********************      adcontext.sbs  **************************
#
#
# Create Oracle Admin context object
#
dn: cn=OracleContext,dc=AdminCtxDomain
changetype: add
cn: OracleContext
objectclass: top
objectclass: orclContext

#
#
#
# Create Products container object under the context
#
dn: cn=Products,cn=OracleContext,dc=AdminCtxDomain
changetype: add
cn: Products
objectclass: top
objectclass: orclContainer

#
#
#
# Create the three admin groups under the context
#
dn: cn=OracleDBSecurityAdmins,cn=Users,dc=UsersDomain
changetype: add
cn: OracleDBSecurityAdmins
objectclass: top
objectclass: group
sAMAccountName: OracleDBSecurityAdmins
groupType: -2147483644
member: cn=Current User

dn: cn=OracleDBCreators,cn=Users,dc=UsersDomain
changetype: add
cn: OracleDBCreators
objectclass: top
objectclass: group
sAMAccountName: OracleDBCreators
groupType: -2147483644
member: cn=Domain Admins,cn=Users,dc=UsersDomain
member: cn=Current User

dn: cn=OracleNetAdmins,cn=Users,dc=UsersDomain
changetype: add
cn: OracleNetAdmins
objectclass: top
objectclass: group
sAMAccountName: OracleNetAdmins
groupType: -2147483644
member: cn=Domain Admins,cn=Users,dc=UsersDomain
member: cn=Current User

#
#
#
# Create DB Security container object to hold the domains
#
dn: cn=OracleDBSecurity,cn=Products,cn=OracleContext,dc=AdminCtxDomain
changetype: add
cn: OracleDBSecurity
objectclass: top
objectclass: orclContainer

#
#
#
# Create default domain
#
dn: cn=OracleDefaultDomain,cn=OracleDBSecurity,cn=Products,cn=OracleContext,dc=AdminCtxDomain
changetype: add
cn: OracleDefaultDomain
objectclass: top
objectclass: orclDBEnterpriseDomain
