From: Ryan Gibbons <gibbonsr-ml@routedtechnologies.com>
To: gentoo-server@lists.gentoo.org
Subject: Re: [gentoo-server] Extract usernames from Active Directory
Date: Tue, 28 Jun 2011 14:52:59 -0500 [thread overview]
Message-ID: <30E4910FE22D4641AF976A2D01F428D3@routedtechnologies.com> (raw)
In-Reply-To: <BANLkTim8k_DH0VcFFVWS-KYHoppaAdt3_g@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1308 bytes --]
>
> 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/
[-- Attachment #2: Type: text/html, Size: 1942 bytes --]
next prev parent reply other threads:[~2011-06-28 20:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-28 18:41 [gentoo-server] Extract usernames from Active Directory Pandu Poluan
2011-06-28 19:52 ` Ryan Gibbons [this message]
2011-06-28 21:07 ` Alessandro Ratti
2011-06-28 21:44 ` mRyOuNg
-- strict thread matches above, loose matches on Subject: below --
2011-06-29 1:22 Pandu Poluan
2011-06-29 1:58 Pandu Poluan
2011-06-29 2:00 Pandu Poluan
2011-06-29 4:05 ` Brian Kroth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=30E4910FE22D4641AF976A2D01F428D3@routedtechnologies.com \
--to=gibbonsr-ml@routedtechnologies.com \
--cc=gentoo-server@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox