Kerberos.Client
Class: Client
kerberos.Client
Known Issues: Hardcoded timeout in gokrb5 library TGT / Session Handling not exposed Client is kerberos client
Example
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new Client(domain
, controller?
): Client
Parameters
Name | Type |
---|---|
domain | string |
controller? | string |
Returns
Defined in
kerberos.ts:90
Properties
Krb5Config
• Optional
Krb5Config: Config
Defined in
kerberos.ts:82
Realm
• Optional
Realm: string
Defined in
kerberos.ts:86
controller
• Optional
controller: string
Defined in
kerberos.ts:90
domain
• domain: string
Defined in
kerberos.ts:90
Methods
EnumerateUser
▸ EnumerateUser(username
): EnumerateUserResponse
EnumerateUser and attempt to get AS-REP hash by disabling PA-FX-FAST
Parameters
Name | Type |
---|---|
username | string |
Returns
Example
Defined in
kerberos.ts:122
GetServiceTicket
▸ GetServiceTicket(User
): TGS
GetServiceTicket returns a TGS for a given user, password and SPN
Parameters
Name | Type |
---|---|
User | string |
Returns
Example
Defined in
kerberos.ts:137
SetConfig
▸ SetConfig(cfg
): void
SetConfig sets additional config for the kerberos client Note: as of now ip and timeout overrides are only supported in EnumerateUser due to fastdialer but can be extended to other methods currently
Parameters
Name | Type |
---|---|
cfg | Config |
Returns
void
Example
Defined in
kerberos.ts:107
Was this page helpful?