post Category: Code, Internet — chris @ 12:18 am — post

So, today I managed to finally setup an openldap server using the excellent instructions at debuntu.org. I then installed the latest release of phpldapadmin, however, the latest (admittedly, alpha) release has a pretty big bug in my opinion: you cannot create any classes of user or group. So, a bit of research and a quick fix presented itself:

---  phpldapadmin/lib/Attribute.php
+++ phpldapadmin/lib/Attribute.php, 1 October 2007 

-if (isset($this->values[$i])) return $this->values[$i];
+if (isset($this->values[$i])) return ''.$this->values[$i];

Until the next release of phpldapadmin, that should do the trick! Guessing a typo made it through quality control.. :)

Sorry, no comments yet.

Write Your Comment

Comment Guidelines: Basic XHTML is allowed (a href, strong, em, code). All line breaks and paragraphs will be generated automatically.

You should have a name, right? 
Your email address, I promised I won't tell it to anyone. 
If you have a web site or blog, you can type the URL right here. 
This is where you type your comments. 
Remember my information for the next time I visit.
 

This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)

You must read and type the 4 chars within 0..9 and A..F, and submit the form.

  

Oh no, I cannot read this. Please, generate a