# 
#	slapd.odbc.conf
#

#---------------------------------------------------------------------
# suffix - this is the only one top dn (root dn) for the back-end
# this root dn is used for White Pages. All the user entries must be 
# located under this tree
suffix   "dc=nortel,dc=ca"

#----------------------------------------------------------------------
# Referral - designates the refferal LDAP server returned for queries
# against wrong root dns.
#Referral              allstar.nortel.com


#----------------------------------------------------------------------
# DataSource - ODBC data source name
# Note: this is Nortel specific
DataSource          blue

#----------------------------------------------------------------------
# SvcDataSource - ODBC data source name, when running as a service
# Note: this is Nortel specific
SvcDataSource   blue

#----------------------------------------------------------------------
# DefaultUserID - the ODBC user used to perform ODBC actions (possible 
# requires write access for the add, delete and modify operations)
# Note: this is Nortel specific
DefaultUserID   blue

#----------------------------------------------------------------------
# DefaultUserPwd - the password for the ODBC user used to perform ODBC 
# actions 
# Note: this is Nortel specific
DefaultUserPwd  ********

#----------------------------------------------------------------------
# wake-up interval, in seconds
# Note: this is Nortel specific
BackgroundInterval	60




#----------------------------------------------------------------------
# access - grants or refuses access to attributes (follows UofM schema)
# attribute: 'userpassword'
access to attrs=userpassword
        by self write
        by dn="^cn=dmgr.*dc=Nortel.*dc=ca$" write
        by dn="^cn=dreplic.*dc=Nortel.*dc=ca$" write
        by dn="^..*dc=.*dc=.*$" compare
        by dn="^dc=.*dc=.*$" write
        by * compare
        by dn="^$" compare

#----------------------------------------------------------------------
# access - grants or refuses access to attributes (follows UofM schema)
# attribute: 'vmpassword'
access to attrs=vmpassword                                                    
        by self write
        by dn="^cn=dmgr.*dc=Nortel.*dc=ca$" write
        by dn="^cn=dreplic.*dc=Nortel.*dc=ca$" write
        by dn="^..*dc=.*dc=.*$" compare
        by dn="^dc=.*dc=.*$" write
        by * compare
        by dn="^$" compare

#----------------------------------------------------------------------
# access - grants or refuses access to attributes (follows UofM schema)
access to dn="..*dc=.*dc=.*"
        by self write
        by dn="^cn=dmgr.*dc=Nortel.*dc=ca$" write
        by dn="^cn=dreplic.*dc=Nortel.*dc=ca$" write
        by dn="^..*dc=.*dc=.*$" read
        by dn="^dc=.*dc=.*$" write
        by * read
        by dn="^$" read

#----------------------------------------------------------------------
# access - grants or refuses access to attributes (follows UofM schema)
access to dn="dc=.*dc=.*"
        by self write
        by dn="^cn=dmgr.*dc=Nortel.*dc=ca$" write
        by dn="^cn=dreplic.*dc=Nortel.*dc=ca$" write
        by dn="^..*dc=.*dc=.*$" read
        by dn="^dc=.*dc=.*$" write
        by * read
        by dn="^$" read

#----------------------------------------------------------------------
# access - grants or refuses access to attributes (follows UofM schema)
access to dn="dc=.*"
        by self write
        by dn="^cn=dmgr.*dc=Nortel.*dc=ca$" write
        by dn="^cn=dreplic.*dc=Nortel.*dc=ca$" write
        by dn="^..*dc=.*dc=.*$" read
        by dn="^dc=.*dc=.*$" write
        by * read
        by dn="^$" read

#----------------------------------------------------------------------
# defaultaccess - grants the default access 
defaultaccess read






