# mongod.conf # for documentation of all options, see: # http://docs.mongodb.org/manual/reference/configuration-options/ # Where and how to store data. storage: dbPath: C:\Program Files\MongoDB\Server\5.0\data journal: enabled: true # engine: # wiredTiger: # where to write logging data. systemLog: destination: file logAppend: true path: C:\Program Files\MongoDB\Server\5.0\log\mongod.log # network interfaces net: port: 27017 bindIp: 0.0.0.0 security: authentication : "enabled" ldap: servers: "qa@test.example.com" transportSecurity:none bind: queryUser: "qa@test.example.com" queryPassword: "xxxx789" userToDNMapping: '[ { match : "(.+)", ldapQuery: "DC=example,DC=com??sub?(userPrincipalName={0})" } ]' authz: queryTemplate: "DC=example,DC=com??sub?(&(objectClass=group)(member:1.2.840.113556.1.4.1941:={USER}))" setParameter: authenticationMechanisms: "PLAIN,SCRAM-SHA-1"