Add new config settings for v3.1
Add new config settings for v3.1

Continuation of #3252 (thanks to enahum for finding a typo) and adding a new LDAP config setting
funkyfuture/docs,funkyfuture/docs,funkyfuture/docs,funkyfuture/docs