Versions in this module Expand all Collapse all v1 v1.0.0 Dec 5, 2022 Changes in this version + const KRB5_KPASSWD_ACCESSDENIED + const KRB5_KPASSWD_AUTHERROR + const KRB5_KPASSWD_BAD_VERSION + const KRB5_KPASSWD_HARDERROR + const KRB5_KPASSWD_INITIAL_FLAG_NEEDED + const KRB5_KPASSWD_MALFORMED + const KRB5_KPASSWD_SOFTERROR + const KRB5_KPASSWD_SUCCESS + func AssumePreAuthentication(b bool) func(*Settings) + func DisablePAFXFAST(b bool) func(*Settings) + func Logger(l *log.Logger) func(*Settings) + type Cache struct + Entries map[string]CacheEntry + func NewCache() *Cache + func (c *Cache) RemoveEntry(spn string) + type CacheEntry struct + AuthTime time.Time + EndTime time.Time + RenewTill time.Time + SessionKey types.EncryptionKey + StartTime time.Time + Ticket messages.Ticket + type Client struct + Config *config.Config + Credentials *credentials.Credentials + func NewClientFromCCache(c *credentials.CCache, krb5conf *config.Config, settings ...func(*Settings)) (*Client, error) + func NewClientWithKeytab(username, realm string, kt *keytab.Keytab, krb5conf *config.Config, ...) *Client + func NewClientWithPassword(username, realm, password string, krb5conf *config.Config, ...) *Client + func (cl *Client) ASExchange(realm string, ASReq messages.ASReq, referral int) (messages.ASRep, error) + func (cl *Client) AffirmLogin() error + func (cl *Client) ChangePasswd(newPasswd string) (bool, error) + func (cl *Client) Destroy() + func (cl *Client) GetCachedTicket(spn string) (messages.Ticket, types.EncryptionKey, bool) + func (cl *Client) GetServiceTicket(spn string) (messages.Ticket, types.EncryptionKey, error) + func (cl *Client) IsConfigured() (bool, error) + func (cl *Client) Key(etype etype.EType, krberr *messages.KRBError) (types.EncryptionKey, error) + func (cl *Client) Log(format string, v ...interface{}) + func (cl *Client) Login() error + func (cl *Client) TGSExchange(tgsReq messages.TGSReq, kdcRealm string, tgt messages.Ticket, ...) (messages.TGSReq, messages.TGSRep, error) + func (cl *Client) TGSREQGenerateAndExchange(spn types.PrincipalName, kdcRealm string, tgt messages.Ticket, ...) (tgsReq messages.TGSReq, tgsRep messages.TGSRep, err error) + type Settings struct + func NewSettings(settings ...func(*Settings)) *Settings + func (s *Settings) AssumePreAuthentication() bool + func (s *Settings) DisablePAFXFAST() bool + func (s *Settings) Logger() *log.Logger Incompatible versions in this module v8.4.5+incompatible Nov 22, 2024 v8.4.4+incompatible Dec 5, 2022