LDIFDE-Import

From: Lars (Lars_at_discussions.microsoft.com)
Date: 02/24/05


Date: Thu, 24 Feb 2005 06:03:04 -0800

Hallo NG!
Ich würde gerne für ein AD-Objekt via LDIFDE-Import folgende Attribute ändern:
cn, mailNickName, name, sAMAccountName, userPrincipalName
Dazu habe ich folgende LDIFDE-Datei erstellt:
dn: CN=AlterName,OU=FRA,DC=LAB,DC=AD,DC=DE
changetype: modify
replace: cn
cn: NeuerName
-
replace: mailNickname
mailNickName: NeuerName
-
replace: name
name: NeuerName
-
replace: sAMAccountName
sAMAccountName: NeuerName
-
replace: userPrincipalName
userPrincipalName: NeuerName@LAB.AD.DE
-

Ich führe den Import mit "LDIFDE -v -i -s Servername -f import.ldf" durch
und erhalte folgende Fehlermeldung:
...
Add error on line 1: Unwilling to perform
The server side error is "The directory service cannot perform the requested
operation on the RDN attribute of an object,"
...

Was mache ich falsch??



Relevant Pages

  • Re: Active directory user creation with c# (question concerning principalUsername and samAccountName
    ... As the samAccountName is limited to 20 ... we are going to use the userPrincipalName. ... active directory through the third party dll "Interop.ActiveDs.dll" ... private bool CheckPassword(string pLoginName, string pPassword) { ...
    (microsoft.public.dotnet.general)
  • Re: form authetication?
    ... userPrincipalName or the sAMAccountName. ... > There are 4 possible username formats for an AD bind with DirectoryEntry ... > plain username (whatever is in the sAMAccountName attribute) ... >> impersonation be used with form authentication? ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Empty Administrator Username ... ITs possible!!
    ... sAMAccountName or userPrincipalName? ... You can use the UPN if you only set ... the Pre-Windows 2000 name. ...
    (microsoft.public.windows.server.active_directory)
  • Re: Copy userPrincipalName to sAMAccountName
    ... First, userPrincipalName is optional, so it may not have a value. ... sAMAccountName is limited to 20 ... If (intIndex> 1) Then ... objUser.Put "sAMAccountName", strNTName ...
    (microsoft.public.windows.server.scripting)
  • Re: Strange problem with OWA
    ... the sAMAccountName and mailNickName is identical. ... > as AD logon account name ... Prev by Date: ...
    (microsoft.public.exchange2000.active.directory.integration)