|
Posted by Brian McCauley on October 23, 2004, 10:12 am
Please log in for more thread options
Mav wrote:
> Is that any perl module
This is FAQ: "What modules and [...] are available for Perl? [...]"
Please check the FAQ before you post.
> that If I enter domain/username that will
> return that user email address/ expands to the user email address?
>
> For example: mydomain/foorB
> return
> foor-Bar.something@mydomain.smallworld.org
There is obviously no simple algorithmic system to go this. There must
be some database or directory somewhere that you want to query to get
this information.
You do not say what form this database/directory takes but I'm going to
guess its NT5D (aka Active Directory or AD).
AFAIK you can use LDAP (and hense Net::LDAP) to query a Windows Active
Directory server.
And as I said before when you asked the same question yesterday there
might be a Win32 module specific to talking to NT5D/AD. I didn't bother
to search, I left that as an exercise for the reader. I have now done a
search and I found a module that appears to be what you are looking for
in ~30s. Repeating this search is still left as an exercise for the reader.
|