BDC Dialing Permission
Posted on 1999-07-15
I was wondering if there is a way around my problem
I have a program which add users to the NT User Manager domain from a text file. One of the thing I do in the program is to give them the capability to dial the RAS Server and connect. This program works on a PDC. But when I run this program from a Backup Domain Controller, I get a error "This function can only be run from a PDC". I am using the following code
ras_user.bfPrivilege = RASPRIV_DialinPrivilege | RASPRIV_NoCallback;
dwResult = RasAdminUserSetInfo(lpwsUserServer,lpszName, &ras_user);
if (dwResult == 0)
printf("User configured for Remote Access. \n");
printf("Unable to configure User for Remote Access. Result Code was %i\n", dwResult);
The lpwsUserServer is set to Null.
I get a error code of 2226.
Is there a way I can do this from a BDC.
Thanks a lot