Class SambaPasswordPluginCfgDefn

    • Method Detail

      • getInstance

        public static SambaPasswordPluginCfgDefn getInstance()
        Get the Samba Password Plugin configuration definition singleton.
        Returns:
        Returns the Samba Password Plugin configuration definition singleton.
      • getEnabledPropertyDefinition

        public BooleanPropertyDefinition getEnabledPropertyDefinition()
        Get the "enabled" property definition.

        Indicates whether the plug-in is enabled for use.

        Returns:
        Returns the "enabled" property definition.
      • getInvokeForInternalOperationsPropertyDefinition

        public BooleanPropertyDefinition getInvokeForInternalOperationsPropertyDefinition()
        Get the "invoke-for-internal-operations" property definition.

        Indicates whether the plug-in should be invoked for internal operations.

        Any plug-in that can be invoked for internal operations must ensure that it does not create any new internal operatons that can cause the same plug-in to be re-invoked.

        Returns:
        Returns the "invoke-for-internal-operations" property definition.
      • getJavaClassPropertyDefinition

        public ClassPropertyDefinition getJavaClassPropertyDefinition()
        Get the "java-class" property definition.

        Specifies the fully-qualified name of the Java class that provides the plug-in implementation.

        Returns:
        Returns the "java-class" property definition.
      • getPluginTypePropertyDefinition

        public EnumPropertyDefinition<PluginCfgDefn.PluginType> getPluginTypePropertyDefinition()
        Get the "plugin-type" property definition.

        Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked.

        Returns:
        Returns the "plugin-type" property definition.
      • getPwdSyncPolicyPropertyDefinition

        public EnumPropertyDefinition<SambaPasswordPluginCfgDefn.PwdSyncPolicy> getPwdSyncPolicyPropertyDefinition()
        Get the "pwd-sync-policy" property definition.

        Specifies which Samba passwords should be kept synchronized.

        Returns:
        Returns the "pwd-sync-policy" property definition.
      • getSambaAdministratorDnPropertyDefinition

        public DnPropertyDefinition getSambaAdministratorDnPropertyDefinition()
        Get the "samba-administrator-dn" property definition.

        Specifies the distinguished name of the user which Samba uses to perform Password Modify extended operations against this directory server in order to synchronize the userPassword attribute after the LanMan or NT passwords have been updated.

        The user must have the 'password-reset' privilege and should not be a root user. This user name can be used in order to identify Samba connections and avoid double re-synchronization of the same password. If this property is left undefined, then no password updates will be skipped.

        Returns:
        Returns the "samba-administrator-dn" property definition.