Questions tagged [phpldapadmin]

phpLDAPadmin (also known as PLA) is a web-based LDAP client. It provides easy, anywhere-accessible, multi-language administration for your LDAP server.

Filter by
Sorted by
Tagged with
0 votes
0 answers
71 views

phpldapadmin ERR_TOO_MANY_REDIRECTS

Using the downloaded release version 1.2.6.4 (.tar.gz) of phpLDAPadmin causes NGINX to do too many redirects.May I ask how to solve this problem, I can visit normally with httpd, but not with nginx. ...
1 vote
1 answer
35 views

ldapadd auto generated comments contain broken characters

I have an issue with an ldap entry. I try to create a dn such as : dn: ou=élèves,ou=1A,ou=Classes,ou=Personnes,dc=ldap,dc=ecoleplurielle,dc=local as I have utf-8 characters in ou=élèves I translate ...
  • 11
2 votes
0 answers
261 views

phpldapadmin not working correctly on Ubuntu 22.04

I upgraded to the next Ubuntu LTS 22.04 and phpldapadmin doesn't seem to function correctly now. Before the upgrade, I could login with the admin account (cn=admin,dc=xxx,dc=local) and have full ...
0 votes
0 answers
24 views

phpLDAPadmin returning another tree instead of edit window

I just installed phpLDAPadmin on a test server and a production server. The instance on the test server tells me that it can't start TLS but it works fine otherwise so I'm ignoring the error. The ...
  • 3
0 votes
0 answers
397 views

ldap search for unique members returning all uniqueMembers

I have a group that has a large number of uniqueMembers, i am trying to search that group for a specific member but it returns all members which results in a long wait for the search to finish. This ...
  • 305
0 votes
1 answer
395 views

Debian 11 LXC Container - Not all packages from "apt" avaible

I have a proxmox installation and created a Debian 11 lxc container to install an LDAP server. I want to install "phpldapadmin" with "apt install phpldapadmin". Error: Could not ...
1 vote
0 answers
592 views

Cannot display phpLDAPadmin login form

Trying to install phpLDAPadmin 1.2.5 from https://github.com/leenooks/phpLDAPadmin.git but running into an issue. On the one hand it seems to have installed (at least partly) correct, because from an ...
0 votes
0 answers
433 views

How to determine what version TLS security protocol is register in OpenLdap

I am using the openLDAP. How do I determine what type of TLS version (TLSv1.0/TLSv1.1/TLSv1.2) is using in LDAP? or which configuration file it is mentioned the TLS version?
1 vote
0 answers
137 views

Custom user creation template onchange not working

I'm trying to create a custom new user template that includes all the object classes and fields that I need, but for some reason, the onchange autoFills have all stopped working. I have no issue with ...
0 votes
1 answer
804 views

How can I enter an already hashed password in OpenLDAP with phpLDAPadmin?

