Documentation
¶
Index ¶
Constants ¶
View Source
const ( DEFAULT_ENC_TYPE = "aes256-cts-hmac-sha1-96" // default encrypt type supported in KDC DEFAULT_ADDR = "127.0.0.1:0" // default server address of KDC DEFAULT_REALM = "TEST.REALM.COM" // default Realm of KDC DEFAULT_DOMAIN = "test.realm.com" // default Domain of KDC )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KDC ¶
type KDC struct {
Realm string
KRB5Conf *config.Config
SName types.PrincipalName
Principals map[string]PrincipalDetails
Keytab *keytab.Keytab
Logger *log.Logger
TCPListener net.Listener
UDPListener net.PacketConn
// contains filtered or unexported fields
}
type KDCOption ¶
type KDCOption = func(*kdcConfig)
func WithDomain ¶
func WithEncType ¶
func WithSrvAddr ¶
Click to show internal directories.
Click to hide internal directories.