We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
All protocol clients support three authentication methods through the unified session.Credentials struct.
session.Credentials
creds := &session.Credentials{ Domain: "CORP", Username: "admin", Password: "Password1", }
creds := &session.Credentials{ Domain: "CORP", Username: "admin", Hash: ":aad3b435b51404eeaad3b435b51404ee", }
os.Setenv("KRB5CCNAME", "/path/to/admin.ccache") creds := &session.Credentials{ Domain: "CORP.LOCAL", Username: "admin", UseKerberos: true, DCIP: "10.0.0.1", }
creds := &session.Credentials{ Domain: "CORP.LOCAL", Username: "svc-account", UseKerberos: true, DCIP: "10.0.0.1", Keytab: "/path/to/svc.keytab", }
creds := &session.Credentials{ Domain: "CORP.LOCAL", Username: "admin", Password: "Password1", UseKerberos: true, DCIP: "10.0.0.1", }