dn: olcDatabase={3}ldap,cn=config
objectClass: olcDatabaseConfig
objectClass: olcLDAPConfig
cn: config
olcArgsFile: /var/run/slapd/slapd.args
olcLogLevel: -1
olcPidFile: /var/run/slapd/slapd.pid
olcToolThreads: 1
structuralObjectClass: olcGlobal
olcDatabase: {3}ldap
olcSuffix: dc=company,dc=ru
olcDbURI: "ldap://srv1.company.ru"
olcDbRebindAsUser: TRUE
olcDbChaseReferrals: FALSE
olcDbNoRefs: TRUE
dn: olcOverlay=rwm,olcDatabase={3}ldap,cn=config
objectClass: olcOverlayConfig
objectClass: olcRwmConfig
olcOverlay: {0}rwm
olcRwmMap: attribute uid samaccountname
olcRwmMap: attribute x-local-edu-axcode userprincipalname
RewriteCond %{REMOTE_ADDR} !^10\.0\.1\.1$
RewriteRule ^ /maintenance.html