I was doing this command : ldifde -i -f AD-schema.ldif -c "DC=x" "dc=my,dc=domain,dc=br"
with my USER that as administrator privileges in the domain, and i was getting this error
Logging in as current user using SSPI
Importing directory from file "AD-schema.ldif"
Loading entries.
Add error on entry starting on line 20: Insufficient Rights
The server side error is: 0x5 Access is denied.
The extended server error is:
00000005: SecErr: DSID-031528D2, problem 4003 (INSUFF_ACCESS_RIGHTS), data 0
0 entries modified successfully.
An error has occurred in the program
No log files were written. In order to generate a log file, please
specify the log file path via the -j option.
Them i logged in as Administrator and with the same command :
: ldifde -i -f AD-schema.ldif -c "DC=x" "dc=my,dc=domain,dc=br"
and it worked :)