importing ldifde error

importing ldifde error

Post by Hussei » Tue, 14 Jan 2003 01:01:27



hi all;
am trying to import a .ldf file in a new forest but i
failed giving me error access to the attribute is not
permited because the attribute is owned by security
accounts manager (SAM)
how   can i import .ldf without this error ?
 
 
 

importing ldifde error

Post by Tim Hines, MCSE [MVP » Tue, 14 Jan 2003 05:59:47


Some attributes cannot be imported.  I've done some testing with importing
user accounts and found that the following attributes could not be imported.

whenCreated:
whenChanged:
objectGUID::
badPwdCount:
badPasswordTime:
lastLogoff:
lastLogon:
pwdLastSet:
logonCount:
objectSid::
accountExpires:
uSNCreated:
uSNChanged:
userAccountControl:
sAMAccountType:
primaryGroupID:
logonCount:

--
Tim Hines, MCSA, MCSE (2000 & NT4)
MVP - Active Directory


Quote:> hi all;
> am trying to import a .ldf file in a new forest but i
> failed giving me error access to the attribute is not
> permited because the attribute is owned by security
> accounts manager (SAM)
> how   can i import .ldf without this error ?


 
 
 

importing ldifde error

Post by Hussei » Tue, 14 Jan 2003 16:06:07


i wonder how can i override the error then i want to
import the user accounts
Quote:>-----Original Message-----
>Some attributes cannot be imported.  I've done some

testing with importing
Quote:>user accounts and found that the following attributes

could not be imported.

>whenCreated:
>whenChanged:
>objectGUID::
>badPwdCount:
>badPasswordTime:
>lastLogoff:
>lastLogon:
>pwdLastSet:
>logonCount:
>objectSid::
>accountExpires:
>uSNCreated:
>uSNChanged:
>userAccountControl:
>sAMAccountType:
>primaryGroupID:
>logonCount:

>--
>Tim Hines, MCSA, MCSE (2000 & NT4)
>MVP - Active Directory



>> hi all;
>> am trying to import a .ldf file in a new forest but i
>> failed giving me error access to the attribute is not
>> permited because the attribute is owned by security
>> accounts manager (SAM)
>> how   can i import .ldf without this error ?

>.

 
 
 

importing ldifde error

Post by Al Lilianstro » Tue, 14 Jan 2003 23:43:32


I agree - except for accountExpires. We modify it using ldif files every
day both when new accounts are added and existing ones are updated.

        al

--

Al Lilianstrom
CD/CSS/CSI


> Some attributes cannot be imported.  I've done some testing with importing
> user accounts and found that the following attributes could not be imported.

> whenCreated:
> whenChanged:
> objectGUID::
> badPwdCount:
> badPasswordTime:
> lastLogoff:
> lastLogon:
> pwdLastSet:
> logonCount:
> objectSid::
> accountExpires:
> uSNCreated:
> uSNChanged:
> userAccountControl:
> sAMAccountType:
> primaryGroupID:
> logonCount:

> --
> Tim Hines, MCSA, MCSE (2000 & NT4)
> MVP - Active Directory



>>hi all;
>>am trying to import a .ldf file in a new forest but i
>>failed giving me error access to the attribute is not
>>permited because the attribute is owned by security
>>accounts manager (SAM)
>>how   can i import .ldf without this error ?

 
 
 

importing ldifde error

Post by Snowdo » Wed, 15 Jan 2003 08:11:07


You can also import the userAccountControl to
disable/enable the account as need be.

Quote:>-----Original Message-----
>Some attributes cannot be imported.  I've done some

testing with importing
Quote:>user accounts and found that the following attributes

could not be imported.

>whenCreated:
>whenChanged:
>objectGUID::
>badPwdCount:
>badPasswordTime:
>lastLogoff:
>lastLogon:
>pwdLastSet:
>logonCount:
>objectSid::
>accountExpires:
>uSNCreated:
>uSNChanged:
>userAccountControl:
>sAMAccountType:
>primaryGroupID:
>logonCount:

>--
>Tim Hines, MCSA, MCSE (2000 & NT4)
>MVP - Active Directory



>> hi all;
>> am trying to import a .ldf file in a new forest but i
>> failed giving me error access to the attribute is not
>> permited because the attribute is owned by security
>> accounts manager (SAM)
>> how   can i import .ldf without this error ?

>.

 
 
 

importing ldifde error

Post by Snowdo » Wed, 15 Jan 2003 08:12:19


As Tim stated early, look at your import file and remove
the attributes that the system owns and will create on
its own.

>-----Original Message-----
>i wonder how can i override the error then i want to
>import the user accounts
>>-----Original Message-----
>>Some attributes cannot be imported.  I've done some
>testing with importing
>>user accounts and found that the following attributes
>could not be imported.

>>whenCreated:
>>whenChanged:
>>objectGUID::
>>badPwdCount:
>>badPasswordTime:
>>lastLogoff:
>>lastLogon:
>>pwdLastSet:
>>logonCount:
>>objectSid::
>>accountExpires:
>>uSNCreated:
>>uSNChanged:
>>userAccountControl:
>>sAMAccountType:
>>primaryGroupID:
>>logonCount:

>>--
>>Tim Hines, MCSA, MCSE (2000 & NT4)
>>MVP - Active Directory



>>> hi all;
>>> am trying to import a .ldf file in a new forest but i
>>> failed giving me error access to the attribute is not
>>> permited because the attribute is owned by security
>>> accounts manager (SAM)
>>> how   can i import .ldf without this error ?

>>.

>.

 
 
 

importing ldifde error

Post by Burhan Loquema » Thu, 16 Jan 2003 05:33:09


Yes - I found out  few of these myself - like memberOf,
for example.

Am I right in thinking that is the MSDN online library,
when it states that an attribute is a SYSTEM attribute, it
cannot be set correctly using an LDIF script? Anyone else
know what I mean?

By the way if anyone wants an 'easy' way to generate LDIF
scripts without programming, you can create EXCEL or CSV
files, and then use Microsoft Word's MAIL MERGE facility
to merge the spreadhseet columns in the line seprated
format that the LDIF command works.

This is the only way to create accounts as you will know
using LDIFDE - the silly CSVDE command only modifies
attributes.

We use this method where I work to create accounts on a
daily basis for our students - anyone wanting to know what
we do can e-mail me for a document I have produced which
shows how we do this.

>-----Original Message-----
>As Tim stated early, look at your import file and remove
>the attributes that the system owns and will create on
>its own.

>>-----Original Message-----
>>i wonder how can i override the error then i want to
>>import the user accounts
>>>-----Original Message-----
>>>Some attributes cannot be imported.  I've done some
>>testing with importing
>>>user accounts and found that the following attributes
>>could not be imported.

>>>whenCreated:
>>>whenChanged:
>>>objectGUID::
>>>badPwdCount:
>>>badPasswordTime:
>>>lastLogoff:
>>>lastLogon:
>>>pwdLastSet:
>>>logonCount:
>>>objectSid::
>>>accountExpires:
>>>uSNCreated:
>>>uSNChanged:
>>>userAccountControl:
>>>sAMAccountType:
>>>primaryGroupID:
>>>logonCount:

>>>--
>>>Tim Hines, MCSA, MCSE (2000 & NT4)
>>>MVP - Active Directory



>>>> hi all;
>>>> am trying to import a .ldf file in a new forest but i
>>>> failed giving me error access to the attribute is not
>>>> permited because the attribute is owned by security
>>>> accounts manager (SAM)
>>>> how   can i import .ldf without this error ?

>>>.

>>.

>.

 
 
 

1. error when importing user account w/ ldifde

Hi all,
I having an issue using "ldifde".  I created a *.txt file using the proper
format to use with the ldifde command.  However, when executing the import I
receive the following error message:

C:\>ldifde -i -f c:\freshman2005.txt
Connecting to "server.go.domain.edu"
Logging in as current user using SSPI
Importing directory from file "c:\freshman2005.txt"
Loading entries.
There is a syntax error in the input file
Add error on line 1:  No Such Attribute
The server side error is "The parameter is incorrect."
0 entries modified successfully.
An error has occurred in the program

This is the format that I am using in the *.txt file:

dn: CN=Cynthia deOliveira,OU=2005,OU=Student,DC=go,DC=domain,DC=edu
objectClass: user
sAMACountName: cynthia.deoliveira

displayName: Cynthia deOliveira
userAccountControl: 514
employeeID: 123456789
SetPassword: ab1234
# Create user account for Cynthia deOliveira

Any Help is greatly appreciated!
TIA,
Joe

generic levitra india

2. Joel's ATI drivers and the SPP

3. LDIFDE import error with Forest

4. Tools for LAN/WAN traffic simulations besides COMNET III?

5. LDIFDE import error

6. Xemacs for NT not working.

7. LDIFDE Import Error

8. Starquake Remake

9. LDIFDE import error

10. Error importing LDIFDE .ldf file

11. CSVDE/LDIFDE Import Error

12. ldifde import errors

13. Bulk Import and Export using ldifde