Skip to content
Advertisement

Tag: ldap

PHP not redirecting on Ubuntu Server

I’ve built a website login form on my local Windows machine that works perfectly but when deployed on an Ubuntu web server, the login for redirects to /login.php# Below is the code used – LDAP has been uncommented from the extensions section in php.ini on the Ubuntu server. Is there something Linux specific I’m missing here? Many thanks, Craig Answer

Ldap bind message in Laravel

I have a question. Currently I am working with ldap connection. I have no issue with ldap connection as I am using manual ldap codes. My connection with ldap is success. All seems good when I enter the correct username and password. I have problem when I enter wrong password, the page will show “ErrorException ldap_bind(): Unable to bind to

Symfony Ldap checkPassword

I’m using Symfony 4.4 and I’m doing my own authenticator. Everything works fine, I just can’t figure out how to compare the password entered by the user and the one in Ldap. I would like to do this in …

How to print rows of CSV file with PHP?

Here’s the code that I’m using, but it doesn’t output exactly what I want. Here’s what it outputs currently: In other words, it’s almost as if it’s adding all my CSV data into a multidimensional array… What I want is to just output it as I see it like so: Answer How to parse a CSV file using PHP has

� character from ldap

i am getting some strange characters form ldap server when i search some user info.if value contains turkish characters like ‘ç’ it replaces to ‘�’.in this situatian i convert string to utf-8 than str_replace to fix it.My function is that; But sometimes that causes some problem , so i have to detect if string contains ‘�’ character to fix it.strpos

Can’t connect LDAP server – issue in ldap_bind();

I am tried to implement a LDAP authentication in my web application developed in ZF2. LDAP authentication is working fine in Windows 7. But, after moving the application to LINUX machine, LDAP authentication is not working. I am always getting the error as : Warning: ldap_bind(): Unable to bind to server: Can’t contact LDAP server in LdapConnect.php on line 20

Advertisement