i used to setup my script to send the first email as well. Mark Merchant Unix Systems Admin, Huntington Banks 7 Easton Oval, Cols, Oh 43219 tel:614-331-9806 cel:614-917-8218 pag:614-917-8218
We don't make mistakes, we just have happy little accidents. Bob Ross. From: "Young, Darren" <darren.yo...@chicagobooth.edu> To: "Sheahan, John" <john.shea...@priceline.com>, perl-ldap@perl.org Date: 12/29/2009 01:51 PM Subject: RE: Creating AD account and Exchange Account Send a message to the user, I've found that when the mailbox host receives the first one the mailbox is initialized. > -----Original Message----- > From: Sheahan, John [mailto:john.shea...@priceline.com] > Sent: Tuesday, December 29, 2009 12:25 PM > To: Young, Darren; perl-ldap@perl.org > Subject: RE: Creating AD account and Exchange Account > > Sorry for not being clear .... When I go into "Exchange System > Manager", I don't see a mailbox for the user I am adding with the > script I provided although all the attributes are in AD. > > -----Original Message----- > From: Young, Darren [mailto:darren.yo...@chicagobooth.edu] > Sent: Tuesday, December 29, 2009 1:21 PM > To: Sheahan, John; perl-ldap@perl.org > Subject: RE: Creating AD account and Exchange Account > > What do you mean by "the Exchange administrator", does the information > look correct in AD's users and computers MMC? > > > -----Original Message----- > > From: Sheahan, John [mailto:john.shea...@priceline.com] > > Sent: Tuesday, December 29, 2009 12:18 PM > > To: 'perl-ldap@perl.org' > > Subject: RE: Creating AD account and Exchange Account > > > > Here is the code that I have been trying to use. It creates the AD > > account and fills in most of the fields for the exchange account but > I > > must be missing something because it doesn't show up in the Exchange > > administrator: > > > > > ####################################################################### > > ######## > > $result = $ldap->add( 'CN=Jim > > Jones,OU=Users,OU=Nor,DC=voice,DC=pc,DC=com', > > attr => [ 'cn' => 'Jim Jones', > > 'sn' => 'Jones', > > #'userPrincipalName' => 'jcom', > > 'physicalDeliveryOfficeName' => > 'Nor', > > 'telephoneNumber' => '8010', > > 'givenName' => 'James', > > 'company' => 'Pc', > > 'homeMTA' => 'CN=Microsoft > MTA,CN=NW- > > CM2DC-LAB1,CN=Servers,CN=First Administrative Group,CN=Administrative > > Groups,CN=Pc,CN=Microsoft > > Exchange,CN=Services,CN=Configuration,DC=voice,DC=pc,DC=com', > > 'homeMDB' => 'CN=Mailbox Store (NW- > > CM2DC-LAB1),CN=First Storage Group,CN=InformationStore,CN=NW-CM2DC- > > LAB1,CN=Servers,CN=First Administrative Group,CN=Administrative > > Groups,CN=Pc,CN=Microsoft > > Exchange,CN=Services,CN=Configuration,DC=voicedqs,DC=pc,DC=com', > > 'mDBUseDefaults' => 'TRUE', > > 'mailNickname' => 'jimmmy_jones', > > 'legacyExchangeDN' => > '/o=Pc/ou=First > > Administrative Group/cn=Recipients/cn=jjones', > > 'userPrincipalName' => > > 'jjo...@voice.pc.com', > > 'msExchHomeServerName' => > > '/o=Pc/ou=Administrative Groups/ou=First Administrative > > Group/cn=Servers/cn=NW-CM2DC-LAB1', > > 'mail' => 'j.jo...@voice.pcln.com', > > 'objectclass' => ['top', 'person', > > > > 'organizationalPerson', > > 'user' ] > > ] > > ); > > $result->code && warn "failed to add entry: ", $result->error ; > > > > $mesg = $ldap->unbind; # take down session > > > > > ####################################################################### > > ######## > > > > Is it just a matter of feeding AD with enough of the correct info > > needed in order to create the Exchange account? > > > > Thanks > > > > john - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This message and any attachments are for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Huntington CAN-SPAM Opt-Out Auto-Disclosure - - - If you prefer not to receive future e-mail offers for products or services from Huntington click or visit https://www.huntington.com/unsubscribe