mam taki oto problem. Weksportowałem sobie pojedynczy obiekt - komputer z Active Directory komendą
Kod: Zaznacz cały
csvde -f komputer.csv -d "cn=NowyKomp, ou=Computers, ou=Test, dc=owocowy, dc=jogurt, dc=com" -m
Następnie poprzez funkcję Zamień w notatniku zamieniam wszystkie wystąpienia NowyKomp na NowyKomp_csv.
Potem wrzucam komendę importującą i jest problem:
Kod: Zaznacz cały
C:\Documents and Settings\Administrator>csvde -i -f komputer.csv
Connecting to "(null)"
Logging in as current user using SSPI
Importing directory from file "komputer.csv"
Loading entries.
Add error on line 2: Constraint Violation
The server side error is "Multiple values were specified for an attribute that can have only one value."
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.
Robiąc podobną rzecz za pomocą ldifde miałem podobny problem, który udało mi się w pewien sposób ominąć usuwając polę "localPolicyFlags" mający wartość 0. Tutaj już to nie przejdzie, po usunięciu wywala coś takiego:
Kod: Zaznacz cały
C:\Documents and Settings\Administrator>csvde -i -f komputer.csv
Connecting to "(null)"
Logging in as current user using SSPI
Importing directory from file "komputer.csv"
Loading entries.
Add error on line 2: Unwilling To Perform
The server side error is "The specified user account is not a member of the spec
ified group account."
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.
