From: Alistair Y. <ali...@sm...> - 2006-07-19 14:45:29
|
ah, ok, that makes sense. The current one just polls based on what it finds in the xml conf file. Are you suggesting it should further expand it's list by finding out if any of those servers are dns round- robins? Should make it an option rather than hard wired as some sites dns resolving is insanely slow. Alistair On 19 Jul 2006, at 15:08, Jon Maber wrote: > >> Seriously, if you've only got until Saturday why worry about sockets? >> The LDAP server should have a default idle timeout that would cover >> in the first instance. >> > It's sorted - quite easy really. I'll explain why it's important - > Leeds has about 8 different servers whose IP numbers are all mapped > to a > single DNS name. Any server can be brought down for maintenance at > any > time. So, I've added code that resolves the complete list of IP > numbers > against the configured ldap server name. It then cycles around them > until a connection is made. (Also does some load balancing.) If a > server is running but not accepting connections on the ldap port the > attempt to connect fails immediately but if the server is not > running at > all the timeout is several minutes. This is a pointless delay if > there > are other LDAP servers ready and waiting. > > Anyway it was quite easy to implement. > > Jon > > > ---------------------------------------------------------------------- > --- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to > share your > opinions on IT & business topics through brief surveys -- and earn > cash > http://www.techsay.com/default.php? > page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Bodington-developers mailing list > Bod...@li... > https://lists.sourceforge.net/lists/listinfo/bodington-developers |