Questions tagged [slapd]

for questions related to SLAPD, a Standalone LDAP Daemon, a predecessor of the modern LDAP protocol

The SLAPD (Standalone LDAP Daemon) and SLURPD (Stand-alone LDAP update replication daemon) originally evolved within the long-running project that developed the LDAP protocol.

Today, many LDAP Server Implementations are derived from the same code base of the original SLAPD and/or evolutions of it.

Reference

https://en.wikipedia.org/wiki/Slapd

35 questions
10
votes
1 answer

ldap_modify: Other (e.g., implementation specific) error (80)

I followed RHEL7: Configure a LDAP directory service for user connection to configure openldap on CentOS Linux release 7. First I create the /etc/openldap/changes.ldif file and paste the content with replacing the password of course with the…
D. Nicolas
  • 129
  • 1
  • 1
  • 6
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
3
votes
0 answers

Systems start for slapd failed and timeout

I try to install openldap(v2.4.44) using puppet agent --test in a Centos 7 environment and received this error Error: Systems start for slapd failed! journalctl log for slapd: systemd[1]: Starting OpenLDAP Server Daemon... runuser[110317]:…
hlzhlm
  • 43
  • 5
2
votes
0 answers

How to use openLDAP and slapd proxy to authenticate with Active Directory without using the deprecate slapd.conf

I have a Linux based app which using openLDAP to communicate with slapd to retrieve authorization data and I'd like to get authentication working using a connection to Active Directory. The examples I've seen are all related to using the slapd…
Tim Wilt
  • 21
  • 1
2
votes
0 answers

How to create a ldap test server with python?

I want to create a ldap test server with python and import all data with a ldif file. import ldap import slapdtest with slapdtest.SlapdObject() as server: server.start() with open('ldap_dump.ldif') as fd: server.ldapadd(fd.read(),…
ikreb
  • 2,133
  • 1
  • 16
  • 35
2
votes
1 answer

Fixing multiple slap_global_control: unrecognized control: in syslog

On a debian 8 server which uses LDAP for user authentification (slapd, libpam-ldapd and nslcd are installed) I get following message in syslog, multiple times, each time the system needs to lookup user information in LDAP (like typing id [username],…
Javaguy
  • 33
  • 1
  • 6
2
votes
1 answer

How can I restore ldap database with a ldif file?

I have an ldif file. I created it with this command: kill -INT `cat /usr/local/var/run/slapd.pid` slapcat -v -f /usr/local/etc/openldap/slapd.conf -l /usr/local/etc/openldap_backup/backup.`date +'%m-%d-%Y'`.ldif And, I try to restore ldap database…
1
vote
1 answer

openldap service not starting when using ARGON2 password scheme

The ARGON2 password scheme is working successfully, but whenever I start/restart slapd it fails to recognize ARGON2 scheme. Output of journalctl -xeu slapd.service: Jun 23 17:21:53 mail slapd[3932159]: olcPasswordHash: value #0:
1
vote
1 answer

How to add OU in LDAP?

I have done LDAP setup on ubuntu, using apt install slapd ldap-utils after doing all setup/configuration, added one test user also and here I get: $ ldapsearch -x -b "dc=param,dc=co,dc=in" # extended LDIF # # LDAPv3 # base
Nagesh Mhapadi
  • 152
  • 3
  • 14
1
vote
0 answers

How to install otp authenticator. on OpenLDAP server?

I have setup OpenLDAP server for ldap authentication, have referred following doc for openldap installation : https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-openldap-and-phpldapadmin-on-ubuntu-16-04 slapd -V @(#)…
Pooja
  • 481
  • 1
  • 8
  • 15
0
votes
1 answer

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 objectClass: inetOrgPerson objectClass: top sn:…
0
votes
0 answers

Is there a way to enable seeing the latest logs for Slapd when I use "service slapd status"

I have two different Linux operating systems that each have their own Slapd configuration, and one of them has a feature that I'd also like to have in the other, but I'm unsure how to get it. When I execute the service slapd status command on my…
0
votes
0 answers

How do I configure slapd so that users can bind with their username instead of their DN?

I've set up slapd and created some basic Users and Groups. In my code (.NET 7.0), I'm able to bind to the slapd LDAP server with a user named test as follows: string userDN = "cn=test,ou=DepartmentOne,dc=example,dc=com", userPassword = "test"; var…
0
votes
0 answers

What are all the certificates mandatory to be provide while setting TLSVerifyClient option to demand

In my case, I had set TLSVerifyClient to demand. I couldn't be able to establish a connection While providing TLSCACertificateFile alone. While setting the TLSVerifyClient option demand is it mandatory to provide the following…
0
votes
2 answers

How to succesfully connect with DirectoryEntry in C# to a localhost LDAP domain?

I'm running Ubuntu on Windows via WSL in a CLI, and I've configured LDAP (OpenLDAP: slapd) on Ubuntu as follows: BASE dc=example,dc=com URI ldap://localhost When I run on the following command on Ubuntu, it shows me the structure of the…
1
2 3