bind to trusted domain in separate forest

I'm trying to enumerate AD groups in a trusted domain and having no success 
binding to trusted domain from a trusting domain.  The script goal is to 
enumerate all users in server local Administrator group.  The local 
Administrator group on a server contains groups from the trusted domain.  The 
domains are in separate forests, being integrated after a merger.  Anyone 
have code or advice as to how to do this?

TIA
Dave
0
Utf
11/15/2009 12:01:01 AM
scripting.vbscript 564 articles. 0 followers. Follow

1 Replies
1143 Views

Similar Articles

[PageSpeed] 6

Bind to the Domain controller in the trusted domain as follows:
LDAP://domainControllerName/dc=domain,dc=com

"dave" wrote:

> I'm trying to enumerate AD groups in a trusted domain and having no success 
> binding to trusted domain from a trusting domain.  The script goal is to 
> enumerate all users in server local Administrator group.  The local 
> Administrator group on a server contains groups from the trusted domain.  The 
> domains are in separate forests, being integrated after a merger.  Anyone 
> have code or advice as to how to do this?
> 
> TIA
> Dave
0
Utf
11/29/2009 8:30:01 PM
Reply:

Similar Artilces:

Word hangs in Trust Center Settings
Hi, I am using Word 2007 and when I click Trust Center Settings for configuration Word stops responding. I tried starting in safe mode but you cannot access the Trust settings at all in safe mode. Please can someone help. Many thanks. Have you tried deleting the Data key in the registry (with Word closed)? For more on this, see http://word.mvps.org/FAQs/AppErrors/MissingMenusEtc.htm. (Note that for Word 2007, the version number is 12.0.) -- Stefan Blom Microsoft Word MVP "Deejay" <Deejay@discussions.microsoft.com> wrote in message news:15F8BC53...

Spammer using fictitious account on own domain
This is a security issue, so I don't know if I'm posting in the right group, but here goes anyway. I've started receiving spam from an address in my domain, which does not exist. The header of the spam uses a fictitious user account. For Example; ----------------------------------------------- Subject: RE:what is that? Spammer [falseuser@domain.name] To: Genuine User Cc: ------------------------------------------------ Also Exchange System Administrator is sending me the following message. I've changed some of the details for security reasons. -------------------------...

Linking Separate Spreadsheets Together
Using Excel 2000, I have worksheet #1 with a product price list containing the following columns: - product ID - name - description - cost - price - taxable - active - product page url - image url I want to connect 3 additional worksheets (#2, #3 & #4) that will contain the same data but NOT in the same column order. My objective is to have the data in #2, #3 & #4 be automatically updated when any changes occur in worksheet #1. Your assistance is kindly appreciated. Hal. "H SELIM" <HSELIM@AOL.COM> wrote in news:ukU6dkW2DHA.1908 @TK2MSFTNGP10.phx.gbl: > I wa...

Opening multiple txt files into one workbook as separate sheets
I have seen posts about opening multiple txt files from a folder and saving each of them as a separate .xls. Is there a macro that would open all the .txt or .dat files in the directory that the .xls resides and put them as a new sheet in that folders .xls? IE. Folder1 data1.dat data2.dat Excel.xls 1.After running the macro in Excel.xls in Folder1 it has sheets data1.dat and data2.dat 2. Then if I move Excel.xls to Folder 2 with data3.dat and data4.dat and ran the macro again... Excel.xls would have data1.dat data2.dat data3.dat data4.dat Maybe this page will help http://www.rondebr...

Two things , Alias for a user and relaying a domain
Can exch23k perform such a function. Basically we have 2 domains 1 is using mdaemon (deerfield) the other is exchange. Can exchange create an alias for a user in the new domain, i.e. reception@domain1.com point to fred.blogs@domain1.com Can exchange create an alias for user in the old domain, i.e. reception@domain2.com point to fred.blogs@domain1.com If so How! Cheers :) OZ Yes, and yes - For dom1 (new) to point to dom 2 (old), create a Contact record in AD with a primary SMTP address in the 2 domain. Then add in a dom1 smtp address on the Email Addresses tab of that contact. When ...

Secondary Domain #2
I am looking to setup a second domain for incoming email. It will only be used for a small group, about 5 out of 100 users and I need them to be able to send mail using this domain name. Any suggestions how to configure this and where to find quality documentation on this? I know I can do Aliases and how to configure them in the recipient policy but i do not want this on all users and I need to make sure they can reply and send new mail using both the primary and secondary domain names as they will effectivly be acting as representatives for 2 companys. Thank you, The second domai...

