# This is the main slapd configuration file. See slapd.conf(5) for more # info on the configuration options. ####################################################################### # Global Directives: # Features to permit #allow bind_v2 # Schema and objectClass definitions include /etc/ldap/schema/core.schema include /etc/ldap/schema/cosine.schema include /etc/ldap/schema/nis.schema include /etc/ldap/schema/inetorgperson.schema include /etc/ldap/schema/misc.schema include /etc/ldap/schema/samba.schema include /etc/ldap/schema/custom.schema include /etc/ldap/schema/dhcp.schema include /etc/ldap/schema/dnsdomain2.schema # Where the pid file is put. The init.d script # will not stop the server if you change this. pidfile /var/run/slapd/slapd.pid # List of arguments that were passed to the server argsfile /var/run/slapd/slapd.args # Read slapd.conf(5) for possible values loglevel none # Where the dynamically loaded modules are stored modulepath /usr/lib/ldap moduleload back_hdb # The maximum number of entries that is returned for a search operation sizelimit 500 # The tool-threads parameter sets the actual amount of cpu's that is used # for indexing. tool-threads 1 ####################################################################### # Specific Backend Directives for hdb: # Backend specific directives apply to this backend until another # 'backend' directive occurs backend hdb ####################################################################### # Specific Backend Directives for 'other': # Backend specific directives apply to this backend until another # 'backend' directive occurs #backend ####################################################################### # Database based at . for DNS-mapped organisation # database hdb suffix "dc=." checkpoint 512 30 rootdn <**sanitised**> rootpw <**sanitised**> # Where the database file are physically stored for database directory "/var/lib/ldap" # Indexing options for database index objectClass eq index cn pres,eq,sub index dc pres,eq,sub index sn pres,eq,sub index mail pres,eq,sub index uid pres,eq,sub index uniqueMember pres,eq index memberUid eq index uidNumber eq index gidNumber eq index sambaSID eq index sambaDomainName eq index sambaPrimaryGroupSID eq index sambaGroupType eq index sambaSIDList eq index default sub,eq index mapFrom pres,eq index aRecord pres,eq index associatedDomain pres,eq,sub index macAddress eq index dhcpHWAddress eq index displayName eq # Save the time that the entry gets modified lastmod on # Where to store the replica logs # replogfile /var/lib/ldap/replog <**sanitised access rules**>