Hi Nirmani, It looks like when try to login, if that user doesn’t exist in the drupal database, exception occurs but at the same time that user will get added in to the drupal database. Therefore at the second time you can log in without an issue. Can you share the code and meanwhile check whether these[1][2] solutions are working for you.
[1] http://stackoverflow.com/questions/5728540/ldap-add-add-object-class-violation-error [2] https://www.drupal.org/node/1920682 [3] https://www.drupal.org/node/2262207 Regards, Chanuka. On Mon, May 25, 2015 at 8:09 PM, Nirmani Meegahathenna <[email protected]> wrote: > Hi, > > I'm trying to integrate Drupal with IS for SSO provisioning. Followed this > article. > > http://wso2.com/library/articles/2014/10/wso2-identity-server-single-sign-on-with-drupal/#installsimplesamlphp > > Using SimpleLdap module <https://www.drupal.org/project/simple_ldap> to > connect with OT LDAP. > > Getting the error "*SimpleLdapException*: Object class violation in > *SimpleLdap::ldap_add()* (line *316* of > */var/www/html/drupal/sites/all/modules/simple_ldap/SimpleLdap.class.php* > )." when user try to login for the first time. > > What is the reason for this? > > Thanks. > > -- > Nirmani Meegahathenna > *Software Engineer Intern* > Mobile : +94 (0) 775 507684 > [email protected] <[email protected]> > -- Chanuka Dissanayake *Software Engineer | **WSO2 Inc.*; http://wso2.com Mobile: +94 71 33 63 596 Email: [email protected]
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
