From: K R. <kr...@ya...> - 2002-01-14 20:23:52
|
Hi. I posted the message below to the perl beginners mailing list, but the only response I got involved writing a perl script for a Windows server. Is that the only way? The only thing I can think of is to specify a lot of different servers, at least one of which must contain the GC, but I'm hoping there's a better way. Thanks. My boss has assigned me the job of putting together a web page with employees' contact information pulled from the Microsoft Exchange server. I was able to write a script using Net::LDAP with Exchange 5.5, but the company is now in the process of migrating to Exchange 2000. The adminstrator told me that the employee information is now kept in the Global Catalog, but that I couldn't specify a server because the GC is sometimes transferred among servers. Instead, he suggested that I query DNS for the SRV record, which looks like this: _.gc._tcp.us-city._sites.company.com. It worked when I used nslookup from a DOS prompt, but I'm not sure how to look it up in UNIX. I tried the Net::DNS module, but I honestly couldn't figure out how (or if) it works for looking up SRV records. Please, please, please tell me someone knows how. I don't want to have to write the program in ASP. Thanks! Kary __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ |