Guest User!

You are not Sophos Staff.

[9.200-11][ANSWERED] OTP - How?

Hi,

I authenticate my users against an AD and I can log in to the user portal without any problems.
Now I've activated OTP, with "All users must use one-time passwords" and "Auto-create OTP tokens for users" checked.

As I unterstand, a user who logs in to the user portal should now get a QR-Code upon the next login. But I get an "Invalid username/password, or access denied by policy." error instead.

If I disable OTP the login works again just fine.


Any help would be greatly appreciated.

Dino
Parents
  • Hi

    Can you plz enable aua debugging with : pkill -USR2 aua.bin
    Then please attach aua.log when the event is occuring.

    I also was able to reproduce this, only when the Secret for the OTP token "expires". Then I did a reset and it worked.
    Did u ever use OTP so far with any users?

    Thanks
    Bianca

  • I also was able to reproduce this, only when the Secret for the OTP token "expires". Then I did a reset and it worked.


    Maybe i should rephrase the secret does not expire, upon reset it is simply shown again in user portal.

    There's another scenario where the QR code could not be displayed. For example if you use a remote user, which is the same with a local user, but in different cases (upper/lower cases). The remote users are case insensitive, while the local ones are case sensitive. Let me give you an example maybe its better to understand:
    - local user: test123
    - same user in AD: test123
    - you login via user portal with Test123
    => authentication will succeed via AD since is case insensitve, a user object will be created with the same name as the local user test123 => you get the error message => no QR code displayed.

    Other useful threads:
    http://www.astaro.org/beta-versions/utm-9-2-beta/50395-9-191-otp-user-portal.html

    Looking forward for your feedback,
    Bianca
Reply

  • I also was able to reproduce this, only when the Secret for the OTP token "expires". Then I did a reset and it worked.


    Maybe i should rephrase the secret does not expire, upon reset it is simply shown again in user portal.

    There's another scenario where the QR code could not be displayed. For example if you use a remote user, which is the same with a local user, but in different cases (upper/lower cases). The remote users are case insensitive, while the local ones are case sensitive. Let me give you an example maybe its better to understand:
    - local user: test123
    - same user in AD: test123
    - you login via user portal with Test123
    => authentication will succeed via AD since is case insensitve, a user object will be created with the same name as the local user test123 => you get the error message => no QR code displayed.

    Other useful threads:
    http://www.astaro.org/beta-versions/utm-9-2-beta/50395-9-191-otp-user-portal.html

    Looking forward for your feedback,
    Bianca
Children
No Data