AD Integration Issue

I have configured mutiOTP with AD as per given instructions, but while running "-ldap-users-sync" command getting PHP Warning. Request experts to review and provide me the solution to proceed with this setup. Configuration ***************** ./multiotp.php -config default-request-ldap-pwd=1 ./multiotp.php -config ldap-server-type=1 ./multiotp.php -config ldap-cn-identifier="sAMAccountName" ./multiotp.php -config ldap-group-cn-identifier="sAMAccountName" ./multiotp.php -config ldap-group-attribute="memberOf" ./multiotp.php -config ldap-ssl=0 ./multiotp.php -config ldap-port=389 ./multiotp.php -config ldap-domain-controllers=server1,server2 ./multiotp.php -config ldap-base-dn="DC=aaa,DC=bbb,DC=ccc" ./multiotp.php -config ldap-bind-dn="CN=Cuser,OU=Non-Expiring Service Accounts,OU=Service Accounts,OU=System Management,DC=aaa,DC=bbb,DC=ccc" ./multiotp.php -config ldap-server-password="Cpassword" ./multiotp.php -config ldap-in-group="VPNUsers" ./multiotp.php -config ldap-network-timeout=10 ./multiotp.php -config ldap-time-limit=30 ./multiotp.php -config ldap-activated=1 -ldap-user-info --> Able to fetch details of user from AD ************************************************************** Array ( [1019497] => Array ( [user] => 1019497 [groups] => Array [accountdisable] => [mail] => Saravanan.Arumugam@domain.com [displayname] => Saravanan Arumugam [mobile] => [msnpallowdialin] => 1 [synchronized_dn] => CN=Saravanan Arumugam,OU=Office365,DC=aaa,DC=bbb,DC=ccc ) Error While running ldap-user-sync ************************************* PHP Notice: Undefined index: count in /usr/local/bin/multiotp/multiotp.proxy.php on line 55 PHP Warning: ldap_next_entry() expects parameter 2 to be resource, null given in /usr/local/bin/multiotp/multiotp.proxy.php on line 55 PHP Warning: ldap_get_attributes() expects parameter 2 to be resource, null given in /usr/local/bin/multiotp/multiotp.proxy.php on line 55 PHP Warning: ldap_get_dn() expects parameter 2 to be resource, null given in /usr/local/bin/multiotp/multiotp.proxy.php on line 55

Comments

  • I've just found the same problem in the latests 5.0.3.7 release. Did you ever resolve this?
  • try using version 5.0.3.0 the errors went away in that one
  • edited March 2017
    Hello, If you want to upgrade the VM provided on www.multiotp.net, using the last build 5.0.3.7, please extract the following files from /raspberry/boot-part/multiotp-tree/usr/local/bin/multiotp and put them into /usr/local/bin/multiotp:
    • index.php
    • multiotp.class.php
    • multiotp.php
    • multiotp.proxy.php
    Thanks to keep us in touch. Regards, Andre
  • HOW CAN I UPGRADE FROM A PREVIOUS VERSION ?

    !!! Be careful when you upgrade your multiOTP open source Virtual Appliance !!!
    The multiOTP open source Virtual Appliance is using the files in raspberry/boot-part/multiotp-tree/usr/local/bin/multiotp, with config and backend folders defined to be located in /etc/multiotp/

    If you are currently using the multiOTP open source Virtual Appliance, you can upgrade the multiOTP version by copying the extracted content of the folder and subfolders from raspberry/boot-part/multiotp-tree/usr/local/bin/multiotp to /usr/local/bin/multiotp An update through the web interface should be available in the future

    If you are currently using the multiOTP open source linux files, you can upgrade your installation by copying the extracted content of the folder and subfolders from linux to your current multiOTP folder

    If you are currently using the multiOTP open source windows files, you can upgrade your installation by copying the extracted content of the folder and subfolders from windows to your current multiOTP folder
This discussion has been closed.