LDAP initialize error with more than one server name
Christian Balzer <[email protected]>
| Newsgroups | gmane.mail.perdition.user |
|---|---|
| Organization | FusionGOL |
| Message-ID | <[email protected]> |
Hello simon, sorry for not stumbling over this earlier but my test setup has just one server configured and I just ran into this trying a run on a (thankfully) standby machine in the production environment. Perdition is 1.18-2 (Debian Sid/Lenny backports). If the LDAP URL has more than one LDAP server in it, queries fail with this: --- dbserver_get2: ldap_initialize: Bad parameter to an ldap routine --- Which had me rather stumped for a while until in one iteration I reduced things to one server. And no, version 2 or 3 make no difference. ^^ Working config line: --- m 3:ldap://localhost/ou=mail,dc=gol,dc=com?mailLocaladdress,mailServer?one?(uid=%s) --- Not working: --- m 3:ldap://localhost ldap.dentaku.gol.com/ou=mail,dc=gol,dc=com?mailLocaladdress,mailServer?one?(uid=%s) --- And while I know you are not really involved with the LDAP bits, do you (or anybody else here) know how a hostname resolving to multiple IPs is treated? I.e, pick the first IP the resolver returns and if that is dead, this "host" is dead. Or try all IPs returned until one succeeds and if not, next server (if configured). Regards, Chibi -- Christian Balzer Network/Systems Engineer [email protected] Global OnLine Japan/Fusion Communications http://www.gol.com/ ______________________________________________ Perdition-users mailing list [email protected] http://lists.vergenet.net/listinfo/perdition-users