ldap: Add support for modifying the password with a modify operation

This commit is contained in:
Valentin Tolmer authored and nitnelave committed 2023-07-29 12:39:23 +02:00
1 parent e5bc06a617
commit d9f4adcb0e
8 files changed
+183 -17

No files matched your search

+2 -2
View File
@@ -77,10 +77,10 @@ pub mod client {
pub use opaque_ke::ClientRegistrationFinishParameters;
/// Initiate the registration negotiation.
pub fn start_registration<R: RngCore + CryptoRng>(
password: &str,
password: &[u8],
rng: &mut R,
) -> AuthenticationResult<ClientRegistrationStartResult> {
Ok(ClientRegistration::start(rng, password.as_bytes())?)
Ok(ClientRegistration::start(rng, password)?)
}
/// Finalize the registration negotiation.