package kadmin
Import Path
github.com/jcmturner/gokrb5/v8/kadmin (on go.dev)
Dependency Relation
imports 10 packages, and imported by one package
Involved Source Files
changepasswddata.go
message.go
Package kadmin provides Kerberos administration capabilities.
Package-Level Type Names (total 3)
ChangePasswdData is the payload to a password change message.
NewPasswd []byte
TargName types.PrincipalName
TargRealm string
Marshal ChangePasswdData into a byte slice.
Reply message for a password change.
APREP messages.APRep
APREPLength int
IsKRBError bool
KRBError messages.KRBError
KRBPriv messages.KRBPriv
MessageLength int
Result string
ResultCode uint16
Version int
Decrypt the encrypted part of the KRBError within the change password Reply.
Unmarshal a byte slice into a Reply.
Request message for changing password.
APREQ messages.APReq
KRBPriv messages.KRBPriv
Marshal a Request into a byte slice.
func ChangePasswdMsg(cname types.PrincipalName, realm, password string, tkt messages.Ticket, sessionKey types.EncryptionKey) (r Request, k types.EncryptionKey, err error)
Package-Level Functions (only one)
ChangePasswdMsg generate a change password request and also return the key needed to decrypt the reply.
![]() |
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |