[PHP] LDAP, SSL and Active Directory (W2K)

2002-06-10 Thread Andres Petralli

Hi NG Users,

I'm implementing some php 4.2.x code to manipulate Microsofts AD. I have already 
set-up the domain controller to handle LDAP over SSL (Port 636) and it looks like it 
is working, at least I can download a certificate when I browse the server with HTTPS.

The problem now is to get the certificate into php. Does anyone have some clues how to 
manage this? Basically, what I'm trying to do is to build a web-frontend to change 
passwords for AD accounts. I wouldn't like to re-invent the wheel, so I'd really 
appreciate if someone could post some code samples. 

Also, if somebody already knows about some working ASP (VB) code, that would also be 
very much appreciated. Anyway, it would be important to at least be able to 
authenticate users agains AD with php, what probably means that I still have to set-up 
a PHP/LDAP over a SSL connection to AD. If anyone knows how to get a certificate into 
PHP, so that it is possible to connect with something like this 

$ds = ldap_connect("ldaps://servername:636");

that would be really great.

I've been browsing a lot on the web now and I really have tried almost any search 
combinations with google and other search engines, but I couldn't find any usefull 
docs on this topic. There are many people looking into this issue, but finally most of 
them seem to fail when it comes to connect to AD over SSL. If someone here has 
experience in this field, I think he could do a favour to lots of developers, since it 
looks like this is a major problem when it comes to interoperability between Win2k and 
common Unix systems. Should I be successful in my research, I really would be willing 
to write a decent documentation about this, so that others wont have to waste so much 
time again, like others did on this topic.

Kind regards to everyone,


Andres


-- 
Andres Petralli, Arpanet AG
Steinengraben 18, 4002 Basel, Switzerland
Tel: +41 (0)61 276 96 60, Fax: +41 (0)61 276 96 66
http://www.arpanet.ch/
PGP: CDD7 E772 D14B 407A 4343  6901 74A5 A74D AE98 6BE4  

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[PHP] Unofficial Cobalt PHP 4.1.2 PKG available

2002-03-01 Thread Andres Petralli

Hi Everyone,

I was urged to compile a new php 4.1.2. module to fix that security bug
in earlier versions for our Cobalt RaQ servers. I made a nice *.pkg file
which everyone can get on
ftp://ftp.cobalthosting.ch/pub/optional/RaQ3-PHP-4.1.2-1.pkg  should
anyone be interested in it.


BE AWARE, THIS IS NO OFFICIAL COBALT PKG. NO WARRANTY IS GIVEN BY
ANYONE!


If anyone would like to install it on their system, just go on, but I
will not give any warranty on that PKG. Should you find something wrong
with the package, please write to me personally at
a.petralli@arpanet..ch . I will be commited to fix any
bugs and post new versions of the pkg to the ftp server.

The package expects an updated system, up to the latest kernel upgrade.
It comes with the following libraries and functions:

- expat XML
- GD 1.8.4 für WBMP, PNG, JPEG, kein GIF Support
- Freetype 2
- PDFLib
- LDAP
- IMAP4
- MySQL
- PostgresSQL
- Zlib
- T1Lib
- FTP Support
- Sockets Support
- PCRE

Also let me know, if you liked the package, should you use it...

Greets,

Andres

-- 
Andres Petralli, Arpanet AG
Steinengraben 18, 4002 Basel, Switzerland
Tel: +41 (0)61 276 96 60, Fax: +41 (0)61 276 96 66
http://www.arpanet.ch/
PGP: CDD7 E772 D14B 407A 4343  6901 74A5 A74D AE98 6BE4  

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




AW: [PHP] Apache

2002-03-21 Thread Andres Petralli

Here's the solution, quick and dirty:

You must have "Options Indexes" somewhere in your Apache conf files.
Remove the Expression "Indexes" from there and no more lists should be
generated. Maybe it's also "Options ALL", then just limit the options to
what you need.

Greets,

Andres

> -Ursprüngliche Nachricht-
> Von: jtjohnston [mailto:[EMAIL PROTECTED]]
> Gesendet: Donnerstag, 21. März 2002 09:14
> An: [EMAIL PROTECTED]
> Betreff: [PHP] Apache
> 
> 
> Anyone know of a good apache group?
> I want to hide the structure of a directory when there is no idex.html
> present 
> 
> J
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php