ldap3

所属分类:特征抽取
开发工具:Rust
文件大小:50KB
下载次数:0
上传日期:2023-04-29 03:33:35
上 传 者sh-1993
说明:  Rust LDAP3服务器协议库
(Rust LDAP3 Server Protocol Library)

文件列表:
CODE_OF_CONDUCT.md (3152, 2023-06-12)
CONTRIBUTORS.md (132, 2023-06-12)
Cargo.toml (1114, 2023-06-12)
LICENSE.md (16727, 2023-06-12)
cli (0, 2023-06-12)
cli\Cargo.toml (1038, 2023-06-12)
cli\build.rs (1762, 2023-06-12)
cli\src (0, 2023-06-12)
cli\src\cldap.rs (668, 2023-06-12)
cli\src\cldap_opt.rs (149, 2023-06-12)
cli\src\ldap.rs (12003, 2023-06-12)
cli\src\ldap_debug.rs (1876, 2023-06-12)
cli\src\ldap_debug_opt.rs (1549, 2023-06-12)
cli\src\ldap_opt.rs (1734, 2023-06-12)
cli\src\lib.rs (960, 2023-06-12)
client (0, 2023-06-12)
client\Cargo.toml (951, 2023-06-12)
client\src (0, 2023-06-12)
client\src\addirsync.rs (3380, 2023-06-12)
client\src\lib.rs (16756, 2023-06-12)
client\src\search.rs (2108, 2023-06-12)
client\src\syncrepl.rs (7637, 2023-06-12)
proto (0, 2023-06-12)
proto\Cargo.toml (899, 2023-06-12)
proto\examples (0, 2023-06-12)
proto\examples\clitest (0, 2023-06-12)
proto\examples\clitest\main.rs (3326, 2023-06-12)
proto\examples\tokio (0, 2023-06-12)
proto\examples\tokio\main.rs (4585, 2023-06-12)
proto\src (0, 2023-06-12)
proto\src\filter.rs (7109, 2023-06-12)
proto\src\lib.rs (19004, 2023-06-12)
proto\src\proto.rs (110351, 2023-06-12)
proto\src\serde.rs (1252, 2023-06-12)
proto\src\simple.rs (9174, 2023-06-12)

# Ldap3 Protocol Bindings and Async Client This is a work-in-progress of LDAP3 protocol bindings and an async client library. This is *not* an LDAP3 server - it is the required parts to allow you to build one using a TCP/TLS server. You will and should develop your own state machine, and should consider the many security risks of LDAP3 such as filter stack limits, request sizelimits, number of entries limited in results, binds and how you check access controls, and more. ## Structure ### Proto This library contains all the needed protocol bindings, mapped to their BER structures in `proto`, as well as a set of `simple` wrappers of common operations required for a server, discarding many of the esoteric options that are generally not required. ### Client The client is a tokio based async client library. It is still in development, so not all features are supported. ### Cli This is a thin wrapper over the async client for minimal usage and testing. ## Protocol Support ScoreCard | name | from rfc | implemented? | | ---- | -------- | ------------ | | bind | rfc4511 | (only simple bind will be supported) | | unbind | rfc4511 | | | search | rfc4511 | | | filter | rfc4511 | | | modify | rfc4511 | | | add | rfc4511 | | | delete | rfc4511 | | | modRDN | rfc4511 | | | compare | rfc4511 | | | abandon | rfc4511 | | | extended | rfc4511 | (may need extension) | | whoami | rfc4532 | | | disconnection notice | rfc4511 | | | content sync | rfc4533 | | ## Things we won't add StartTLS has a number of security issues compared to LDAPS, and should *not* be used, or developed as it is not only more complex, but also worse than LDAPS. Use LDAPS. SASL is extremely complicated, and there are very few clients that require it over simple bind. It's not really worth the time to add it. If it is contributed, I will only accept SASL as an authentication mechanism - I won't accept the SASL transport encryption layer, as it's just too complicated. Again, use LDAPS. ## Notes: LDAP - the trashfire we have, not the trashfire we want.

近期下载者

相关文件


收藏者