Module: RubySMB::ImpersonationLevels
- Defined in:
- lib/ruby_smb/impersonation_levels.rb
Overview
Contains constants for the various Impersonation levels as defined in 2.2.4.64.1 Request and 2.2.4.9.1 Client Request Extensions See also Impersonation Levels
Constant Summary collapse
- SEC_ANONYMOUS =
The client is anonymous to the server. The server process can impersonate the client, but the impersonation token does not contain any information about the client. This level is only supported over the local interprocess communication transport. All other transports silently promote this level to identify.
0x00000000
- SEC_IDENTIFY =
The system default level. The server can obtain the client's identity, and the server can impersonate the client to do ACL checks.
0x00000001
- SEC_IMPERSONATE =
The server can impersonate the client's security context while acting on behalf of the client. The server can access local resources as the client. If the server is local, it can access network resources as the client. If the server is remote, it can access only resources that are on the same computer as the server.
0x00000002
- SEC_DELEGATE =
The most powerful impersonation level. When this level is selected, the server (whether local or remote) can impersonate the client's security context while acting on behalf of the client. During impersonation, the client's credentials (both local and network) can be passed to any number of computers.
0x00000003