package krb5
import "github.com/microsoft/go-mssqldb/integratedauth/krb5"
Package krb5 implements the integratedauth.IntegratedAuthenticator interface in order to provide kerberos/active directory (Windows) based authentication.
Index ¶
Variables ¶
var ( ErrRequiredParametersMissing = errors.New("failed to create krb5 client from login parameters") ErrRealmRequiredWithUsernameAndPassword = errors.New("krb5-realm is required to login with krb5 when using user id and password") ErrKrb5ConfigFileRequiredWithUsernameAndPassword = errors.New("krb5-configfile is required to login with krb5 when using user id and password") ErrUsernameRequiredWithKeytab = errors.New("user id is required to login with krb5 when using krb5-keytabfile") ErrRealmRequiredWithKeytab = errors.New("krb5-realm is required to login with krb5 when using krb5-keytabfile") ErrKrb5ConfigFileRequiredWithKeytab = errors.New("krb5-configfile is required to login with krb5 when using krb5-keytabfile") ErrKrb5ConfigFileDoesNotExist = errors.New("krb5-configfile does not exist") ErrKeytabFileDoesNotExist = errors.New("krb5-keytabfile does not exist") ErrKrb5ConfigFileRequiredWithCredCache = errors.New("krb5-configfile is required to login with krb5 when using krb5-credcachefile") ErrCredCacheFileDoesNotExist = errors.New("krb5-credcachefile does not exist") )
var ( AuthProviderFunc integratedauth.Provider = integratedauth.ProviderFunc(getAuth) )
Source Files ¶
- Version
- v1.8.0 (latest)
- Published
- Dec 5, 2024
- Platform
- darwin/amd64
- Imports
- 14 packages
- Last checked
- 16 minutes ago –
Tools for package owners.