diff --git a/src/domain/messages.rs b/src/domain/messages.rs deleted file mode 100644 index a0d5df8..0000000 --- a/src/domain/messages.rs +++ /dev/null @@ -1,28 +0,0 @@ - -struct LdapMessage { - message_id: u32, - operation: LdapOperation, -} - -enum LdapOperation { - BindRequest(BindRequest), - BindResponse(BindResponse), - //UnbindRequest(UnbindRequest), -} - -struct BindRequest { - version: u8, - name: String, - authentication: AuthenticationChoice, -} - -enum AuthenticationChoice { - Simple(String), - // Sasl -} - -struct BindResponse { - result_code: u8, - matched_dn: String, - diagnostic_message: String, -} diff --git a/src/domain/mod.rs b/src/domain/mod.rs deleted file mode 100644 index 87a2b7b..0000000 --- a/src/domain/mod.rs +++ /dev/null @@ -1 +0,0 @@ -mod messages;