Interface SambaPasswordPluginCfgClient
- All Superinterfaces:
ConfigurationClient,PluginCfgClient
Samba Password Synchronization Plugin.
-
Method Summary
Modifier and TypeMethodDescriptionManagedObjectDefinition<? extends SambaPasswordPluginCfgClient,? extends SambaPasswordPluginCfg> Get the configuration definition associated with this Samba Password Plugin.Gets the "java-class" property.Gets the "plugin-type" property.Gets the "pwd-sync-policy" property.Gets the "samba-administrator-dn" property.voidsetJavaClass(ValueOrExpression<String> value) Sets the "java-class" property.voidSets the "plugin-type" property.voidSets the "pwd-sync-policy" property.voidSets the "samba-administrator-dn" property.Methods inherited from interface org.forgerock.opendj.config.ConfigurationClient
commit, propertiesMethods inherited from interface org.forgerock.opendj.server.config.client.PluginCfgClient
isEnabled, isInvokeForInternalOperations, setEnabled, setInvokeForInternalOperations
-
Method Details
-
definition
ManagedObjectDefinition<? extends SambaPasswordPluginCfgClient,? extends SambaPasswordPluginCfg> definition()Get the configuration definition associated with this Samba Password Plugin.- Specified by:
definitionin interfaceConfigurationClient- Specified by:
definitionin interfacePluginCfgClient- Returns:
- Returns the configuration definition associated with this Samba Password Plugin.
-
getJavaClass
Gets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the plug-in implementation.
Default value:
org.opends.server.plugins.SambaPasswordPlugin- Specified by:
getJavaClassin interfacePluginCfgClient- Returns:
- Returns the value of the "java-class" property.
-
setJavaClass
Sets the "java-class" property.Specifies the fully-qualified name of the Java class that provides the plug-in implementation.
- Specified by:
setJavaClassin interfacePluginCfgClient- Parameters:
value- The value of the "java-class" property.- Throws:
PropertyException- If the new value is invalid.
-
getPluginType
Gets the "plugin-type" property.Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked.
Default values:
preoperationmodify,postoperationextended- Specified by:
getPluginTypein interfacePluginCfgClient- Returns:
- Returns the values of the "plugin-type" property.
-
setPluginType
@MandatoryProperty void setPluginType(Collection<ValueOrExpression<PluginCfgDefn.PluginType>> values) throws PropertyException Sets the "plugin-type" property.Specifies the set of plug-in types for the plug-in, which specifies the times at which the plug-in is invoked.
- Specified by:
setPluginTypein interfacePluginCfgClient- Parameters:
values- The values of the "plugin-type" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-
getPwdSyncPolicy
@MandatoryProperty SortedSet<ValueOrExpression<SambaPasswordPluginCfgDefn.PwdSyncPolicy>> getPwdSyncPolicy()Gets the "pwd-sync-policy" property.Specifies which Samba passwords should be kept synchronized.
Default value:
sync-nt-password- Returns:
- Returns the values of the "pwd-sync-policy" property.
-
setPwdSyncPolicy
@MandatoryProperty void setPwdSyncPolicy(Collection<ValueOrExpression<SambaPasswordPluginCfgDefn.PwdSyncPolicy>> values) throws PropertyException Sets the "pwd-sync-policy" property.Specifies which Samba passwords should be kept synchronized.
- Parameters:
values- The values of the "pwd-sync-policy" property.- Throws:
PropertyException- If one or more of the new values are invalid.
-
getSambaAdministratorDn
ValueOrExpression<Dn> getSambaAdministratorDn()Gets the "samba-administrator-dn" property.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 value of the "samba-administrator-dn" property.
-
setSambaAdministratorDn
Sets the "samba-administrator-dn" property.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.
- Parameters:
value- The value of the "samba-administrator-dn" property.- Throws:
PropertyException- If the new value is invalid.
-