Involved Source Fileserror.gohosts.go Package config implements KRB5 client and service configuration as described at https://web.mit.edu/kerberos/krb5-latest/doc/admin/conf_files/krb5_conf.html
DomainRealm maps the domains to realms representing the [domain_realm] section of the configuration.
Invalid config error. Error implements the error interface for invalid config error.
Invalid : error
func InvalidErrorf(format string, a ...interface{}) Invalid
LibDefaults represents the [libdefaults] section of the configuration. // default false // default is 4. unlikely to implement older ap_req_checksum_type int //unlikely to support this // default false // max allowed skew in seconds, default 300 // default true // default falseDNSLookupRealmbool Default_ccache_name string // default /tmp/krb5cc_%{uid} //Not implementing as will hold in memory // default /usr/local/var/krb5/user/%{euid}/client.keytab // default /etc/krb5.keytabDefaultRealmstring // default aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 des3-cbc-sha1 arcfour-hmac-md5 camellia256-cts-cmac camellia128-cts-cmac des-cbc-crc des-cbc-md5 des-cbc-md4 // default aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 des3-cbc-sha1 arcfour-hmac-md5 camellia256-cts-cmac camellia128-cts-cmac des-cbc-crc des-cbc-md5 des-cbc-md4 // default aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 des3-cbc-sha1 arcfour-hmac-md5 camellia256-cts-cmac camellia128-cts-cmac des-cbc-crc des-cbc-md5 des-cbc-md4 // default aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 des3-cbc-sha1 arcfour-hmac-md5 camellia256-cts-cmac camellia128-cts-cmac des-cbc-crc des-cbc-md5 des-cbc-md4 // Not implementing yet // default false // default false // default false // default user's home directory. Must be owned by the user or root // default 0x00000010 (KDC_OPT_RENEWABLE_OK) // default 1 kdc_req_checksum_type int //unlikely to implement as for very old KDCs // default truePermittedEnctypeIDs[]int32 // default aes256-cts-hmac-sha1-96 aes128-cts-hmac-sha1-96 des3-cbc-sha1 arcfour-hmac-md5 camellia256-cts-cmac camellia128-cts-cmac des-cbc-crc des-cbc-md5 des-cbc-md4 plugin_base_dir string //not supporting plugins // default “17, 16, 15, 14”, which forces libkrb5 to attempt to use PKINIT if it is supported // default false // default true // default -1 // default 0 // default 8 // default 1 day // 1 means to always use tcp. MIT krb5 has a default value of 1465, and it prevents user setting more than 32700. // default false
Realm represents an entry in the [realms] section of the configuration.AdminServer[]string auth_to_local //Not implementing for now
auth_to_local_names //Not implementing for nowKDC[]string // default admin_server:464MasterKDC[]stringRealmstring
UnsupportedDirective error. Error implements the error interface for unsupported directives.
UnsupportedDirective : error
Package-Level Functions (total 6)
InvalidErrorf creates a new Invalid error.
Load the KRB5 configuration from the specified file path.
New creates a new config struct instance.
NewFromReader creates a new Config struct from an io.Reader.
NewFromScanner creates a new Config struct from a bufio.Scanner.
NewFromString creates a new Config struct from a string.
Package-Level Constants (only one)
WeakETypeList is a list of encryption types that have been deemed weak.
The pages are generated with Goldsv0.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.