我試圖使用ldap_bind,但得到這個錯誤。 error: âldap_bindâ was not declared in this scope
代碼: #include <lber.h>
#include <ldap.h>
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
using namespace std
命令在舊版本的我們的代碼,我們從Perl的叫出來做一個LDAP搜索如下: # Pass the base DN in via the ldapsearch-specific environment variable
# (rather than as the "-b" paramater) to avoid problems of shell
# interpretation of speci