I set up a small OpenLDAP server with phpLDAPadmin to manage our users for multiple services. Unfortunately, I have not found a template with which users can enter/register themselves in the LDAP (but ...
0 votes
0 answers
102 views

How to check the number of days when the last time the user was bound to LDAP

I have a project that adds user profile to LDAP Server. This LDAP server is being used by other web system for their login authentication. I have this new requirement that should count the days ...
  • 521
3 votes
1 answer
775 views

Can not connect to server via ldaps using Let's Encrypt certificates

I set up an OpenLDAP server using this docker image: https://github.com/osixia/docker-openldap For TLS support I used Let's Encrypt certificates following this: https://serverfault.com/questions/...
0 votes
0 answers
222 views

How to write LDAP policy for existing/new users

I have configured LDAP client and LDAP server on ubuntu 18.04 server, and I can successfully create user and groups etc on LDAP server using phpLDAPadmin, but I want to create customized policies ...
0 votes
1 answer
2k views

How to get the Organization and OU of a user in LDAP

I am trying to query the group a user belongs to in LDAP. This is the structure of my directory. What I need to achieve is to get the group the user belongs to. So here, I am expecting to get Group ...
  • 521
1 vote
1 answer
2k views

Why does "php --version" return "Segmentation fault (core dumped)" after installing phpLDAPadmin?

I'm running Apache 2.4 on FreeBSD (FAMP stack) and had Wordpress successfully hosting a website. However I recently tried to install phpLDAPadmin in order to manage an LDAP server and now whenever ...
-2 votes
1 answer
958 views

How to encrypt(MD5) password in python-ldap?

The code below is working fine when saving, but if I tried to authenticate the user using the plain saved password it doesn't authenticate? and when I manually change the password in phpldapadmin to ...
  • 37
-1 votes
1 answer
1k views

Why does phpldapadmin shows code in browser?

I am trying to set up a RADIUS server for WiFi authentication. I have successfully set up Freeradius, and am trying to create an OpenLDAP directory to add users via phpldapadmin, however, I can’t seem ...
  • 1
1 vote
0 answers
759 views

How to create a new domain-component - openLDAP

All of the examples and documentation I've been perusing always uses ou=groups. Due to a desire for greater flexibility (such as renaming groups), I would like to make groups (an all other top levels ...
  • 17
0 votes
1 answer
225 views

What is the procedure to authenticate multitenant application using WSO2 Server token Procedure

I have the MultiTenant web application that internally using different services and Restapi Service and login purpose username and password validation using WSO2IS and LDAP.LDAP is configured with ...
  • 965
1 vote
3 answers
2k views

Docker nginx proxy, open ldap and phpldapadmin - unable to access ldap admin through nginx

I think that I have misconfiguration issue in my environment, and I would like to hear your opinions about it. Advice or help to solve it would be more than welcome. Description: I have problem with ...
  • 11
0 votes
1 answer
2k views

Error in phpldapadmin on Ubuntu 18.04 "Fatal error: Cannot redeclare password_hash() in ...../lib/functions.php on line 2236"

Until writing this question, there is no entry for "Php LDAP Admin" on the Ubuntu 18.04 repositories. I had to install and deploy it manually as a php program. I did this, but unfortunately, I faced ...
  • 153
5 votes
2 answers
21k views

Cant create new entry. PHPLDAPADMIN

I just installed LDAP and PHPLDAPADMIN.Its work fine but when I want Create new entry page just refresh and nothing happend.There are a few errors: Unrecognized error number: 8192: Function ...
0 votes
1 answer
779 views

I am trying to install openldap on centos 7 but getting error while checking configurationslaptest -u

i am trying to run the following command [root@ldap cn=config]# slaptest -u And the following exception is thrown 5a716d94 ldif_read_file: checksum error on "/etc/openldap/slapd.d/cn=config/...
  • 11
0 votes
0 answers
48 views

Having attributetype in new objectclass with

I am new to LDAP, I have created a new objectclass as below: attributetype ( 1.3.6.1.4.1.42.2.27.4.1.7 NAME 'functions' DESC 'Admin functions' EQUALITY caseExactIA5Match ...
  • 65
1 vote
1 answer
2k views

How to create LDAP aliases in Openldap and Phpldapadmin?

I am trying to do this example with an email field : https://coderwall.com/p/c0w6-q/create-ldap-aliases-in-openldap This is the .ldif that should create both : # this is the user dn: uid=aka,c=...
0 votes
1 answer
197 views

OpenLDAP CLI Authentication failed

I have a OpenLDAP Server running on my Ubuntu 16.04 machine. I also installed PhpLDAPAdmin, the PHPLdapAdmin works fine and I can authenticate. Also if I run for example at the CLI ldapsearch it works ...
user avatar
0 votes
1 answer
360 views

Tell OpenLdap to use already encrypted pw

I'm new to Ldap and try to import all my User. I try to add a Person like this: dn: cn=Thomas Bendler,ou=Development,o=selflinux,dc=selflinux,dc=de objectclass: top objectclass: person objectclass: ...
  • 83
2 votes
0 answers
171 views

How to develop a phplapadmin custom page

I'm customizing a phpLdapAdmin web site and I need to create a new settings page where users will change various configuration values inside the config.php file. The page will not read or change any ...
  • 1,413
0 votes
1 answer
806 views

Where to find data from phpldapadmin in ldapserver in ubuntu

I am using ldap server in Ubuntu. From phpldapadmin I created a new entry. In ldap server I can see all my created data when i use command $ ldapsearch -x: # leja, example, people, ldap.com dn: cn=...
  • 847
0 votes
1 answer
400 views

Struggling with OpenLDAP configuration (on AWS EC2)

I've been configurating a LDAP server on a linux instance using AWS EC2. Up to now, I successfully set up LDAP and phpLDAPadmin to work together. I've created Users and Groups "Organisation Units". I'...
  • 2,975
0 votes
0 answers
2k views

phpLDAPadmin: managing permissions

I'm developping a LDAP authentification server and I want to provide access to my users to a phpLDAPadmin panel. Let's say that I have my LDAP with following structure: admin ROOT ...
  • 2,975
2 votes
2 answers
2k views

How can I create multiple contacts in LDAP with the same email address?

I installed LDAP and phpLDAPadmin following this tutorial, and so far it is working. Now I am trying to create an entry in the address book with a duplicate email address. I'm trying to set up ...
1 vote
1 answer
2k views

How to create a user with POSIX login ability in OpenLDAP via PHP?

The following method is used to create a user with POSIX login ability in the OpenLDAP database. Users having the account created by the following method can login any of the OpenLDAP client linux ...
  • 4,295
0 votes
1 answer
4k views

How to change phpldapadmin default port?

I am installing phpldapadmin in CentOS 6.5,the login address is: http://localhost/phpldapadmin The problem is the 80 port have been used by another program.So I need to modify the port,but how to? I ...
  • 23.6k
1 vote
2 answers
3k views

Warning: ldap_add(): Add: Object class violation

Over the past few days I've been trying to learn more about ldap, and I would now like to be able to create a new account on my phpldapadmin server from a webform. I have the values being passed back ...
  • 571
0 votes
1 answer
708 views

Password field(s) not rendering in phpldapadmin

I tried setting up LDAP in a VM running on Ubuntu 14.04, and I also tried installing phpldapadmin. Now, I can access phpldapadmin, but when I try to create a new user account, it gives me this error: ...
0 votes
3 answers
2k views

connecting openldap with phpldapadmin

I have 3 servers meant for openldap, phpldapadmin and client access. i have done phpldapadmin installation and i can access it through server 3 in browser http://example.local/ldapadmin and in server ...
  • 3,000
1 vote
2 answers
2k views

LDAP multiple structural objectclasses

I am quite new in administering LDAP, but I have come quite far... On my OpenLDAP server I am using phpLDAPadmin to do the following: I have an entry with a structural objectclass account because I ...
  • 1,086
1 vote
1 answer
2k views

php ldap connection function issue

I use ubuntu server and installed default LAMP package I run ldap query with php however I get following error message ; Fatal error: Uncaught Error: Call to undefined function ldap_connect() in ...
  • 33
0 votes
1 answer
549 views

Unable to connect my ohp application to Openldap server with ldap_connect() , return ressource id#2

I'v installed Openldap in Ubuntu 14.04 and i'v also installed phpldapadmin everything looks fine until this step , but when i try to connect my php application with this script i have the same ...
  • 13
11 votes
2 answers
13k views

Forbidden location when using alias in nginx for relative urls

I am trying to set up roundcube / phpldapadmin / ... with Nginx on relative urls, e.g.: example.com/roundcube example.com/phpldapadmin The source are in the following folders: /var/www/roundcube /usr/...
  • 36.1k
2 votes
1 answer
5k views

How can I add memberof attribute to ldap user via phpldapadmin

I am using openldap to create a simple user and simple group. dn: cn=User2 Engineer,ou=users,dc=example,dc=net cn: User2 Engineer gidnumber: 501 givenname: User2 homedirectory: /home/users/u2engineer ...
0 votes
0 answers
1k views

Can't get php5-ldap module to be enabled

I have installed php5-ldap module in ubuntu and running dpkg -l|grep ldap shows ldap-utils 2.4.28-1.1ubuntu4.6 OpenLDAP utilities ii libaprutil1-ldap ...
  • 111
1 vote
0 answers
286 views

PHP LDAP admin doesn't create users on the OS

I am using phpldapadmin on Ubuntu. I can create user and groups on the web interface, but then I don't see new users created on the OS. Is the web interface linked with the internal os user database?...
  • 4,328
1 vote
0 answers
2k views

Phpldapadmin error = This base cannot be created with PLA

I am currently trying to install and configure an OpenLDAP server on a CentOS 7 VM. I have been following this video and I am stuck at the moment. The part I am stuck in is when I get the following ...
2 votes
2 answers
3k views

php ldap get all(recursive) activedirectory users in a node

I have an active directory here how it looks: Now I post a group name to ldap function and wants to get all users under this group.. I run this: ldap_search($ldap_con, "DC=Company,DC=Intra", "(&...
user avatar
1 vote
1 answer
564 views

Whats is the LDAP Authentication best practice?

I want to know the best practice for authenticating users using OpenLDAP. I could perform a search using the cn. But then what if I got multiple hits with similar cn (under different ancestors of ...
  • 2,961
0 votes
1 answer
838 views

Error in creating new entry in Active Directory using ldap_add() in php

I am trying to create a new user in Active Directory using php by the following codes: $server = "ldaps://172.16.0.2"; $user = 'someuser'.'@domain.com'; //admin user $psw = "somepassword"; //...
  • 5,106
2 votes
0 answers
299 views

Using ldap memberof in phpldapadmin

Unless im not using it properly which is probable, but I am using ldap query clause member-of to find members of a group ou here is the code below: ldap_set_option($conn,LDAP_OPT_PROTOCOL_VERSION,3);...
  • 89
0 votes
0 answers
2k views

phpldapadmin expand users list produces error

When hitting the + symbol next to users after logging into ldapphpadmin the error There was a problem with the request is produced and, in the log, the error PHP Fatal error: Allowed memory size ...