Sort data separated by commas
Good day and thanks for reading. I am working on a file where a cell contains data separated by a comma. ex: Col A Col B Row 1 {Medium, Blue, hard } { 153 } Row 2 {Big, Red, soft } { 230 } Row 3 {Small, Pink, hard } { 50 } Row 5 {Big, Blue, soft } { 250 } Where { } are the limits of the cell What I am looking for is a way to sort Column A by the second value on each cell, ex: (Blue, Red, Pink) Any help is greatly appreciated. thanks What I would to is use the "text...

NDRs with multiple mail domains
We have multiple mail domains that we receive email for in our Exchange org. Right now, if someone sends mail to user@company2.com, but this person doesn't exist, the NDR says user@othercompanyname.com doesn't exist. We'd like the NDR's to say user@company2.com doesn't exist. company2.com is the primary SMTP for this person. http://www.ivasoft.biz/rpm.shtml JMS wrote: > We have multiple mail domains that we receive email for in our > Exchange org. Right now, if someone sends mail to user@company2.com, but > this person doesn't exist, the NDR says use...

auto update xls document from separate file
What I want to do is have one separate xls file to use as a database, then when any changes are made to this file, have other files automatically update, without actually opening them and separatly adding the data. Is this possible? -- kaplonk ------------------------------------------------------------------------ kaplonk's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=9283 View this thread: http://www.excelforum.com/showthread.php?threadid=376235 kaplonk, No. You must open an Excel file to change it. You could have the change happen automatically when you...

Domain Migration
We have recently aquired a new client and upgaraded their exchange server from 2000 to 2003, this exchange server was also their primary DC. Everything we smoothly except for one major issue. The old domain was acbtech.local and we have no changed and added everyone to the new domain abc.local, we migrated all mail, all settings, all exchange information but the problem we have run into is when someone tries to reply to an email from before the migration, or change a scheduled meeting/appointment in a shared calendar the users are unable to either send on behalf, or the emails bounce b...

EXChange for more than one domain
Hi, I have configured my Exchange 2000 for more than one domain. In Active directory users and computers i have created two OUs for two different domains. When i tried to create a user which is already created for the othere domain it says user already exist . can i create same user for both the domains? i believe i can but how ? Pls help me out... Regards, Abhi pandeyabhishek2000@yahoo.com (abhishek pandey) wrote: >Hi, >I have configured my Exchange 2000 for more than one domain. In Active >directory users and computers i have created two OUs for two different >domains. When i ...

Time Separators
Hi there Is it possible to have excel set to recognise a full stop as a time separator or does it always have to be a colon? Thanks Colin Can you give a bit more information as to what you are trying to do? Pete On Dec 17, 2:50=A0pm, Colin Weir <colin.w...@blueyonder.co.uk> wrote: > Hi there > > Is it possible to have excel set to recognise a full stop as a time > separator or does it always have to be a colon? > > Thanks > > Colin I would like to be able to type in either 17.30 or 1730 as a pose to 17:30. Thanks Colin Colin,...

