You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+36
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,7 @@ Other supported formats are listed below.
28
28
*`false` - Data sent between client and server is not encrypted beyond the login packet. (Default)
29
29
*`true` - Data sent between client and server is encrypted.
30
30
*`app name` - The application name (default is go-mssqldb)
31
+
*`authenticator` - Can be used to specify use of a registered authentication provider. (e.g. ntlm, winsspi (on windows) or krb5 (on linux))
31
32
32
33
### Connection parameters for ODBC and ADO style connection strings
33
34
@@ -59,6 +60,32 @@ Other supported formats are listed below.
59
60
*`Workstation ID` - The workstation name (default is the host name)
60
61
*`ApplicationIntent` - Can be given the value `ReadOnly` to initiate a read-only connection to an Availability Group listener. The `database` must be specified when connecting with `Application Intent` set to `ReadOnly`.
61
62
63
+
### Kerberos Active Directory authentication outside Windows
64
+
The package supports authentication via 3 methods.
65
+
66
+
* Keytabs - Specify the username, keytab file, the krb5.conf file, and realm.
*`authenticator` - set this to `krb5` to enable kerberos authentication. If this is not present, the default provider would be `ntlm` for unix and `winsspi` for windows.
81
+
*`krb5conffile` (mandatory) - path to kerberos configuration file.
82
+
*`realm` (required with keytab and raw credentials) - Domain name for kerberos authentication.
0 commit comments