Module jcifs

Class samr

java.lang.Object
org.codelibs.jcifs.smb.dcerpc.msrpc.samr

public class samr extends Object
Security Account Manager Remote (SAMR) protocol implementation. This class provides DCE/RPC interface for SAM database operations including user account management, group operations, and domain security functions.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
    SAMR CloseHandle operation for closing an opened SAM handle.
    static class 
    SAMR Connect2 operation for establishing a connection to the SAM database.
    static class 
    SAMR Connect4 operation for establishing a connection to the SAM database.
    static class 
    SAMR EnumerateAliasesInDomain operation for listing aliases in a domain.
    static class 
    SAMR GetMembersInAlias operation for retrieving alias members.
    static class 
    SAMR OpenAlias operation for opening an alias in the SAM database.
    static class 
    SAMR OpenDomain operation for opening a domain within the SAM database.
    static class 
    SAMR RID with attribute structure.
    static class 
    SAMR RID with attribute array structure.
    static class 
    SAMR SAM Array structure representing an array of SAM entries.
    static class 
    SAMR SAM Entry structure representing a SAM database entry.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Account control bit flag: Account is auto-locked
    static final int
    Account control bit flag: Account is disabled
    static final int
    Account control bit flag: Interdomain trust account
    static final int
    Account control bit flag: Pre-authentication is not required
    static final int
    Account control bit flag: Encrypted text password is allowed
    static final int
    Account control bit flag: Home directory is required
    static final int
    Account control bit flag: MNS logon user account
    static final int
    Account control bit flag: Normal user account
    static final int
    Account control bit flag: Account is not delegated
    static final int
    Account control bit flag: Password does not expire
    static final int
    Account control bit flag: Password is not required
    static final int
    Account control bit flag: Smart card is required for login
    static final int
    Account control bit flag: Server trust account
    static final int
    Account control bit flag: Temporary duplicate account
    static final int
    Account control bit flag: Account is trusted for delegation
    static final int
    Account control bit flag: Use DES encryption keys only
    static final int
    Account control bit flag: Workstation trust account
    static final int
    Security group attribute: Group is enabled for use
    static final int
    Security group attribute: Group is enabled by default
    static final int
    Security group attribute: Group represents a logon identifier
    static final int
    Security group attribute: Mandatory group that cannot be disabled
    static final int
    Security group attribute: Group can be assigned as owner of objects
    static final int
    Security group attribute: Domain-local group
    static final int
    Security group attribute: Group is used for deny-only checks
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    Returns the RPC interface syntax UUID and version for SAMR protocol.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ACB_DISABLED

      public static final int ACB_DISABLED
      Account control bit flag: Account is disabled
      See Also:
    • ACB_HOMDIRREQ

      public static final int ACB_HOMDIRREQ
      Account control bit flag: Home directory is required
      See Also:
    • ACB_PWNOTREQ

      public static final int ACB_PWNOTREQ
      Account control bit flag: Password is not required
      See Also:
    • ACB_TEMPDUP

      public static final int ACB_TEMPDUP
      Account control bit flag: Temporary duplicate account
      See Also:
    • ACB_NORMAL

      public static final int ACB_NORMAL
      Account control bit flag: Normal user account
      See Also:
    • ACB_MNS

      public static final int ACB_MNS
      Account control bit flag: MNS logon user account
      See Also:
    • ACB_DOMTRUST

      public static final int ACB_DOMTRUST
      Account control bit flag: Interdomain trust account
      See Also:
    • ACB_WSTRUST

      public static final int ACB_WSTRUST
      Account control bit flag: Workstation trust account
      See Also:
    • ACB_SVRTRUST

      public static final int ACB_SVRTRUST
      Account control bit flag: Server trust account
      See Also:
    • ACB_PWNOEXP

      public static final int ACB_PWNOEXP
      Account control bit flag: Password does not expire
      See Also:
    • ACB_AUTOLOCK

      public static final int ACB_AUTOLOCK
      Account control bit flag: Account is auto-locked
      See Also:
    • ACB_ENC_TXT_PWD_ALLOWED

      public static final int ACB_ENC_TXT_PWD_ALLOWED
      Account control bit flag: Encrypted text password is allowed
      See Also:
    • ACB_SMARTCARD_REQUIRED

      public static final int ACB_SMARTCARD_REQUIRED
      Account control bit flag: Smart card is required for login
      See Also:
    • ACB_TRUSTED_FOR_DELEGATION

      public static final int ACB_TRUSTED_FOR_DELEGATION
      Account control bit flag: Account is trusted for delegation
      See Also:
    • ACB_NOT_DELEGATED

      public static final int ACB_NOT_DELEGATED
      Account control bit flag: Account is not delegated
      See Also:
    • ACB_USE_DES_KEY_ONLY

      public static final int ACB_USE_DES_KEY_ONLY
      Account control bit flag: Use DES encryption keys only
      See Also:
    • ACB_DONT_REQUIRE_PREAUTH

      public static final int ACB_DONT_REQUIRE_PREAUTH
      Account control bit flag: Pre-authentication is not required
      See Also:
    • SE_GROUP_MANDATORY

      public static final int SE_GROUP_MANDATORY
      Security group attribute: Mandatory group that cannot be disabled
      See Also:
    • SE_GROUP_ENABLED_BY_DEFAULT

      public static final int SE_GROUP_ENABLED_BY_DEFAULT
      Security group attribute: Group is enabled by default
      See Also:
    • SE_GROUP_ENABLED

      public static final int SE_GROUP_ENABLED
      Security group attribute: Group is enabled for use
      See Also:
    • SE_GROUP_OWNER

      public static final int SE_GROUP_OWNER
      Security group attribute: Group can be assigned as owner of objects
      See Also:
    • SE_GROUP_USE_FOR_DENY_ONLY

      public static final int SE_GROUP_USE_FOR_DENY_ONLY
      Security group attribute: Group is used for deny-only checks
      See Also:
    • SE_GROUP_RESOURCE

      public static final int SE_GROUP_RESOURCE
      Security group attribute: Domain-local group
      See Also:
    • SE_GROUP_LOGON_ID

      public static final int SE_GROUP_LOGON_ID
      Security group attribute: Group represents a logon identifier
      See Also:
  • Method Details

    • getSyntax

      public static String getSyntax()
      Returns the RPC interface syntax UUID and version for SAMR protocol.
      Returns:
      The SAMR interface UUID string