From: sachin.srivastava on

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