> > Hello list! > > I'm in the process of setting up a pair of cloud-based email gateways > based on Postfix. The gateways are meant to perform 'front line > filtering' against spammers, before the messages entered the measly > bandwidth into my company's DMZ. > > The 'missing ingredient' would be a way to extract the usernames from > Windows' Active Directory. I don't really need a full-fledged AD-LDAP > synchronization, just a way to get them names into a nice list with > which 'postmap' can act upon. > > I plan to run the extractor tool every 30 minutes on one of the Gentoo > servers in the DMZ, and automagically push the extraction result -- if > there's anything new -- onto the mail gateways using rsync. And have > yet-another-script at the gateways run 15 minutes afterwards to > 'compile' a new file (maybe leveraging make's baked-in timestamp > detection). > > Anyone knows what tool(s) I'll need? Especially for the AD extraction part? > > Rgds, > > > -- > -- > Pandu E Poluan - IT Optimizer > My website: http://pandu.poluan.info/ It's been a very long time since I've done this, but I believe the link below will get you going in the right direction
http://randomerror.wordpress.com/2009/10/16/quick-tip-how-to-search-in-windows-active-directory-from-linux-with-ldapsearch/