Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
October 23, 2004, 4:56 am
rate this thread
Re: Looking for module that will expands domain/username to emailaddress
> 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
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
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
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.