# Including The core schema file #

include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/core.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/pcscommom.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/pcsPackage.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/pcsQos.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/pcsServiceElement.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/pcsSubApn.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/pcsServiceNode.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/pcsSubscriberInfo.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/pcsSubSgsn.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/pcsSubsProfile.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/deviceType2g3g.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/device2g3g.schema
include         /root/haroon/openldap/new1/OnBoardSPR/etc/openldap/schema/subscriber_msisdn.schema

threads 32


pidfile         /root/haroon/openldap/new1/OnBoardSPR/var/run/slapd.pid
argsfile        /root/haroon/openldap/new1/OnBoardSPR/var/run/slapd.args

logfile        /tmp/log/onboardspr.log


sizelimit 10000
timelimit 2

database        mdb
suffix          "dc=C-NTDB"
rootdn          "dc=C-NTDB"
rootpw          secret

access to dn.subtree="dc=MSISDN, dc=C-NTDB" filter=(objectClass=*)
        by group.exact="cn=pcsAccess,ou=groups,dc=C-NTDB" write
        by group.exact="cn=sdfAccess,ou=groups,dc=C-NTDB" write
        by * read

access to dn.subtree="ds=DEVICE, dc=C-NTDB" filter=(objectClass=*)
        by group.exact="cn=sdfAccess,ou=groups,dc=C-NTDB" write
        by * read

access to dn.subtree="o=service, dc=C-NTDB" filter=(objectClass=*)
        by group.exact="cn=sdfAccess,ou=groups,dc=C-NTDB" write
        by * read

access to *
       by users read
       by dn="dc=C-NTDB" write
       by * read

index   objectClass     eq

index msisdn eq

index entryCSN,entryUUID  eq
#maxsize 16106127360
maxsize 2073741824


directory	/root/haroon/openldap/new1/OnBoardSPR/database
