LDAP trouble! Need help

From: Date: Wed, 20 Jun 2001 13:04:06 +0000
Subject: LDAP trouble! Need help
Groups: php.general 
Request: Send a blank email to php-general+get-54508@lists.php.net to get a copy of this message
Hi all! I have some problems while printing out values of attributes-types which have "Equality" and/or "Substrings" values. Example: $get_values = "".$info[0]["title"][0]; # OK. (prints out the value correct) $get_values = "".$info[0]["postalCode"][0]; # NOT OK. (prints out nothing) the "title" and "postalCode" attributes are even in the same objectclass (organizationalPerson), but the "postalCode" attribute has Equality=caseignoreMatch and Substrings=caseIgnoreSubstringsMatch ... I've tried with a bunch of other attributes with different objectclasses, with the same result. I'm using PHP 4.0.5 (Tried with 4.0.4pl1 too) and OpenLDAP 2.0.7 Thanks in advance. -- Stig-Ørjan Smelror Systemutvikler Linux Communications AS Sandakerveien 48b Box 1801 - Vika N-0123 Oslo, Norway tel. +47 22 09 28 80 fax. +47 22 09 28 81 http://www.lincom.no/

« previous php.general (#54508) next »