Access to SMB with alternate credentials requires OTP

Privacyidea credential provider has been installed

  • We have smb share folder on freenas
  • I wanna map this share folder in windows. To do this you need to enter login a password and a token for the privacyidea credential provider user
    Question. ?
    What is the best way to do so that it is not required to enter a login and password to map a shared folder through PrivacyIdea credential provider

Create a registry entry “cpus_credui” with value “3d”. This will disable the CP for all CredUI scenarios (which are the pop-up dialogs where you enter credentials).