| 
 | 1 | + | 
 | 2 | +.. START-CONFIG-QUERYPASSWORD  | 
 | 3 | +
  | 
 | 4 | +*Type*: string or array  | 
 | 5 | + | 
 | 6 | +*Available in MongoDB Enterprise only.*  | 
 | 7 | + | 
 | 8 | +The password used to bind to an LDAP server when using  | 
 | 9 | +:setting:`~security.ldap.bind.queryUser`. You must use   | 
 | 10 | +:setting:`~security.ldap.bind.queryPassword` with  | 
 | 11 | +:setting:`~security.ldap.bind.queryUser`.  | 
 | 12 | + | 
 | 13 | +If not set, :binary:`~bin.mongod` or :binary:`~bin.mongos` does not attempt to  | 
 | 14 | +bind to the LDAP server.  | 
 | 15 | + | 
 | 16 | +You can configure this setting on a running :binary:`~bin.mongod` or   | 
 | 17 | +:binary:`~bin.mongos` using :dbcommand:`setParameter`.  | 
 | 18 | + | 
 | 19 | +Starting in MongoDB 4.4, the ``ldapQueryPassword``  | 
 | 20 | +:dbcommand:`setParameter` command accepts either a string or   | 
 | 21 | +an array of strings. If ``ldapQueryPassword`` is set to an array, MongoDB tries  | 
 | 22 | +each password in order until one succeeds. Use a password array to roll over the  | 
 | 23 | +LDAP account password without downtime.  | 
 | 24 | + | 
 | 25 | +.. note::  | 
 | 26 | + | 
 | 27 | +    Windows MongoDB deployments can use :setting:`~security.ldap.bind.useOSDefaults`  | 
 | 28 | +    instead of :setting:`~security.ldap.bind.queryUser` and   | 
 | 29 | +    :setting:`~security.ldap.bind.queryPassword`. You cannot specify both   | 
 | 30 | +    :setting:`~security.ldap.bind.queryPassword` and   | 
 | 31 | +    :setting:`~security.ldap.bind.useOSDefaults` at the same time.  | 
 | 32 | + | 
 | 33 | +.. END-CONFIG-QUERYPASSWORD  | 
 | 34 | +
  | 
 | 35 | +
  | 
 | 36 | +.. START-MONGOD-QUERYPASSWORD  | 
 | 37 | +
  | 
 | 38 | +*Available in MongoDB Enterprise only.*  | 
 | 39 | + | 
 | 40 | +The password used to bind to an LDAP server when using  | 
 | 41 | +:option:`--ldapQueryUser`. You must use :option:`--ldapQueryPassword` with  | 
 | 42 | +:option:`--ldapQueryUser`.  | 
 | 43 | + | 
 | 44 | +If not set, :program:`mongod` does not attempt to bind to the LDAP server.  | 
 | 45 | + | 
 | 46 | +You can configure this setting on a running :program:`mongod` using  | 
 | 47 | +:dbcommand:`setParameter`.  | 
 | 48 | + | 
 | 49 | +Starting in MongoDB 4.4, the ``ldapQueryPassword``  | 
 | 50 | +:dbcommand:`setParameter` command accepts either a string or   | 
 | 51 | +an array of strings. If ``ldapQueryPassword`` is set to an array, MongoDB tries  | 
 | 52 | +each password in order until one succeeds. Use a password array to roll over the  | 
 | 53 | +LDAP account password without downtime.  | 
 | 54 | + | 
 | 55 | +.. note::  | 
 | 56 | + | 
 | 57 | +    Windows MongoDB deployments can use :option:`--ldapBindWithOSDefaults`  | 
 | 58 | +    instead of :option:`--ldapQueryUser` and :option:`--ldapQueryPassword`.   | 
 | 59 | +    You cannot specify both :option:`--ldapQueryPassword` and   | 
 | 60 | +    :option:`--ldapBindWithOSDefaults` at the same time.  | 
 | 61 | + | 
 | 62 | +.. END-MONGOD-QUERYPASSWORD  | 
 | 63 | +
  | 
 | 64 | +
  | 
 | 65 | +.. START-MONGOLDAP-QUERYPASSWORD  | 
 | 66 | +
  | 
 | 67 | +*Available in MongoDB Enterprise only.*  | 
 | 68 | + | 
 | 69 | +The password used to bind to an LDAP server when using  | 
 | 70 | +:option:`--ldapQueryUser`. You must use :option:`--ldapQueryPassword` with  | 
 | 71 | +:option:`--ldapQueryUser`.  | 
 | 72 | + | 
 | 73 | +If not set, :program:`mongoldap` does not attempt to bind to the LDAP server.  | 
 | 74 | + | 
 | 75 | +You can configure this setting on a running :program:`mongoldap` using  | 
 | 76 | +:dbcommand:`setParameter`.  | 
 | 77 | + | 
 | 78 | +Starting in MongoDB 4.4, the ``ldapQueryPassword``  | 
 | 79 | +:dbcommand:`setParameter` command accepts either a string or   | 
 | 80 | +an array of strings. If ``ldapQueryPassword`` is set to an array, MongoDB tries  | 
 | 81 | +each password in order until one succeeds. Use a password array to roll over the  | 
 | 82 | +LDAP account password without downtime.  | 
 | 83 | + | 
 | 84 | +.. note::  | 
 | 85 | + | 
 | 86 | +    Windows MongoDB deployments can use :option:`--ldapBindWithOSDefaults`  | 
 | 87 | +    instead of :option:`--ldapQueryUser` and :option:`--ldapQueryPassword`.   | 
 | 88 | +    You cannot specify both :option:`--ldapQueryPassword` and   | 
 | 89 | +    :option:`--ldapBindWithOSDefaults` at the same time.  | 
 | 90 | + | 
 | 91 | +.. END-MONGOLDAP-QUERYPASSWORD  | 
0 commit comments