server: move domain types to a separate file
This commit is contained in:
committed by
nitnelave
parent
e89b1538af
commit
09a0522e2d
@@ -4,8 +4,9 @@ use ldap3_proto::{
|
||||
use tracing::{debug, info, instrument, warn};
|
||||
|
||||
use crate::domain::{
|
||||
handler::{BackendHandler, Group, GroupColumn, GroupRequestFilter, UserId, Uuid},
|
||||
handler::{BackendHandler, GroupRequestFilter},
|
||||
ldap::error::LdapError,
|
||||
types::{Group, GroupColumn, UserId, Uuid},
|
||||
};
|
||||
|
||||
use super::{
|
||||
|
||||
@@ -4,8 +4,9 @@ use ldap3_proto::{
|
||||
use tracing::{debug, info, instrument, warn};
|
||||
|
||||
use crate::domain::{
|
||||
handler::{BackendHandler, GroupDetails, User, UserColumn, UserId, UserRequestFilter},
|
||||
handler::{BackendHandler, UserRequestFilter},
|
||||
ldap::{error::LdapError, utils::expand_attribute_wildcards},
|
||||
types::{GroupDetails, User, UserColumn, UserId},
|
||||
};
|
||||
|
||||
use super::{
|
||||
|
||||
@@ -2,9 +2,10 @@ use itertools::Itertools;
|
||||
use ldap3_proto::LdapResultCode;
|
||||
use tracing::{debug, instrument, warn};
|
||||
|
||||
use crate::domain::handler::{GroupColumn, UserColumn, UserId};
|
||||
|
||||
use super::error::{LdapError, LdapResult};
|
||||
use crate::domain::{
|
||||
ldap::error::{LdapError, LdapResult},
|
||||
types::{GroupColumn, UserColumn, UserId},
|
||||
};
|
||||
|
||||
fn make_dn_pair<I>(mut iter: I) -> LdapResult<(String, String)>
|
||||
where
|
||||
|
||||
Reference in New Issue
Block a user