• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login
    1. Home
    2. Daniel Miller
    3. Topics
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 2
    • Posts 102
    • Best 16
    • Controversial 0
    • Groups 0

    Topics created by Daniel Miller

    • D

      Solved working-1.6 branch installation issue: tftpd service not restarted

      Bug Reports
      • • • Daniel Miller
      2
      1
      Votes
      2
      Posts
      304
      Views

      S

      @Daniel-Miller Thanks for reporting! Obviously hasn’t been noticed in a while. I just pushed a fix to working-1.6.

      Moving this to section bug reports and marking as solved.

    • D

      LDAP authorization with groups in rfc2307bis schema on OpenDirectory

      General Problems
      • • • Daniel Miller
      11
      0
      Votes
      11
      Posts
      884
      Views

      D

      @Fernando-Gietz
      Well, you may not intend to support such at the moment, but it does work in 1.5.6 provided the groups are specified in the web interface as a comma separated list, which may cause its own problems for some group names. It actually doesn’t look like much more needs to be done to flesh out that first enhancement beyond the UI elements and input validation. 🙂

      I would suggest taking a look at the sequence of events for the bindings and searches, or at least making sure that the permissions contexts in which those searches occur are consistent. I think the quick and dirty fix I put in at line 547 won’t mess up anything, but I don’t have a lot of experience with either php and ldap.

      And for posterity (read: when I forget what I did), diff against ldap.class.php released with 1.5.6 for the changes to address the issues for this thread:

      547a548 > $bind = @$this->bind($bindDN, $bindPass); 616,617c617,618 < '(&(|(name=%s))(%s=%s))', < implode(')(name=', (array)$adminGroups), --- > '(&(|(cn=%s))(%s=%s))', > implode(')(cn=', (array)$adminGroups), 640,641c641,642 < '(&(|(name=%s))(%s=%s))', < implode(')(name=', (array)$userGroups), --- > '(&(|(cn=%s))(%s=%s))', > implode(')(cn=', (array)$userGroups),
    • 1 / 1