File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed
source/fundamentals/authentication Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -21,10 +21,21 @@ parameters of the
2121:manual:`connection string </reference/connection-string/>`:
2222
2323- Set the ``authMechanism`` parameter to ``GSSAPI``
24- - Set the ``gssapiServiceName`` if using a value other than ``mongodb``
24+ - Set the ``SERVICE_NAME`` value in the ``authMechanismProperties``
25+ parameter if using a value other than ``mongodb``
2526- Specify a ``SERVICE_REALM`` value in the ``authMechanismProperties``
2627 parameter if a custom service realm is required.
2728
29+ .. important::
30+
31+ The ``gssapiServiceName`` parameter is deprecated and may be removed
32+ in future versions of the driver. Use
33+ ``authMechanismProperties=SERVICE_NAME:<your service name>`` in the
34+ connection URI instead.
35+ See the
36+ :manual:`authMechanismProperties </reference/connection-string/#urioption.authMechanismProperties>`
37+ parameter documentation for more information.
38+
2839The following code sample authenticates to Kerberos for UNIX using ``GSSAPI``.
2940
3041.. important::
You can’t perform that action at this time.
0 commit comments