sachin.srivastava
2009-11-19 13:59:35 UTC
Hi all,
I am not sure if thats the right place to ask this question. But wil
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 complete
successful.
Now i have an application which want to create a user on th
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.srivastav
-----------------------------------------------------------------------
sachin.srivastava's Profile: http://forums.techarena.in/members/156240.ht
View this thread: http://forums.techarena.in/windows-2000-active-directory/1273036.ht
http://forums.techarena.i
I am not sure if thats the right place to ask this question. But wil
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 complete
successful.
Now i have an application which want to create a user on th
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.srivastav
-----------------------------------------------------------------------
sachin.srivastava's Profile: http://forums.techarena.in/members/156240.ht
View this thread: http://forums.techarena.in/windows-2000-active-directory/1273036.ht
http://forums.techarena.i