This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| use async_trait::async_trait; | |
| use hickory_resolver::TokioAsyncResolver; | |
| use http::Extensions; | |
| use pingora::lb::discovery::ServiceDiscovery; | |
| use pingora::lb::selection::{BackendIter, BackendSelection}; | |
| use pingora::lb::{Backend, Backends, LoadBalancer}; | |
| use pingora::protocols::l4::socket::SocketAddr; | |
| use pingora::{Error, ErrorSource, ErrorType, Result as PingoraResult}; | |
| use std::fmt::Debug; | |
| use std::net::{IpAddr, SocketAddrV4}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo apt-get install slapd ldap-utils | |
| sudo dpkg-reconfigure slapd | |
| sudo apt-get install gosa gosa-schema | |
| sudo vi /etc/ldap/convert.conf << EOT | |
| include /etc/ldap/schema/core.schema | |
| include /etc/ldap/schema/cosine.schema | |
| include /etc/ldap/schema/nis.schema | |
| include /etc/ldap/schema/inetorgperson.schema |