Click to See Complete Forum and Search --> : Can you solve this????


prasadsunil
August 5th, 1999, 07:27 PM
Hi,

My Program Creating Group In Domain Controller. When I Terminated the Application I am removing the Account and Users from a Controller.

Now the Problem in this case is When my Application is Executed from BDC ( named SLAVE1) it creates a account in my PDC( named MASTER). if the Same program Executed from a different BDC ( named SLAVE2). It tries to create the GROUP Again in PDC and it says Group Already exists. Ok Every think perfect.

But If my Application delete the Group from first BDC named SLAVE1.It removes that GROUP entirely from PDC( MASTER ). But I need some kind of reference counting in this case. Is it possible to store that information anywhere as a group information. So that it has to remove the Group on the Termination of all applications tried to create the Group.

from
Sunil

ssunilprasad@hotmail.com

prasadsunil
August 9th, 1999, 02:12 PM
This Problem can be solvable by Using LAS Private data with the Following functions

LsaStorePrivateData()
LsaRetrievePrivateData()

Using the Private Data as Reference count inside the SAM Database of PDC. It will be automatically Replicated back. If you want replication Use I_Netlogin() API