Prev: The Importance of the Internet to Consumers and Construction Contractors
Next: no Configuration or Schema sections using adsiedit...
From: Meinolf Weber [MVP-DS] on 4 Jan 2010 04:55 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 > 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. > > http://forums.techarena.in > |