[PHP] Re: LDAP

2007-08-21 Thread Colin Guthrie
Alain Roger wrote: Hi, I have a stupid issue with ldap_connect. i've reinstalled PHP, postgreSQL and restore my data (web files) after reinstalling my PC. now, when i try : $ds = ldap_connect($ldaphost, $ldapport) or die(Could not connect to $ldaphost); nothing works. i wrote before

Re: [PHP] Re: LDAP

2007-08-21 Thread Alain Roger
I found what was the problem :-( in PHP.ini the Temp directory was not setup the same. i do not know what is the link with LDAP module, but since i updated php.ini, it works correctly. Alain On 8/21/07, Colin Guthrie [EMAIL PROTECTED] wrote: Alain Roger wrote: Hi, I have a stupid issue

[PHP] Re: LDAP, PHP and MS Active Directory

2005-08-18 Thread Mark Rees
Hello I am using PHP v5 to write an intranet. The site is hosted on a windows 2000 server running Apache. I want to incorporate some form of Windows authentication to allow or deny access to given resources based on usernames and group membership. I am trying to accomplish this using LDAP.

[PHP] re : ldap problem

2003-06-13 Thread chandrakant Reddy
Hi The proto type is not correct. array ldap_get_values(link_identifier , result_entry_identifier, string attribute); ^ try this 1) connect 2) bind 3) search 4) get_entries // this the step you are missing 5) get_values regards CVR Can anyone tell me what

Re: [PHP] Re: LDAP (NDS) authentication example...

2002-09-22 Thread Stig Venaas
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

Re: [PHP] Re: LDAP (NDS) authentication example...

2002-09-11 Thread joshua
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 test your user's username/password by using it to attempt a

Re: [PHP] Re: LDAP (NDS) authentication example...

2002-09-10 Thread Richard Whittaker
If on the other hand you actually want to retrieve data from your LDAP system then i suggest reading the manual. it's not actually a lot harder that connecting to RDBMS. I managed to get a working script straight off the manual page. http://www.php.net/manual/en/ref.ldap.php Unfortunately,

[PHP] Re: LDAP (NDS) authentication example...

2002-09-09 Thread joshua
Hi Richard If you're using Apache I'd recommend using .htaccess files that way there is no php needed. AuthName Your Directory Service - Authentication AuthType basic AuthLDAP on AuthLDAPServer ldap://ldap.yourdomain.com/ AuthLDAPBase ou=Your Division, ou=Staff, o=Your Company, c=US require

[PHP] Re: LDAP enabled

2001-11-28 Thread Chris Seymour
Answered my own question. Thanks anyway. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] Re: LDAP compile problem.

2001-07-18 Thread Jeremy Maziarz
Johan, As the PHP documentation points out in Function Reference: LDAP functions: ...You will need to get and compile LDAP client libraries from either the University of Michigan ldap-3.3 package or the Netscape Directory SDK 3.0. You will also need to recompile PHP with LDAP support enabled