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.
phpldapadmin
69
questions
0
votes
0
answers
32
views
How to synchronize OpenLDAP user to AD LDS or AD with SHA password
We now use OpenLDAP to manage our users. However, there are some applications that can only connect to AD or AD LDS, such as IBM DOORS. We write a synchronization module with PHP to synchronize ...
0
votes
1
answer
85
views
How to display user's name ("Last, First" (sn, givenname) or "Common" (cn)) instead of their user name (uid) in the list of user accounts?
When I login to phpLDAPadmin, the list of users on the left are listed by their uid attribute, for example:
⭐ Create new entry here
🧑 uid=<uid1>
🧑 uid=<uid2>
[...]
🧑 uid=<uidN>
⭐ ...
0
votes
0
answers
24
views
High number of ldap queries when unfolding some "ou" in phpldapadmin
I use phpldapadmin (1.2.6.3) with an openldap backend (2.5.13) on debian 12. I sometime browse large parts of the tree, e.g. clicking on the "+" button in the tree to unfold ou=people. I ...
0
votes
0
answers
22
views
Extending a template by inherit from a base one
I have an LDAP schema objectClass that extends "inetOrgPerson" by just one extra attribute (mailAlternate), which works OK in openldap. Now would like to do the same with the corresponding ...
0
votes
1
answer
170
views
phpldapadmin - loop - GET /index.php HTTP/1.1" 302
GET page index.php loop. HTTP code 302.
I've identified the part of the code that causes this loop.
File: /usr/share/phpldapadmin/lib (line 177). $_SESSION[APPCONFIG]) is null.
Do you have an idea ? ...
0
votes
0
answers
54
views
PLA v2 : Specify BIND Account
Currently I’m using the docker image in order to test the functionality of PLA V2 beta on our test environment. I would like to specify a BIND account for PLA, as anonymous binds have been disabled on ...
0
votes
1
answer
422
views
In OpenLDAP (Slapd), how do I give users permission to search which groups they're a member of?
Currently, only my admin user is allowed to search what group a particular user is in.
If I have the following user:
dn: uid=tester,ou=people,dc=example,dc=com
cn: tester
displayName: tester
...
1
vote
1
answer
80
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 ...
2
votes
0
answers
1k
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
932
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 ...
0
votes
1
answer
578
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
933
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
637
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
233
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
1k
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
217
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 ...
3
votes
1
answer
1k
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
281
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 ...
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
1k
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 ...
-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
vote
0
answers
973
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 ...
0
votes
1
answer
238
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 ...
1
vote
3
answers
3k
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 ...
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 ...
5
votes
2
answers
23k
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
936
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/...
0
votes
0
answers
54
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
...
1
vote
1
answer
3k
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
320
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 ...
0
votes
1
answer
487
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: ...
2
votes
0
answers
211
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 ...
0
votes
1
answer
918
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=...
0
votes
1
answer
587
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'...
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
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 ...
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 ...
1
vote
2
answers
4k
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 ...
0
votes
1
answer
747
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 ...
1
vote
2
answers
3k
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
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
...
0
votes
1
answer
666
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 ...
11
votes
2
answers
15k
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/...
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 ...
1
vote
0
answers
344
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?...
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 ...