Menu

#19 update groups from LDAP

open-works-for-me
nobody
LDAP (6)
7
2012-01-06
2012-01-06
McAldo
No

I use the debian version of davical 1.0.1 and found an error during update groups from ldap in the sql query to delete a group.

I replace in file /usr/share/davical/inc/drivers_ldap.php in line 494
$qry = new AwlQuery( 'UPDATE dav_principal set active=FALSE WHERE username=:group AND type_id = 3',array(':group'=>$group) );
with
$qry = new AwlQuery( 'UPDATE dav_principal set user_active=FALSE WHERE username=:group AND type_id = 3',array(':group'=>$group) );

The title of the column in the table dav_principal is "user_active" and not "active".

Best regards and thanks for this software

Discussion

  • McAldo

    McAldo - 2012-01-06
    • priority: 5 --> 7
    • status: open --> open-works-for-me
     
  • McAldo

    McAldo - 2012-01-06

    works for me

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.