Windows NT Groups Are Not Created Immediately after You Create Groups in a Membership Directory (258287)
The information in this article applies to:
- Microsoft Site Server 3.0
This article was previously published under Q258287 SYMPTOMS
When you create a new group in a Site Server Membership directory, the corresponding Windows NT groups are not created immediately. By default, it takes the system up to ten minutes to create these groups.
WORKAROUND
To work around this issue, use one of the following methods:
- Force the group creation by restarting the Site Server Authentication service.
- Manually create the groups by using the Windows NT User Manager.
- Manually create the groups by using code similar to the following:
Dim sADsPath
Dim sGroupName
Dim sDescription
Dim oTarget
Dim oNewGroup
sADsPath = "WinNT://MyComputer,computer"
sGroupName = "Site_MyOrg_Group1"
sDescription = "A site server group"
'Bind to NT
Set oTarget = GetObject(sADsPath)
' Create new User object. SetInfo must be called here to commit
' the new group to the directory.
Set oNewGroup = oTarget.Create("group", sGroupName)
oNewGroup.SetInfo
' Set basic properties on new group. Note that SetInfo must be
' called a second time here to commit the Description property
' change.
oNewGroup.Description = sDescription
oNewGroup.SetInfo
Set oTarget = Nothing
Set oNewGroup = Nothing NOTE: The Windows NT group must be in the form "Site_MyOrg_Group1" for a membership group named "Group1" in a Membership directory where the root node is "MyOrg."
Modification Type: | Major | Last Reviewed: | 5/10/2000 |
---|
Keywords: | kbprb KB258287 kbAudDeveloper |
---|
|