Documentation ¶
Index ¶
Constants ¶
View Source
const MAX_TIME_SHIFT = uint64(300)
Max time shift of 5 minutes
View Source
const M_FAILEDBUILDPROTO = "FAILED TO BUILD PROTO RESPONSE!"
View Source
const M_FAILEDDECRYPTAUTH = "FAILED TO DECRYPT AUTHENTICATOR!"
View Source
const M_FAILEDDECRYPTREQ = "FAILED TO DECRYPT REQUEST!"
View Source
const M_FAILEDDECRYPTST = "FAILED TO DECRYPT SERVICE TICKET!"
View Source
const M_FAILEDENCRYPTRES = "FAILED TO ENCRYPT RESPONSE!"
View Source
const M_HELPSTR = `
usage:
- up userprincipal
- sp serviceprincipal
- tl ticketlifetime
- sh sayhello
`
View Source
const M_NOTALLOWED = "YOUR NOT ALLOWED TO USE THIS TICKET FROM YOUR CURRENT IP ADDRESS!"
View Source
const M_STCORRUPTED = "SERVICE TICKET IS CORRUPTED! (WRONG USERPRINCIPAL or SERVICEPRINCIPAL)"
View Source
const M_STEXPIRED = "SERVICE TICKET HAS EXPIRED!"
View Source
const M_TIMEOUTOFSYNC = "INVALID TIMESTAMP! (CHECK IF YOUR TIME IS IN SYNC)"
Variables ¶
This section is empty.
Functions ¶
func HandleAPReq ¶
func HandleAPReq( con *net.TCPConn, db *dataloader.Database, msg *message.AP_Request, errchan chan<- error)
func HandleSPNReq ¶
func HandleSPNReq( con *net.TCPConn, db *dataloader.Database, errchan chan<- error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.