Hi All,

A few months ago I wrote to the perl-admin list on ASPN regarding some
exchange stuff (http://aspn.activestate.com/ASPN/Mail/Message/1500897)
and you pointed me towards Steven Manross' Exchange module. I'm just
getting back to this project after having worked on some other things,
and I've run into a few issues.

Firstly, when I try to install Win32-Exchange from ppm3, I'm having
some troubles.

ppm> search win32-exchange
Searching in Active Repositories
  1. Win32-Exchange [0.0.0.0~ Perl-Win32 Interface for performing
tasks relate~
ppm> install Win32-Exchange
Error: no suitable installation target found for package
Win32-Exchange.
ppm>

I have the roth archive at the top of my rep list, but it fails the
same with the default ppm archive at the top.

I managed to install it via CPAN, after some fiddling and loading of
POSIX tools on to the W2K server.

I'd been using Exchange_example.pl as sort of a test suite, to make
sure that things were running correctly on the Exchange/AD sandbox we
built to test this stuff in. After some more fiddling (reinstalling a
service pack after a software update), I got some promising
information from Exchange_example, although it still can't seem to
detect the PDC, so I hardcoded it as the module notes suggest. (Any
idea why it can't detect it?)

Anyway, this is the output I get (the output is modified a little in
my own attempt to debug a bit):

----8<----

$ perl Exchange_example.pl
The DOMAIN is NPUTEST...
The PDC is NANCY...
found e2k tools, so we'll look and see what version of Exchange you
have.
version      = 6.0
build        = 6249.4
service pack = 3

Found Exchange 6.0 Server, attempting to create mailbox...
Stor Name = First Storage Group
  Mailbox Store = Mailbox Store (RONALD)
storage group =
mailbox store =
located store distinguished name= LDAP://ronald/CN=Mailbox Store
(RONALD),CN=Fir st Storage
Group,CN=InformationStore,CN=RONALD,CN=Servers,CN=First Administrative
Group,CN=Administrative Groups,CN=bokbar,CN=Microsoft
Exchange,CN=Services,CN= Configuration,DC=nputest,DC=edu ronald
  Total:
    storage groups = 1
    mailbox stores = 1
found this:
  -->
  -->jlundblad
 -
Unable to match valid data for your search on jlundblad

Mailbox did not exist, attempting to create...
found this:
  -->
  -->jlundblad
 -
Unable to match valid data for your search on jlundblad
Mailbox creation failed!

----

When I run Exchange_exmample.pl with an existing mailbox in 
$mailbox_alias_name it recognizes it but still fails:

----8<----

[snipped intro]

found this: CN=foo j. bar,CN=Users,DC=nputest,DC=edu
  -->thisisatest
  -->thisisatest
found (not fuzzy) (string)CN=foo j. bar,CN=Users,DC=nputest,DC=edu
Got Mailbox successfully
Error setting 2K Attributes

----

So... I'm clearly doing something wrong. Any ideas what?

The environment is two boxes next to each other on the subnet, one
with AD/DNS and the other with Exchange. I'm running the scripts on
the Exchange Server.

Any help would be greatly appreciated!

Yours,
Peter


-- 
Peter A. Peterson II, technician and musician.
 ---=[ http://tastytronic.net/~pedro/ ]=--- 
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to