Re: Re: PHP ldap_add() - null values in fields produce an "value #0 invalid per syntax" error on the ldap server

From: Date: Thu, 18 Jul 2002 01:48:05 +0000
Subject: Re: Re: PHP ldap_add() - null values in fields produce an "value #0 invalid per syntax" error on the ldap server
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-20610@lists.php.net to get a copy of this message
On Thursday 18 July 2002 02:20, David Robley wrote: > > Perhaps if you were to test that the relevant values were not empty; only > add them to the ldap database if they have a value? empty or isset are the > functions to investigate. > > Cheers Unfortunately this is not an option, as it will mess up other applications that are dependent on the ldap server. The entries need to be made in the server, and they must have a null value if there is nothing to go in. It was working fine with openldap 1.2.13, but with openldap 2.x, its a no go, and it is causing a lot of problems. Ian

« previous php.db (#20610) next »