У меня есть плагин openvpn, который позволяет мне использовать аутентификацию ldap.Но мой каталог LDAP содержит псевдонимы, и кажется, что openvpn-auth-ldap не следует за ними.
- (id) initWithURL: (LFString *) url timeout: (int) timeout {
...
ldap_initialize(&ldapConn, [url cString]);
if (!ldapConn) {
[TRLog error: "Unable to initialize LDAP server %s", [url cString]];
[self release];
return (NULL);
}
_timeout = timeout;
ldapTimeout.tv_sec = _timeout;
ldapTimeout.tv_usec = 0;
if (ldap_set_option(ldapConn, LDAP_OPT_NETWORK_TIMEOUT, &ldapTimeout) != LDAP_OPT_SUCCESS)
[TRLog warning: "Unable to set LDAP network timeout."];
Есть ли способ исправить это?