LastSquirrelIT / MultiOneTimePassword-CredentialProvider

Aims to improve the overall security of the Windows logon process by adding 2FA Authentication. Uses multiOTP as authentication endpoint.
Apache License 2.0
94 stars 44 forks source link

errrors creating user #14

Closed ovizii closed 9 years ago

ovizii commented 9 years ago

Following these instructions in Win 10:

https://github.com/LastSquirrelIT/MultiOneTimePassword-CredentialProvider/wiki/MultiOTP

getting:

C:\Program Files (x86)\MultiOTP>multiotp.exe -debug -create ovi TOTP xxxxxxxxxxxxxxxxxxxxxxxxx xxxx 6 30

Warning: fopen(C:\Program Files (x86)\MultiOTP\config\multiotp.ini): failed to open stream: No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 1792

Warning: fopen(C:\Program Files (x86)\MultiOTP\log\multiotp.log): failed to open stream: No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2333

Warning: fwrite() expects parameter 1 to be resource, boolean given in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2336

Warning: fwrite() expects parameter 1 to be resource, boolean given in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2337

Warning: fwrite() expects parameter 1 to be resource, boolean given in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2339

Warning: fwrite() expects parameter 1 to be resource, boolean given in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2345

Warning: fclose() expects parameter 1 to be resource, boolean given in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2346

Warning: chmod(): No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2348

Warning: fopen(C:\Program Files (x86)\MultiOTP\users\ovi.db): failed to open stream: No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 1792

Warning: fopen(C:\Program Files (x86)\MultiOTP\log\multiotp.log): failed to open stream: No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2333

Warning: fwrite() expects parameter 1 to be resource, boolean given in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2345

Warning: fclose() expects parameter 1 to be resource, boolean given in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2346

Warning: chmod(): No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2348

Warning: fopen(C:\Program Files (x86)\MultiOTP\log\multiotp.log): failed to open stream: No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2333

Warning: fwrite() expects parameter 1 to be resource, boolean given in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2345

Warning: fclose() expects parameter 1 to be resource, boolean given in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2346

Warning: chmod(): No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2348

Warning: fopen(C:\Program Files (x86)\MultiOTP\log\multiotp.log): failed to open stream: No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2333

Warning: fwrite() expects parameter 1 to be resource, boolean given in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2345

Warning: fclose() expects parameter 1 to be resource, boolean given in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2346

Warning: chmod(): No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 2348

C:\Program Files (x86)\MultiOTP>
arcadejust commented 9 years ago

Instruction states:

Make sure multiOTP.exe is installed, configured and working BEFORE you install mOTP-CP.

Did you install the multiotp or just extracted it? Maybe you have to initialize it...

multiotp -initialize-backend

ovizii commented 9 years ago

I did exactly as per the instructions:

To install multiOTP.exe do the following:

Download the current version of multiotp from http://www.multiotp.net
Create a directory on your hard-drive
Extract multiotp.exe from the downloaded archive to the directory created in step 2

Will try to initialize now.

C:\Program Files (x86)\MultiOTP>multiotp.exe -initialize-backend

Warning: fopen(C:\Program Files (x86)\MultiOTP\config\multiotp.ini): failed to open stream: No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 1792

Warning: fopen(C:\Program Files (x86)\MultiOTP\config\multiotp.ini): failed to open stream: No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 1792

Warning: fopen(C:\Program Files (x86)\MultiOTP\config\multiotp.ini): failed to open stream: No such file or directory in D:\Data\projects\multiotp\phc-cli\multiotp.windows.php on line 1792

C:\Program Files (x86)\MultiOTP>

I also tried the beta with the same results...

ovizii commented 9 years ago

probably solved. I was logged in with administrative rights but still had to open CMD with admin rights. no more errrors now.