ADOffline icon indicating copy to clipboard operation
ADOffline copied to clipboard

Error on parsing ldif

Open mareban opened this issue 9 years ago • 1 comments

Hello,

Nice tool, but it doesn't work for me !!!

Is it something to have with the parsing of the ldif or a bug or something else ?

Thanks for your help.

[11/Feb/17 15:11:54] Creating database: Traceback (most recent call last): File "./adoffline.py", line 450, in create_views(sql) File "./adoffline.py", line 143, in create_views CASE WHEN (sAMAccountType==0x7fffffff) THEN 1 ELSE 0 END AS SAM_ACCOUNT_TYPE_MAX FROM raw_users''') sqlite3.OperationalError: unrecognized token: "0x00000001"

mareban avatar Feb 11 '17 14:02 mareban

You have to make sure that you use at least SQLite 3.8 for this to work. Else the hex literals used in the script will not work.

EtengoTHA avatar Jan 29 '19 07:01 EtengoTHA