在使用LDAP进行操作LDAP Sever前需先建立一个LDAP session1、首先要初始化Ldap,使用ldap_init LDAP * ldap_init( PCHAR HostName, ULONG PortNumber); (待续)