简体   繁体   English

使用 LDAP 存储 C++ 变量

[英]Using LDAP to store C++ variables

I am thinking to use LDAP to store my C++ variables.我正在考虑使用 LDAP 来存储我的 C++ 变量。 I want the C++ variables to initialize using the LDAP.我希望使用 LDAP 初始化 C++ 变量。 Have anyone worked on such things before?以前有人做过这样的事情吗? Feel free to share your opinions.随意分享您的意见。

Ldap is an active directory and I don't think this is what you want to use for your variables, ldap is mainly used to store credentials and other user based information. ldap 是一个活动目录,我认为这不是您想要用于变量的内容,ldap 主要用于存储凭据和其他基于用户的信息。 If you do want to use ldap for your variables it would take a lot of time to get it working and I would not recommend it.如果您确实想将 ldap 用于您的变量,则需要花费大量时间才能使其正常工作,我不推荐它。 Ldap is also not nearly as fast as MySQL of mongodb. ldap 也没有 mongodb 的 MySQL 快。 So use the things meant for it.所以使用适合它的东西。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM