I *THINK* that the LDAP queries are case sensitive. Try that -- I know that the OU works
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Scott Fosseen > Sent: Wednesday, December 22, 2004 5:03 PM > To: [email protected] > Subject: Re: [Declude.JunkMail] [OT] Exchange2aliases Proper > switch for LDAP Query > > Looks like the big key was running under the remote server > credentials. > > I can get the script to work with > cn=users,dc=east-undershirt..... but I do not get any users. > If I switch cn=users to ou=staff I get an error message > "Object not a container" > _____________________________________________________________________ > Scott Fosseen - Systems Engineer -Prairie Lakes AEA > http://fosseen.us/scott > _____________________________________________________________________ > The winner of this game is going to be whoever has the most > points on the scoreboard at the end of the game. - football > commentator John Madden > _____________________________________________________________________ > > ----- Original Message ----- > From: "Sanford Whiteman" <[EMAIL PROTECTED]> > To: "Scott Fosseen" <[email protected]> > Sent: Tuesday, December 21, 2004 11:09 AM > Subject: Re: [Declude.JunkMail] [OT] Exchange2aliases Proper > switch for LDAP Query > > > >> The AD name is "east-undershirt.k12.ia.us" so > I use > >> dc=east-undershirt,dc=k12,dc=ia,dc=us I am pretty sure > this part is > >> correct. . . > > > > Yes, that looks okay. > > > >> Are there any special settings on the exchange server > that have to > >> be set to allow me to query it across the Internet? > > > > You need to be running the script using credentials that > are valid on > > the remote server. You can create a dummy local account > to match the > > remote account name, and the passwords must match. > > > >> The AD on the exchange server has users in several > OU's such as > >> "Staff" and "Admin Building". How does that change the > command line? > > > > You'd just loop through each OU and run ex2a > against each: > > ou=<ou_name>, dc=east-undershirt, dc=k12. . . > > > > --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/r > > elease/ > > > > Defuse Dictionary Attacks: Turn Exchange or IMail mailboxes > into IMail > > Aliases! > > > > > http://www.mailmage.com/products/software/freeutils/exchange2aliases/d > > ownload/release/ > > > > > http://www.mailmage.com/products/software/freeutils/ldap2aliases/downl > > oad/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 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. > --- [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.
