FIX: You cannot use the Add GUID feature when you create user objects in Active Directory Services Interface (ADSI) (322291)



The information in this article applies to:

  • Microsoft Active Directory Services Interface, Microsoft Active Directory Client, when used with:
    • the operating system: Microsoft Windows 2000

This article was previously published under Q322291

SYMPTOMS

When you migrate users from a Site Server environment to the Microsoft Active Directory directory service, the process is easier if you can use data from Site Server to populate Active Directory.

For example, if you use a GUID that is provided by Site Server to track users who are in other databases, you may want to associate this GUID with new Active Directory users. To do this, you have to be able to set the objectGUID property of a new user object.

You can set the objectGUID property when you create other objects in Active Directory. However, you cannot set the objectGUID property when you create User objects. If you try to do this, you receive error messages that indicate that the directory is unwilling to perform the action or that the property has already been set. For example, when you try to do this by using Microsoft Visual Basic Script, you receive the following error message:

Run-Time Error '-2147016651' (80072035)
Automation Error
The server is unwilling to process the request

This problem may affect migration from any foreign directory to Active Directory. For example, the problem may occur when you try to use GUIDs from the old directory to populate the objectGUID property of new user objects in Active Directory.

CAUSE

Note the difference between modifying the objectGUID of an existing object and supplying an objectGUID for a new object. The differences are as follows:
  • Beginning in Microsoft Windows Server 2003, you must explicitly configure the Active Directory forest to Permissive Add mode to permit the objectGUID property to be set for any new object.
  • Although Windows 2000 does not implement this feature, this hotfix changes Active Directory behavior to permit an objectGUID to be supplied when you create a new User object.

    Changing the objectGUID of an existing object is not supported.

RESOLUTION

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, Microsoft recommends that you wait for the next service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question. The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version            Size    File name
   --------------------------------------------------------------
   14-Jun-2002  22:36  5.0.2195.5781     123,664  Adsldp.dll       
   14-Jun-2002  22:36  5.0.2195.5781     131,344  Adsldpc.dll      
   14-Jun-2002  22:36  5.0.2195.5781      62,736  Adsmsext.dll     
   14-Jun-2002  22:36  5.0.2195.5801     358,160  Advapi32.dll     
   14-Jun-2002  22:36  5.0.2195.5265      42,256  Basesrv.dll      
   14-Jun-2002  22:36  5.0.2195.5855      49,424  Browser.dll      
   14-Jun-2002  22:36  5.0.2195.5595     135,952  Dnsapi.dll       
   14-Jun-2002  22:36  5.0.2195.5595      96,016  Dnsrslvr.dll     
   14-Jun-2002  22:36  5.0.2195.5722      45,328  Eventlog.dll     
   14-Jun-2002  22:36  5.0.2195.5878     222,992  Gdi32.dll        
   14-Jun-2002  22:36  5.0.2195.5859     145,680  Kdcsvc.dll       
   04-Jun-2002  21:31  5.0.2195.5859     199,952  Kerberos.dll     
   14-Jun-2002  22:36  5.0.2195.4928     708,880  Kernel32.dll     
   05-Jun-2002  17:50  5.0.2195.5861      71,024  Ksecdd.sys
   05-Jun-2002  17:50  5.0.2195.5861     505,616  Lsasrv.dll       
   05-Jun-2002  17:50  5.0.2195.5861      33,552  Lsass.exe        
   04-Jun-2002  21:31  5.0.2195.5859     107,792  Msv1_0.dll       
   14-Jun-2002  22:36  5.0.2195.5877     307,472  Netapi32.dll     
   14-Jun-2002  22:36  5.0.2195.5723     360,208  Netlogon.dll     
   14-Jun-2002  22:36  5.0.2195.5886     917,264  Ntdsa.dll        
   14-Jun-2002  22:36  5.0.2195.5585     386,832  Samsrv.dll       
   14-Jun-2002  22:36  5.0.2195.5837     128,784  Scecli.dll       
   14-Jun-2002  22:36  5.0.2195.5757     299,792  Scesrv.dll       
   04-Jun-2002  21:24  5.0.2195.5857      64,000  Sp3res.dll       
   20-Apr-2002  00:45  5.2.2.2             3,584  Spmsg.dll        
   20-Apr-2002  00:46  5.2.2.2            44,032  Spuninst.exe     
   13-Jun-2001  05:05  5.0.2195.3727       3,856  Svcpack1.dll     
   26-Jun-2001  02:17  3.10.0.103         47,808  User.exe         
   14-Jun-2002  22:36  5.0.2195.4314     402,192  User32.dll       
   14-Jun-2002  22:36  5.0.2195.5644     369,936  Userenv.dll      
   14-Jun-2002  22:36  5.0.2195.5859      48,912  W32time.dll      
   04-Jun-2002  21:32  5.0.2195.5859      57,104  W32tm.exe        
   11-Jun-2002  00:21  5.0.2195.5876   1,641,680  Win32k.sys
   03-May-2002  18:31  5.0.2195.5731     178,960  Winlogon.exe     
   14-Jun-2002  22:36  5.0.2195.4602     243,472  Winsrv.dll       
   14-Jun-2002  22:36  5.0.2195.5737     125,712  Wldap32.dll      
   05-Jun-2002  17:50  5.0.2195.5861     505,616  Lsasrv.dll       
   14-Jun-2002  22:36  5.0.2195.4928     708,880  Kernel32.dll     
   14-Jun-2002  22:36  5.0.2195.5876   1,641,680  Win32k.sys
   14-Jun-2002  22:36  5.0.2195.4602     243,472  Winsrv.dll       
   20-Apr-2002  00:46  5.2.2.2            10,240  Spcustom.dll     

				

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

Modification Type:MinorLast Reviewed:10/12/2005
Keywords:kbHotfixServer kbQFE kbbug kbfix KB322291 kbAudDeveloper