Windows XP
(1)
DsGetDcName
(1)
TestingPWD123
(1)
NICs
(1)
DomainControllerInfo
(1)
REDISCOVERY
(1)
Domainname
(1)
Directory
(1)
Locating Domain Controller
Asked By sachin.srivastava
19-Nov-09 08:59 AM

Hi all,
I am not sure if thats the right place to ask this question. But will
be very happy for any directions.
I have a domain controller on Windows 2008 as dc.win2k8.com.
I made my WinXP 64 bit to join that domain, which is completed
successful.
Now i have an application which want to create a user on the
domain-controller. something like
newuser.exe <domain name> <user> <password>
which internally uses DsGetDcName function as:
status = DsGetDcName(NULL,
domainname,
NULL,
NULL,
DS_FORCE_REDISCOVERY,
&domainControllerInfo);
When this gets executed, I always get:
status == ERROR_NO_SUCH_DOMAIN
I run this as :
newuser.exe dc test testingPWD123
or
newuser.exe dc.win2k8.com test testingPWD123
Note: When i ran the same executable on the DC itself it run fine..
Please help..
Thanks.
--
sachin.srivastava
------------------------------------------------------------------------
sachin.srivastava's Profile: http://forums.techarena.in/members/156240.htm
View this thread: http://forums.techarena.in/windows-2000-active-directory/1273036.htm
http://forums.techarena.in
Hello sachin.
Meinolf Weber [MVP-DS] replied to sachin.srivastava
05-Jan-10 12:29 AM
Hello sachin.srivastava,
Make sure to use only domain DNS servers on the NICs of all machines, if
no DC/DNS can be located this can be one reason, also you have to use an
account that is able to create a new user in AD.
Best regards
Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers
no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
Windows Server Windows Update Windows XP (KB967715) Re-installs Every Time I Shu Windows Update Windows XP (KB967715) re-installs on my Windows XP Pro SP3 plus latest updates machine every time I shut more of my customers are reporting this same issue with Windows Update Windows XP (KB967715). Re-registering Wups2.dll doesn't
Windows Server Windows XP sp3 not applicable for most Windows xp sp2 I try to rollout Windows XP service pack 3 with WSUS 3.0 sp1. Our clients are most swedish Windows XP service pack 2. The settings on the WSUS-server are the language English (default) and swedish. I approve the patch "Windows XP Service pack 3". The problem is that most of
Windows Server How to secure your windows XP? Windows XP could best secure with a new suite of software Secure IP. which is capable of performing auditing, event log management, windows password auditing, port scanning, windows inventory and asset management, ftp brutforce attack, http bruteforce attack albert@googlemail.com" <alannis.albert@googlemail.com> Newsgroups: microsoft.public.windows.server.networking Subject: How to secure your windows XP? Date: Sun, 13 Apr 2008 23:35:07 -0700 (PDT
Windows Server SBS2008 + Windows XP 'Windows Firewall' GPO Hi All, On SBS2003 we used to modify a GPO to control the Windows XP machines 'Windows Firewall' I've been into the GPM on SBS2008 and tell. . Can I just enable the same settings on the 'Windows SBS User' Policy ? Or would it be more sensible to and link as before ? Jim. There are two, one for XP one for Vista. You sure you do not see it? Two points: 1) There should be policies for XP and for Vista. Look more carefully. . . . 2) Always create new
Windows Server Moving files between Windows XP & Windows Vista on wired network? How can I move files from my Windows Vista PC to my Windows XP Laptop on a wired network. I want to move .jpg from the other machine are shared. keywords: Moving, files, between, Windows, XP, &, Windows, Vista, on, wired, network? description: How can I move files
Windows Server WSUS 2.0 only reconizes one of virtual PCs I have installed windows XP named Peter in virtual PC 2007 and copied windows XP vhd file for another windows XP . I renamed the other windows XP as Mary and regenerated new SID using Ghost walker for Mary. Two windows XP connect WSUS 2.0 running windows 2003, but WSUS
Windows Server My WSUS server has synchronised 65 'old' updates Last Errors: 0 New Updates Title Product Classification 329170: Security Update Windows XP Security Updates 330994: April 2003, Security Update for Outlook Express 5.5 Service Pack 2 Windows 2000 Security Updates 330994: April 2003, Security Update for Outlook Express 6 Windows XP Security Updates 330994: April 2003, Security Update for Outlook Express 6 SP1 Windows 2000, Windows XP Security Updates 331953: Security Update (Windows XP) Windows XP Security Updates 810577: Security Update Windows XP
Windows Server Windows XP Service Pack 3 Revision 104 I just finished deploying Windows XP Service Pack 3. Today, I notice on my WSUS 3 0, there's a newer WinXP SP3 revision. Windows XP Service Pack 3 Revision history: 1) Windows XP Service Pack 3 (KB936929) Revision: 104 Revised: 5 / 27 / 2008 of machines on which the old revision is offered. 2) Windows XP Service Pack 3 (KB936929) Revision: 103 Revised: 5 / 6