I have a Windows 2000 Server domain controller, and I intend to rebuild it on a new server.
I obviously want to move the users and security group from the old server to the new server.
It appears that with LDIFDE, I can't import group membership. The following attributes appears to cause problems:
When I try to import an LDF file that contain these attributes, the following error is returned:
Logging in as current user using SSPI
Importing directory from file "c:\test.ldf"
Loading entries.
Add error on line 1: Unwilling To Perform
The server side error is "Access to the attribute is not permitted because the attribute is owned by the Security Accoun
ts Manager (SAM)."
0 entries modified successfully.
An error has occurred in the program
are probably not too crucial, but it would be quite a pain if group memberships cannot be imported. Note the same error occured even if I import the Security Group first before importing user objects with
and
property set. In addition, the password is also not exported.
Questions:
1) Are there any ways to get LDIFDE to import group membership? If so, how?
2) Are there any ways to get LDIFDE to import passwords? If so, how? If not, if I were to use ADSI after an LDIFDE import:
What parameter do I pass to the oldpassword argument?
Note, the source server is windows 2000 server with SP3, and the destination server is windows 2000 server with SP4.
I obviously want to move the users and security group from the old server to the new server.
It appears that with LDIFDE, I can't import group membership. The following attributes appears to cause problems:
Code:
memberOf, primaryGroupID, badPwdCount, lastLogoff, lastLogon, logonCount, pwdLastSet, badPasswordTime, sAMAccountType
When I try to import an LDF file that contain these attributes, the following error is returned:
Logging in as current user using SSPI
Importing directory from file "c:\test.ldf"
Loading entries.
Add error on line 1: Unwilling To Perform
The server side error is "Access to the attribute is not permitted because the attribute is owned by the Security Accoun
ts Manager (SAM)."
0 entries modified successfully.
An error has occurred in the program
Code:
badPwdCount, lastLogoff, lastLogon, logonCount, pwdLastSet, badPasswordTime
Code:
memberOf
Code:
PrimaryGroupID
Questions:
1) Are there any ways to get LDIFDE to import group membership? If so, how?
2) Are there any ways to get LDIFDE to import passwords? If so, how? If not, if I were to use ADSI after an LDIFDE import:
Code:
objADSIUser.ChangePassword
Note, the source server is windows 2000 server with SP3, and the destination server is windows 2000 server with SP4.