SmbCredentials

data class SmbCredentials(val username: String = "", val password: String = "", val domain: String = "", val workstation: String = "KMCIFS")

Authentication credentials used to establish an SMB session.

Constructors

Link copied to clipboard
constructor(username: String = "", password: String = "", domain: String = "", workstation: String = "KMCIFS")

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val domain: String

Active Directory domain or workgroup name (defaults to an empty string).

Link copied to clipboard
val isAnonymous: Boolean

Whether both username and password are empty, indicating an anonymous session.

Link copied to clipboard
val password: String

Account password.

Link copied to clipboard
val username: String

Account username, or an empty string for anonymous/guest sessions.

Link copied to clipboard
val workstation: String

Client workstation name sent during NTLMSSP negotiation.