Questions tagged [openldap]

OpenLDAP is an open source implementation of the Lightweight Directory Access Protocol (LDAP).

OpenLDAP is an open source implementation of the Lightweight Directory Access Protocol.

The suite includes:

  • slapd - stand-alone LDAP daemon (server)
  • libraries implementing the LDAP protocol, and
  • utilities, tools, and sample clients.

Resources:

1803 questions
4
votes
2 answers

Migrating users from Keycloak to LDAP with passwords intact

We currently have a Keycloak realm where we want to export all existing users into LDAP (with their passwords intact), so we can add login support for other locations that don't support OpenID Connect or SAML, but do support LDAP. Given that…
Kim A.
  • 131
  • 1
  • 6
4
votes
0 answers

Unable to modify openLDAP as a group user

I am using LAM as an interface for openLDAP. I am able to log in using the admin account I created in the config, but I am looking to allow other users to log in. To this end, I am trying to create ACL's to permit a group (or even individuals!) to…
James Korden
  • 724
  • 4
  • 19
4
votes
1 answer

Grails OpenLDAP login failed: Sorry, we were not able to find a user with that username and password

I am trying to add a Ldap login to my grails app. after adding the spring-secutiry-core and spring-security-ldap (2.0.1) plugin, i added configuration in config.groovy: grails.plugin.springsecurity.providerNames =…
alchn
  • 327
  • 1
  • 5
  • 16
4
votes
0 answers

php-ldap PHP 7.2 - Centos 7

I try to install PHP 7.2 LDAP in Centos 7 with yum install php-ldap i also has uncomment extension=ldap.so in php.ini but ldap still has no longer in phpInfo. Anyone help? i use apache.
4
votes
1 answer

How to activate "ppolicy" module in OpenLDAP?

I trie to activate ppolicy module in OpenLDAP. OS Version : Debian 8.4 LDAP Version: @(#) $OpenLDAP: slapd (Jan 16 2016 23:00:08) $root@chimera: /tmp/buildd/openldap-2.4.40+dfsg/debian/build/servers/slap I have the next message: #…
Fandura
  • 39
  • 1
  • 3
4
votes
0 answers

Centos7: python-ldap installation with pip

I have asked this question before and was solved by gcc installation but I am currently migrating the app to production machine. I have installed gcc, python-devel, openssl-devel, kernel-devel, openldap-devel, I even tried yum groupinstall…
JMY
  • 57
  • 1
  • 7
4
votes
1 answer

Testing LDAP Connections to Active Directory Server

I'm writing a Linux application that accesses a LDAP server (currently OpenLDAP). I would like to also test the application with an Active Directory server since that might be used in production. Is there any free demo or trial version from…
Gene Vincent
  • 5,237
  • 9
  • 50
  • 86
4
votes
1 answer

I need to find out disabled users from ldap

I am trying to find out whether a user is disabled in ldap using ldapsearch utility but I have been unsuccessful so far. This is what i have got so far ldapsearch -h hostname -D 'Service Account' -b 'basedn' sAMAccountName='disabled user' -w…
user2631587
  • 61
  • 1
  • 2
  • 3
4
votes
2 answers

Django restrict/allow access by groups from ldap

I have Django project that has two apps App1 and App2) each app has only 1 view. . My project connected to openldap using django-auth-ldap. I have two groups(Group1, Group2). I Added decorators before my views in app1 and app2 (@login_required) and…
Eyla
  • 5,751
  • 20
  • 71
  • 116
4
votes
3 answers

Unable to connect to ldap using django-python3-ldap

I am developing django website and I want to use ldap authontation with my application. I am using Django 1.11 to authenticate with the django-python3-ldap. I tested the connection to my ldap using ldapsearch and it was succeeded and I got the…
Eyla
  • 5,751
  • 20
  • 71
  • 116
4
votes
1 answer

Ldap authentication via nginx ingress controller

I was using nginx ingress controller in kubernates where i have used customized nginx template file to have settings for ldap authentication by defining ldap_server directive. At the time of running the nginx ingress controller yaml file,I am…
Sudhir
  • 491
  • 1
  • 7
  • 21
4
votes
2 answers

How to tell Ruby Net/Ldap to ignore server cert hostname mismatch?

I'm setting up a test environment which consists of VM clones of our production servers. I have all the clones behind a single IP (on the hypervisor) and doing NAT (Linux) to access the services in the test environment. I have a DNS record on my…
Koko
  • 459
  • 4
  • 14
4
votes
5 answers

Calling system commands from Perl

In an older version of our code, we called out from Perl to do an LDAP search as follows: # Pass the base DN in via the ldapsearch-specific environment variable # (rather than as the "-b" paramater) to avoid problems of shell # interpretation of…
Dan J
  • 25,433
  • 17
  • 100
  • 173
4
votes
0 answers

How to set `uidNumber` Unique and Auto Increment for Posix Account Creation in OpenLDAP via PHP?

According to this, I know that : A user ID (UID) is a unique positive integer assigned by a Unix-like operating system to each user. Each user is identified to the system by its UID. When we create a Posix Account user via PHP, we need to set up…
Casper
  • 4,435
  • 10
  • 41
  • 72
4
votes
1 answer

what does objetclass=posixAccount mean in LDAP?

I am trying to take a group from LDAP and integrate it with a group in JIRA. Can someone explain to me what does objetclass=posixAccount mean in LDAP? What objectClass and posixAccount mean over here? Is posixAccount something in LDAP?…
Tayyab Bashir
  • 111
  • 3
  • 15