Opening separate Excel sessions
How can I get two different spreadsheets to open in two separate windows with the Menu Bar on each one? I like to keep my workbooks open in one instance of excel, but you may want to try: tools|options|General|and check "ignore other applications" Then you can arrange the windows to see both instances. Right click on the windows taskbar and select "tile windows horizontally". (From my point of view, there's too much screen devoted to the menubar (and the other toolbars).) Jerry Pulliam wrote: > > How can I get two different spreadsheets to open in two >...

My Domain Name Question?
Hello I installed my copy of sbs before i bought my domain name service and need a way to rename the domain name. Can this be do? I haven't join any clients and found a service at dyndns. Any direction will be much appreciated! jturner5569 --- news://freenews.netfront.net/ - complaints: news@netfront.net --- The domain name you chose for your network cannot be easily changed. With that said, however, the public domain name your company uses does not need to be (and in fact I recommend it SHOULD not be) the same as your private AD domain. You can have, for e...

Two Domains, each running its own Exchange servers
This is a multi-part message in MIME format. ------=_NextPart_000_0242_01C63656.7A9FD3E0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable How does one allow access to the mailbox of another domain which is on a = different Exchange box? For example, I'm logged into domain1 with AD2k3 and runnng Exchange 2k3 = using my Outlook 2k3; I want to access my mailbox which is in domain2 = with AD2k, running Exchange 5.5... I tried giving permission on the = other user account on the Exchange 5.5 by entering in "domain1\user" = under ...

Identifying new entries in separate workbooks #3
Hi Frank, You're a gem! I have listed each column letter with the headers a follows: Column A - PAC Column B - EN Column C - Name Column D - W/Type Column E - Rate Column F - Recovered Column G - O/Standing Column H - Comment These reports are always formatted in exactly the same way. Many thank for your assistance. Lee Jeffery : -- Lee Jeffer ----------------------------------------------------------------------- Lee Jeffery's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=1088 View this thread: http://www.excelforum.com/showthread.php?threadid=26794 ...

Failed to contact Windows NT domain controller in Exch 5.5
I have a 5.5 server that when you select a mailbox, and click properties, it will crank for 10 or so seconds and return the message "Failed to contact Windows NT Domain Controller". I cannot display any permissions. If I clik OK, the message returns, if I click it again, Exch will display the mailbox properties. Unfortunately, the Primary Windows NT Account shows \Unknown Account, and the same error occurs if I try to change it. Strange thing is, I can browse the user names, it just will not let me designate one. AD is installed, and there is a NT4 BDC online. Replication is fi...

How to reestablish the trust relationship after domain was reconfigured.
I rebuilt my domain controller then in the event viewer some netlogon error events appear. It says "The computer BURGUNDY tried to connect to the server \\PEACH using the trust relationship established by the W2KEX domain. However, the computer lost the correct security identifier (SID) when the domain was reconfigured. Reestablish the trust relationship." Peach is domain controller and burgundy is a memeber server in the domain. Thanks in advanced! Joe ...

Within domain mail going to Junk Email on some users?
Hi Everyone, I have a weird situation, not sure if Exchange is causing it or if Outlook is. When certain users email others within our single domain, their mail goes directly to the recipient's junk email folder? Any thoughts as to why? No Rules are causing it that I can see... Thanks! On Thu, 5 Jan 2006 06:01:02 -0800, "Ken Montgomery" <KenMontgomery@discussions.microsoft.com> wrote: >Hi Everyone, > >I have a weird situation, not sure if Exchange is causing it or if Outlook >is. > >When certain users email others within our single domain, t...

How to: catch-all account and external domain forwarding
Any experience on doing the following: a) creating a recipient that receives all email with misspelled domain names. For example, a valid recepient name in my company is: joe.blow@mycomp.com An email is sent to joe@mycomp.com I'd like to capture this and send it to a dedicated "catch-all" email address (catchall@mycomp.com) that will be reviewed and messages forwarded accordingly. b) I have implemented forwarding using distribution groups. This works well when forwarding within my company's domain. I need to forward the email received by certain users to their personal emai...

Masking the sent from field with a seperate domain?
We have Exchange 2k3 and AD setup. We use the pop3 connector to download email from various seperately hosted domains and route the email to the correct client. Our users have noticed that any email they send shows the recipient the local domain in the sent from field. We need to mask it to say that it come from a different domain... for example one of the domains that we use to download email from using the pop3 connector. Is this possible? Any help would be greatly appreciated. Jackie Jackie wrote: > We have Exchange 2k3 and AD setup. We use the pop3 connector to > down...

Create Trusted Location Via Code
Is it possible to create a trusted location via code? Which I'm thinking no, but... In general sense, No! That would kinda defeat the purpose of security. That said, with enough diging... there are ways to do almost anything. I believe that it can be done if you are willing to mess around with registry settings (be very carefull as you can seriously damage a computer if you mess this up). Take a look at: http://www.access-programmers.co.uk/forums/archive/index.php/t-136411.html http://bytes.com/topic/access/answers/692003-access-2007-runtime-security-issue#post2752...

Moving CRM 3.0 to new domain
Could you tell me what tool (what version of RT)should be used to move CRM 3.0 to new domain. As I notcied in this newgroup, in similar questions the answer is that Redeployment Tool but for which version? On the www, where I can downlad Redeployment Tool, there is only RT for MS cRM 1.0 or 1.2 Thanks in advance Lidia You'll find the redeployment tool on the 'server setup' cd for crm 3.0 cheers Rich "Lidia" wrote: > Could you tell me what tool (what version of RT)should be used to move CRM > 3.0 to new domain. As I notcied in this newgroup, in similar que...

Growing SMTP queue to random domains
We have seen this issue where the SMTP queue on an Exchange 2000 Server begins to grow. The domains are valid but the email addresses seem suspect (i.e. kxkevgrlew@domain.com ). However, the domains are not known to the business and generally appear to be completely random. If we enumerate the messages they all are sent from the postmaster with the subject "Delivery Status Notification (Failure)." The only knowledge base article I could find (324958) describes this problem only if the mail server is open for relay or is on a black list of some sort. The servers that are experien...

Combined date time cell to separate date & time components
From file dump have combined date time cells eg 14/04/03 14:20 (value 37725.59722). Want to perform time analysis so need to split to 2 separate cells; eg. "14/04/2003" (value 37725) & "14:20" (value 0.59722). Is there a fnc to do this? (Currently convert cell to value, then fncs trunc & cell less int(cell) then refmt to date dd/mm/yy & time hh:mm respectively) See the reply to your post in the microsoft.public.excel newsgroup. Please don't post the same question to multiple groups. It just wastes the time of those replying to a question that was...