You are here: Re: ldap authentication error « All PHP « IT news, forums, messages
Re: ldap authentication error

Posted by Daniel Tryba on 09/28/86 11:16

In comp.lang.php R.Smits <R.Smits@io.tudelft.nl> wrote:
> Warning: ldap_bind() expects parameter 1 to be resource, null given in
> home/user1/cgibin/test.php on line 10
>
> Does anyone knows what this means.

Simple, the first argument in your call of ldap_bind had the value NULL,
it should be a resource instead.

> This is the code :
>
> $bind = ldap_bind($ds ,"cn=user,o=company","password");

Where does $ds get it's value?

FUP to comp.lang.php

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация