Scott, Works great, thanks for the tip. Ended up using a program called cpau that allows you to specify the password in the batch file since runas requires manual entry and Win 2003 scheduler couldn't validate user/pass during job setup. Again, thanks. Keith
-----Original Message----- From: [EMAIL PROTECTED] on behalf of Scott Fosseen Sent: Thu 1/27/2005 5:54 PM To: Declude.JunkMail@declude.com Cc: Subject: Re: [Declude.JunkMail] [OT] Exchange2Alias Question You need to run the script with username/password of a user on the LDAP server. If you uses the Windows Scheduler it will ask for a username/password to run the program. Just create a local user on the box that runs the script with the same username/password as an account on the LDAP Server. To test the script from a command prompt you will need to run this command runas /netonly /user:domain/username cmd The runas program will ask for your password then open up a command window allowing you to run the script as if you are logged in as that user. _____________________________________________________________________ Scott Fosseen - Systems Engineer -Prairie Lakes AEA http://fosseen.us/scott _____________________________________________________________________ There are 10 types of people in this world, those that understand binary, and those that don't. _____________________________________________________________________ ----- Original Message ----- From: "Keith Johnson" <[EMAIL PROTECTED]> To: <Declude.JunkMail@declude.com> Sent: Wednesday, January 26, 2005 5:32 PM Subject: RE: [Declude.JunkMail] [OT] Exchange2Alias Question Sandy, Thanks for your reply. I did use the LDAP Browser from Softerra (great tool by the way), it reports the RootDSE correctly during setup. What does an error of 0x80005000 indicate? Is this a permission error? When I use the Softerra utility, if I specify anonymous, then I do not see the Users container, however, if I specify the domain\user and a password, then I can get the full Users container. Is this by design? Thanks again for the aid. Keith -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sanford Whiteman Sent: Wednesday, January 26, 2005 12:25 PM To: Keith Johnson Subject: Re: [Declude.JunkMail] [OT] Exchange2Alias Question > I opened port 389 through a client firewall from our Imail Server > (just in testing) and attempted to query their server using the > exchange2alias script, however, it is returning the following error: > ---Export Started--- > C:\Documents and > Settings\Administrator\Desktop\exchange2aliases.vbs(41, > 1) (nul > l): A referral was returned from the server. This indicates a mismatch between your search base and the domain hosted by that AD server. If you use LDAP Browser (www.softerra.com), is that search base shown up when you query the LDAP server's RootDSE while setting up the new profile? --Sandy ------------------------------------ Sanford Whiteman, Chief Technologist Broadleaf Systems, a division of Cypress Integrated Systems, Inc. e-mail: [EMAIL PROTECTED] SpamAssassin plugs into Declude! http://www.mailmage.com/products/software/freeutils/SPAMC32/download/rel ease/ Defuse Dictionary Attacks: Turn Exchange or IMail mailboxes into IMail Aliases! http://www.mailmage.com/products/software/freeutils/exchange2aliases/dow nload/release/ http://www.mailmage.com/products/software/freeutils/ldap2aliases/downloa d/release/ --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com. --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com. --- [This E-mail scanned for viruses by Declude Virus on the server aea8.k12.ia.us] --- [This E-mail scanned for viruses by Declude Virus on the server aea8.k12.ia.us] --- [This E-mail was scanned for viruses by Declude Virus (http://www.declude.com)] --- This E-mail came from the Declude.JunkMail mailing list. To unsubscribe, just send an E-mail to [EMAIL PROTECTED], and type "unsubscribe Declude.JunkMail". The archives can be found at http://www.mail-archive.com.
<<winmail.dat>>