Skip to content

Commit aaa27dd

Browse files
Doscp 14337 (#147)
DOCSP-14337: gssapiServiceName query parameter is deprecated
1 parent 3a3a570 commit aaa27dd

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

source/fundamentals/authentication/enterprise-mechanisms.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff 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+
2839
The following code sample authenticates to Kerberos for UNIX using ``GSSAPI``.
2940

3041
.. important::

0 commit comments

Comments
 (0)