java.lang.Object
org.codelibs.jcifs.smb.dcerpc.msrpc.samr
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 ClassesModifier and TypeClassDescriptionstatic classSAMR CloseHandle operation for closing an opened SAM handle.static classSAMR Connect2 operation for establishing a connection to the SAM database.static classSAMR Connect4 operation for establishing a connection to the SAM database.static classSAMR EnumerateAliasesInDomain operation for listing aliases in a domain.static classSAMR GetMembersInAlias operation for retrieving alias members.static classSAMR OpenAlias operation for opening an alias in the SAM database.static classSAMR OpenDomain operation for opening a domain within the SAM database.static classSAMR RID with attribute structure.static classSAMR RID with attribute array structure.static classSAMR SAM Array structure representing an array of SAM entries.static classSAMR SAM Entry structure representing a SAM database entry. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAccount control bit flag: Account is auto-lockedstatic final intAccount control bit flag: Account is disabledstatic final intAccount control bit flag: Interdomain trust accountstatic final intAccount control bit flag: Pre-authentication is not requiredstatic final intAccount control bit flag: Encrypted text password is allowedstatic final intAccount control bit flag: Home directory is requiredstatic final intAccount control bit flag: MNS logon user accountstatic final intAccount control bit flag: Normal user accountstatic final intAccount control bit flag: Account is not delegatedstatic final intAccount control bit flag: Password does not expirestatic final intAccount control bit flag: Password is not requiredstatic final intAccount control bit flag: Smart card is required for loginstatic final intAccount control bit flag: Server trust accountstatic final intAccount control bit flag: Temporary duplicate accountstatic final intAccount control bit flag: Account is trusted for delegationstatic final intAccount control bit flag: Use DES encryption keys onlystatic final intAccount control bit flag: Workstation trust accountstatic final intSecurity group attribute: Group is enabled for usestatic final intSecurity group attribute: Group is enabled by defaultstatic final intSecurity group attribute: Group represents a logon identifierstatic final intSecurity group attribute: Mandatory group that cannot be disabledstatic final intSecurity group attribute: Group can be assigned as owner of objectsstatic final intSecurity group attribute: Domain-local groupstatic final intSecurity group attribute: Group is used for deny-only checks -
Method Summary
-
Field Details
-
ACB_DISABLED
public static final int ACB_DISABLEDAccount control bit flag: Account is disabled- See Also:
-
ACB_HOMDIRREQ
public static final int ACB_HOMDIRREQAccount control bit flag: Home directory is required- See Also:
-
ACB_PWNOTREQ
public static final int ACB_PWNOTREQAccount control bit flag: Password is not required- See Also:
-
ACB_TEMPDUP
public static final int ACB_TEMPDUPAccount control bit flag: Temporary duplicate account- See Also:
-
ACB_NORMAL
public static final int ACB_NORMALAccount control bit flag: Normal user account- See Also:
-
ACB_MNS
public static final int ACB_MNSAccount control bit flag: MNS logon user account- See Also:
-
ACB_DOMTRUST
public static final int ACB_DOMTRUSTAccount control bit flag: Interdomain trust account- See Also:
-
ACB_WSTRUST
public static final int ACB_WSTRUSTAccount control bit flag: Workstation trust account- See Also:
-
ACB_SVRTRUST
public static final int ACB_SVRTRUSTAccount control bit flag: Server trust account- See Also:
-
ACB_PWNOEXP
public static final int ACB_PWNOEXPAccount control bit flag: Password does not expire- See Also:
-
ACB_AUTOLOCK
public static final int ACB_AUTOLOCKAccount control bit flag: Account is auto-locked- See Also:
-
ACB_ENC_TXT_PWD_ALLOWED
public static final int ACB_ENC_TXT_PWD_ALLOWEDAccount control bit flag: Encrypted text password is allowed- See Also:
-
ACB_SMARTCARD_REQUIRED
public static final int ACB_SMARTCARD_REQUIREDAccount control bit flag: Smart card is required for login- See Also:
-
ACB_TRUSTED_FOR_DELEGATION
public static final int ACB_TRUSTED_FOR_DELEGATIONAccount control bit flag: Account is trusted for delegation- See Also:
-
ACB_NOT_DELEGATED
public static final int ACB_NOT_DELEGATEDAccount control bit flag: Account is not delegated- See Also:
-
ACB_USE_DES_KEY_ONLY
public static final int ACB_USE_DES_KEY_ONLYAccount control bit flag: Use DES encryption keys only- See Also:
-
ACB_DONT_REQUIRE_PREAUTH
public static final int ACB_DONT_REQUIRE_PREAUTHAccount control bit flag: Pre-authentication is not required- See Also:
-
SE_GROUP_MANDATORY
public static final int SE_GROUP_MANDATORYSecurity group attribute: Mandatory group that cannot be disabled- See Also:
-
SE_GROUP_ENABLED_BY_DEFAULT
public static final int SE_GROUP_ENABLED_BY_DEFAULTSecurity group attribute: Group is enabled by default- See Also:
-
SE_GROUP_ENABLED
public static final int SE_GROUP_ENABLEDSecurity group attribute: Group is enabled for use- See Also:
-
SE_GROUP_OWNER
public static final int SE_GROUP_OWNERSecurity 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_ONLYSecurity group attribute: Group is used for deny-only checks- See Also:
-
SE_GROUP_RESOURCE
public static final int SE_GROUP_RESOURCESecurity group attribute: Domain-local group- See Also:
-
SE_GROUP_LOGON_ID
public static final int SE_GROUP_LOGON_IDSecurity group attribute: Group represents a logon identifier- See Also:
-
-
Method Details
-
getSyntax
Returns the RPC interface syntax UUID and version for SAMR protocol.- Returns:
- The SAMR interface UUID string
-