On Sun, Feb 06, 2005 at 09:23:30PM +, Daniel Bowett wrote:
Is there any way I can use public/private key encryption in php in a
similar way to mcrypt.
I have got php encrypting the data using gnugp but need to automate the
decrytping element which is proving difficult because of the
On Mon, Jan 05, 2004 at 10:45:58AM -0500, Chakravarthy Cuddapah wrote:
You can do this in PHP. Check this: http://us4.php.net/manual/en/ref.ldap.php
I wrote a form in PHP to add users to LDAP, change passwords etc. Check this
https://www.cuddapahonline.net/ldap/
I can send the forms if you
On Tue, Dec 16, 2003 at 07:30:09PM +0100, Kim Steinhaug wrote:
To solve this problem you need a norwegian keyboard so I
Nah, you can just cut and paste (:
might aswell type the whole question in norwegian, sorry gyez!
---
Jeg
On Wed, Oct 30, 2002 at 09:28:00AM -0500, GC wrote:
Hi, using php_ldapadd, I get this error in ldap.log:
Oct 30 09:23:43 Lunar slapd[10714]: conn=202 op=1 RESULT tag=105 err=65
text=object class 'posixAccount' requires attribute 'uidNumber'
How do I get the next available uid number from
On Thu, Oct 24, 2002 at 04:37:56PM -0400, GC wrote:
Hi, I wrote a simple page that tries to enter a string into a LDAP server.
I get the following error:
Warning: LDAP: add operation could not be completed. in
/var/www/html/user/adduser_p.php on line 65
Where in my log files can I go to
On Thu, Sep 12, 2002 at 09:37:22AM +1000, joshua wrote:
i'm not sure if i follow you. i have never used ldap to write
authentication scripts as i've only used the .htaccess method.
to retrieve data you need to bind using a username/password combination
that is valid. i guess you could
On Wed, Sep 04, 2002 at 02:26:49PM +0200, Søren Henning Dalgaard wrote:
I can make an ldap_connect with the ldaps://hostname/ parameter but what
next:
How can make an ldap_bind command?
How can I encrypt and decrypt the data?
When using ldaps:// all communications are through SSL, you do
On Wed, Sep 04, 2002 at 03:58:18PM -0400, Brad Harriger wrote:
I'm trying to retrieve information from an NDS server using LDAP
functions in PHP 4.06. I am able to establish the connection and bind
to the server using an anonymous bind, but when I try to bind as a valid
user, the app
On Fri, Aug 23, 2002 at 11:52:11AM -0500, Curtis Robinson wrote:
So, I see that php does not have the CA. But, I have no clue as to where
to define the location of the CA in the php configuration. So, does
anyone know how I can configure this option?
Are you using OpenLDAP? The below is
by Mr Stig Venaas at:
http://marc.theaimsgroup.com/?l=php-generalm=100949195224325w=2
But you're not doing what I wrote...
// we want to transfer user roger from Civil Engineering to Credit section in
Finance
$r=ldap_rename($ds,
uid=roger,ou=People,ou=Civil,o=Engineering,dc=mydomain,dc=net
On Thu, Jul 18, 2002 at 08:17:59PM -0500, Richard Lynch wrote:
#0 is basically just LDAP's way to represent NULL, most likely.
$info[mail]=; // - NULL VALUE HERE
// The following lines also produce the same result...
//$info[mail]=NULL; // --- NULL value here
On Thu, Aug 01, 2002 at 09:52:12AM -0400, Chad Day wrote:
Also tried that, no success, unless I am missing something.
...
$info[st]=stchanged!;
...
ldap_modify($ds, 'uid=testing,cn=online-leagues.com', $info);
Fatal error: LDAP: Unknown Attribute in the
Hi
On Tue, Jul 30, 2002 at 09:00:09AM +0200, Manuel Vazquez wrote:
Good morning,
I'm running a OpenLDAP database which includes JPEG photos for some entries.
The purpose is to view these images on a web page. Unfortunately I do not
have much experience with PHP so any help would be very
On Thu, Jul 11, 2002 at 04:26:38PM -0700, Lazor, Ed wrote:
I was just checking it out. That map is awesome! What's funny is that it
even has an option to display the picture of a house at the coordinates you
specify.
Thanks for the compliment *grin* I have no idea why I didn't. Probably
On Tue, Jun 25, 2002 at 03:33:28PM -0400, [EMAIL PROTECTED] wrote:
I am trying to configure php4.2.1 with following commands
on a Redhat 7.2 box
./configure --with-mysql --with-apache=../apache_1.3.20
--enable-track-vars
--with-imap=../imap-2001.RELEASE-CANDIDATE.1
Hi Quinn
I see no one has responded yet. As I said on the OpenLDAP list, this is
not currently possible. Maybe I implement something some time in the
future, but patches would be welcome... If no one responds, I suggest
you go to http://bugs.php.net/ and submit a feature request. Or you
could of
On Tue, Feb 26, 2002 at 07:42:15PM -0800, tim tom wrote:
why can't i see the createTimestamp and userPassword bcos i did an *authenticated
bind* !
the script:
This depends on the LDAP server. createTimestamp is an operational
attribute and is not returned by default. You can specify
On Thu, Jan 03, 2002 at 10:42:30AM -0700, Quinn Perkins wrote:
I have installed OpenLDAP 2.x on an OS X Server 10.1.2 box. Everything
seems to be fine. I have written a simple PHP front end to modify LDAP
values. I can modify values in the core.schema without any problem, but
if I try to
On Thu, Dec 06, 2001 at 12:08:12PM +0100, Susanne Benkert wrote:
After recompiling my Php with the newest LDAP-Libraries and Openssl
ldap_connect(ldap://hostname;) works. But I still have problems with
ldap_connect(ldaps://hostname):
Could you check whether ldapsearch -H ldaps://hostname
Hi again Susanne, I'm on this list too...
On Tue, Dec 04, 2001 at 11:13:51AM +0100, Susanne Benkert wrote:
The LDAP server is already recompiled and running with ssl/tsl-support.
PHP-4.0.6. is compiled with-openssl. But when I try to use
ldap_connect('ldaps://hostname/') like suggested in the
On Tue, Dec 04, 2001 at 07:41:14AM +0800, Hafiz Malik wrote:
hi there..
i'm succesfully add ldap entry(jpegphoto) using PHP via below codes..
but failed to modify it.. any ideas?
Not really. Could you check what ldap_modify() returns, did you get
any warnings from PHP? Turn on more debugging
On Tue, Dec 04, 2001 at 12:19:24PM +0100, Susanne Benkert wrote:
This works for me. For ldap_connect(ldap://hostname;) to work, you need
OpenLDAP 2.x libs but that's all. Are you sure PHP is using that library?
I'm quite sure, because other ldap functions work properly such as
The LDAP sorting code I posted a couple of days ago was a bit lacking.
Here's a function that should work:
function myldap_sort($data, $attr) {
// -1 because of the count entry
echo #, $n = count($data) - 1;
for ($i=0; $i$n; $i++) {
$a[$i]=$data[$i][$attr][0];
}
On Thu, Nov 29, 2001 at 09:38:19AM -0700, Darren Gamble wrote:
Hey all,
Has anyone else had problems with memory leaks using PHP's LDAP functions?
Yes
I'm running php-4.0.6-7 as a module for apache-1.3.20-16; all Redhat 7.2
RPMs.
I posted a message on the PHP bug page recently, but, by
Hi
On Tue, Nov 27, 2001 at 04:08:39PM +0200, Christos Sintoris wrote:
Does anybody know how to call ldap_set_option in order to use server side
sorting?
using:
$sortval={'cn', 0,1};
$ctrl1 = array(oid = 1.2.840.113556.1.4.473, value =$sortval);
ldap_set_option($ds,
On Wed, Nov 28, 2001 at 03:08:52PM +0930, [EMAIL PROTECTED] wrote:
Hi All-
Can anyone tell me if PHP's LDAP functions support server side sorting of
search results as defined in this RFC:
http://www.ietf.org/rfc/rfc2891.txt
Not currently, maybe it will... Depends on how many wants it.
On Wed, Nov 28, 2001 at 05:26:22PM +0200, Christos Sintoris wrote:
Server side sorting is useful when network traffic costs more than
processing time.
Yes, there are some exceptions.
The server side sorting control in conjunction with the virtual list
view control returns only a subset
On Wed, Nov 14, 2001 at 09:17:03AM +0100, Spunk S. Spunk III wrote:
I'm working on a script that needs array_unique() but my host is using 4.0.4
and it's broken in that build. Does anyone have a good workaround for this?
I can wait for my host to upgrade but if I release this code, it would be
On Sat, Nov 03, 2001 at 03:54:23PM -0500, Reuben D Budiardja wrote:
since the key are preserved, arrC is no longer indexed from 0. Well, in most
cases I don't care about the key if it's just indexed array. But since the
key I preserved, I can no longer do
for($i=0; $icount($arrC);$i++)
On Mon, Oct 29, 2001 at 04:54:37PM -0700, Johnson, Kirk wrote:
Thanks for the link, Kurt. Can you also point to any authentication code
examples, or further discussion? The user comments in the manual suggest
there are at least a couple ways to code stuff, ldap_compare vs ldap_bind.
Any
On Wed, Oct 03, 2001 at 01:32:13AM +0200, Jiri Mikulas wrote:
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:248: too many arguments to function `ap_get_brigade'
I haven't looked that much at the code, you could perhaps try to
simply remove the last parameter... Not sure how
On Thu, Sep 20, 2001 at 02:57:43PM +0200, Jens Kisters wrote:
Hello,
I was asked to generate files in UTF-8 Format, where can i find infos on
this?
Is it a multi-byte charset?
How do i use other charset in PHP? can i just switch to another charset and
then make $a=a; where a is the UTF
On Tue, Jul 31, 2001 at 11:59:07AM +0500, Saquib Farooq wrote:
hi
well first of all you have to remove the colon -- ; sign from
the end of your while loop .. that will solve the problem for the time
out.
then there is problem with your code, this code will never get you
Hi
On Tue, May 22, 2001 at 10:18:38PM -0400, Scott Russell wrote:
So, what can be done to alter the php ldap functions (and openldap libs?) so
that you can choose the SSL protocol to use when connecting?
Sorry for the very late answer.
The way I see it, this is something that would require
Hei
On Wed, Jun 20, 2001 at 03:04:06PM +0200, Stig-Ørjan Smelror wrote:
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 =
On Mon, May 21, 2001 at 07:48:27PM -0400, Scott Russell wrote:
Using php 4.0.4pl1 with ssl and ldap support I'm connecting to a secure ldap
server. I want to be able to specify which level of ssl support I use,
either ssl1, ssl2, or ssl3. By default it appears as if php is trying to
connect
On Tue, May 08, 2001 at 08:35:37AM -0400, Stig Sæther Bakken wrote:
[Stig Venaas [EMAIL PROTECTED]]
the LDAP back-end, see http://www/dns/bind/bind-sdb/. If you look at
^^^
I guess this will take most people to somewhere else than they
expect. :-)
- Stig
On Mon, May 07, 2001 at 06:54:53PM +0200, Vincen Pujol wrote:
Hi,
Sorry for the crossposting but I don't know where to find a
solution for this. I need to be able to update dynamically entries in a DNS
(Bind 9). My DNS supports dynamic updates but how to do dynamic
On Wed, Apr 11, 2001 at 02:07:04PM +0200, Holger Flocken wrote:
Hi,
I want to use the LDAP functions of PHP to process every entry in an LDAP
directory. Unfortunately the directory contains more than 2 entries and
the PHP LDAP functions
(ldap_search/ldap_list) report that the timelimit
On Mon, Apr 02, 2001 at 12:41:07AM -0700, V e r b a l wrote:
I'm daft. I don't understand the PHP Manual.
I have two arrays:
Open[0] contains 1 2 3 4 5
Closed[0] contains 1 2
So the arrays contain one string each? array_diff() won't work then.
Try this:
$a = array(1, 2, 3, 4, 5);
$b =
On Tue, Mar 06, 2001 at 09:27:55AM +0100, Matthieu Le Corre wrote:
I try to have the php ldap functions working with SSL ,
but when the code is executed the apache child die !!!
is there anyone with that working
Works fine for me. I know one other person with the same problem as you.
He also
On Tue, Mar 06, 2001 at 10:54:24AM +0100, Matthieu Le Corre wrote:
Hum the ldapsearch work fine !!!
with the command : ldapsearch -x -H "ldaps://x..xx:636"
I have got a possitive response from server !
and I don't use SASL ...
I got some info from the other guy. He also used RH7
On Tue, Mar 06, 2001 at 11:22:55AM +0100, Matthieu Le Corre wrote:
i don't use SASL
so when i use ldapsearch without -x
I get "ldap_sasl_interactive_bind_s: Unknown authentication method"
but it doesnt crash !
Okay, the other guy had a crash there. For me it works without -x and
I don't use
There's been some discussion on the OpenLDAP lists as well, and there
seems to be a fix around. See
http://www.openldap.org/its/index.cgi/Software%20Bugs?id=889
Stig
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
On Tue, Feb 20, 2001 at 11:14:41AM -0400, Victor V . Evtushenko wrote:
* John Hallam [EMAIL PROTECTED] [010215 17:58]:
I have got php 4.0.4p1 configured with openssl 0.9.6
and ldap and I'm trying to get an ldap_connect to work
over ldaps as described in the ldap_connect
documentation.
On Thu, Jan 25, 2001 at 03:37:26PM +0100, Ernest E Vogelsinger wrote:
At 15:13 25.01.2001, Andy Woolley said:
[snip]
I know this is a little off topic but for your information 'whois.ripe.net'
provide information for the .ba TLD
I too am looking for
venaas Sat Jan 13 01:16:35 2001 EDT
Modified files:
/php4/ext/openssl openssl.c
Log:
Realized that emalloc() never returns NULL, simplified code
Index: php4/ext/openssl/openssl.c
diff -u php4/ext/openssl/openssl.c:1.6 php4/ext/openssl/openssl.c:1.7
---
venaas Sat Jan 13 02:00:31 2001 EDT
Modified files:
/php4/ext/ldap ldap.c
Log:
Fixed memory leaks that could happen in some error situations. Also removed
some unnecessary code in ldap_set_option()
Index: php4/ext/ldap/ldap.c
diff -u
, $http_response_header will
@ contain all headers with empty string as delimiter (Stig Venaas)
Index: php4/ext/standard/http_fopen_wrapper.c
diff -u php4/ext/standard/http_fopen_wrapper.c:1.3
php4/ext/standard/http_fopen_wrapper.c:1.4
--- php4/ext/standard/http_fopen_wrapper.c:1.3 Fri Oct 27
identifiers (Stig Venaas)
Index: php4/ext/ldap/ldap.c
diff -u php4/ext/ldap/ldap.c:1.78 php4/ext/ldap/ldap.c:1.79
--- php4/ext/ldap/ldap.c:1.78 Mon Jan 8 10:31:59 2001
+++ php4/ext/ldap/ldap.cFri Jan 12 14:08:26 2001
@@ -23,7 +23,7 @@
*/
-/* $Id: ldap.c,v 1.78 2001/01/08 18:31
50 matches
Mail list logo