Questions tagged [openldap]

OpenLDAP Software is a free, open source implementation of the Lightweight Directory Access Protocol (LDAP) developed by the OpenLDAP Project.

Filter by
Sorted by
Tagged with
1 vote
0 answers
14 views

Ldapsearch through ssh tunell

I have four machines A, B, C, D and I would like to use ldapsearch on the first machine through an ssh tunnel over to C with a jump from B to C. Currently ldapsearch on C contacts the ldap server on D,...
user avatar
  • 11
0 votes
0 answers
29 views

Integrating active Directory with Rhel IdM

Has anyone managed to integrate Active directory and Rhel IdM? I read that idm uses active synchronization to integrate user data stored in an Active Directory domain and the user data stored in the ...
user avatar
1 vote
1 answer
127 views

OpenLDAP complains that the fields are not indexed

I am using OpenLDAP (slapd) v2.4.47 on Debian. It complains in the following manner in the logfile (/var/log/debug) slapd[1142]: conn=1508 op=4 SRCH base="cn=persons,cn=internal" scope=2 ...
user avatar
  • 354
0 votes
1 answer
132 views

How can make simple bind the default for ldapsearch?

I have the following in my ~/.ldaprc: uri ldaps://my.corporate.ldap.server.com base DC=corp,DC=companyname,DC=com bindn CN=Ruben,OU=Users,OU=companyname,OU=SE,OU=Resources,DC=corp,DC=companyname,DC=...
user avatar
1 vote
1 answer
1k views

ldapmodify insufficient access (50)

I'm trying to enable logging in an openldap (slapd) server. So I tried to execute: $ ldapmodify -D cn=admin,dc=domain,dc=tld -W -H ldap:/// <<EOF > dn: cn=config > changetype:modify &...
user avatar
  • 68
0 votes
1 answer
143 views

Modify user in openLdap via bash script

Can you please help me put this command into if statement (bash scripting): $ ldapmodify -D -h password: [enter password] dn: cn=vipb,ou=groups,dc=example,dc=com changetype: modify add: memberUid ...
user avatar
0 votes
0 answers
6 views

Raspberry Debian 10 apple.schema openldap "invalid Format"

I am having issues installing the Apple.schema on my PI4 running Debian 10. https://opensource.apple.com/source/OpenLDAP/OpenLDAP-208.5/OpenLDAP/servers/slapd/schema/apple.schema.auto.html I am new ...
user avatar
0 votes
0 answers
18 views

Hashed passwords during migration from ApacheDS to OpenLDAP

Hello, Now I am working on migration from ApachDS to OpenLDAP. last time I connected OpenLDAP with ProFTPd, but it turned out that imported, hashed passwords are badly handled. When I was generating ...
user avatar
0 votes
0 answers
170 views

OPENLDAP - ldapwhoami not working binding securely, but other applications does

I tried adding TLS hard in slapd.conf but it says unknown directive inside backend database definition. Tying by CLI the command ldapwhoami.exe -H ldap://myldap.company.com -v -D "uid=dds,ou=...
user avatar
  • 671
0 votes
2 answers
344 views

How to get second value of multi value ldap attribute

We have ldap attribute name "mail" , which have multiple values like mail: user1@exmaple.com mail: user1@demosite.com Now I am looking for the query which will return result only second ...
user avatar
0 votes
1 answer
435 views

How to remove a OpenLDAP ACL?

I accidentally created a bad ACL. I’m aware of the manner in which to update the ACL but the truth is I don’t need it any more. When updating it looks like I accidentally created new ACLs vs modifying ...
user avatar
  • 101
1 vote
0 answers
24 views

phpldapadmin not authenticating ldap service

I am getting the above error message I pretty sure I am giving correct Login DN and password I want to know how can I troubleshoot and inspect what is going wrong where both the containers are ...
user avatar
0 votes
0 answers
49 views

slapd does not start after reinstallation

I am fighting the third day with OpenLDAP to add the first organizational unit. I decided to start over and delete all my attempts: systemctl stop slapd systemctl disable slapd yum -y remove openldap-...
user avatar
0 votes
0 answers
165 views

getent group correct but id not

How on earth can this be possible? # getent group mailuser mailuser:*:37103:admin,pinguin,testuser # id testuser uid=46944(testuser) gid=100(users) Gruppen=2399(datas),100(users) # Yes, users/groups ...
user avatar
  • 565
0 votes
1 answer
49 views

When I use ldapadd I get a response with possible options. How can I fix this?

sudo ldapadd -x -D cn=Manager, dc=localhost,dc=localdomain -W -f /home/liveuser/basedomain.ldif Is the code that I type into Fedora31 terminal and the response that I get back is jsut all the ...
user avatar
0 votes
1 answer
32 views

How can I set my password in OpenLDAP?

I have installed OpenLDAP in 192.168.0.2 (CentOS), and used LDAP Admin to copy People and Group form another OpenLDAP server (192.168.0.1), People in 192.168.0.1 has a password, but in 192.168.0.2, ...
user avatar
0 votes
2 answers
40 views

Samba+LDAP - Diagnosing Problems (Access Denied)

I really need some help because I can't identify what's going on... I'm pretty lost here... =| PROBLEM: I have a server "server_a" with a directory "group_a_folder" ("/srv/...
user avatar
1 vote
0 answers
40 views

Migrate debian login from ldap to local login

we have a debian stretch machine on which the users login by ldap. Since we want to shut down our ldap server(not used anymore except by this single machine), i have to search for a way to migrate the ...
user avatar
-3 votes
1 answer
462 views

"cat" results in No Such File or Directory

I'm really flying blind here trying to use both Linux and OpenLDAP for the first time ever. My ultimate goal here is to connect to an OpenLDAP server from within a C# console app and to authenticate ...
user avatar
0 votes
0 answers
22 views

Unable to access few tabs in the openLDAP webui

After logging into the openLDAP WebUI, I am unable to access few of the templates, in the webui they are marked with a cross. How do I enable them?
user avatar
1 vote
1 answer
28 views

OpenLDAP Integration

I have installed an OpenLDAP server on an AWS EC2 Ubuntu 16.04 instance. It's working fine while my client machine is connected to the internet, but whenever I am disconnecting internet from client ...
user avatar
  • 11
0 votes
1 answer
115 views

Dovecot - exclude LDAP locked accounts

I have installed Dovecot with LDAP; everything works fine except that the users I attempted to lock using pwdAccountLockedTime are still able to login. Here is my ldap.conf.ext file: hosts = myldap ...
user avatar
1 vote
0 answers
193 views

OpenLDAP slapadd on a translucent overlay

I have an OpenLDAP database which seems to have one or two corrupt records (probably from machine crashes while update in process). Anyway, whenever anyone or anything access these records slapd ...
user avatar
1 vote
1 answer
1k views

Why won't LDAP client authenticate users

I have followed instructions here: https://computingforgeeks.com/install-and-configure-openldap-phpldapadmin-on-ubuntu-18-04-lts/ and Added users as per https://computingforgeeks.com/how-to-install-...
user avatar
  • 11
1 vote
1 answer
842 views

LDAP setup with two DIT

I am having an openLDAP which is having a database say dc=domain1,dc=com. Now I am trying to add 1 more, dc=domain2,dc=com. Below are the steps, we did to achieve this, [root@host user]# service ...
user avatar
0 votes
1 answer
300 views

How to add new Status attribute to LDAP user objects

I am trying to add a status attribute on LDAP, just like Active directory in Windows, so I can enable or disable user using status attribute. anyone can help me how it can be possible on LDAP
user avatar
0 votes
1 answer
410 views

Require both LDAP authentication *and* ssh auth

I would like to enable the following: Linux ec2 instances in AWS that perform LDAP authentication of users who have no home directory currently on the box. I have a working openLDAP in AWS for the ...
user avatar
  • 103
0 votes
1 answer
4k views

Ldap configuration on gitlab error :Could not authenticate you from Ldapmain because "Invalid credentials for username"

I have an issue when I try to connect my LDAP to Gitlab: Could not authenticate you from Ldapmain because "Invalid credentials for username. This is my file conf /etc/gitlab/gitlab.rb : ...
user avatar
0 votes
1 answer
551 views

How to "Require password change at next login" without resetting password

When you reset an user's password in macOS Server.app's Open Directory (I think it's using slapd), you can also check the option Require password change at next login. The question: can you also ...
user avatar
  • 291
0 votes
0 answers
26 views

Deny every action on an organisation unit for a group in phpLDAPadmin (LDAP)

I want to deny every access for a group (group trainees like in my picture) to the organisation unit Ulist in my phpLDAPadmin. How can I do it ? I don't know how to configure a simple access control ...
user avatar
1 vote
1 answer
4k views

openldap TLS failure -- ldap_start_tls: Connect error (-11)

From what I can tell it's a certificate verification issue, but I have no idea why. ~ > ldapsearch -x -ZZ -LLL -H ldap://ldap.dark.kow.is -b dc=dark,dc=kow,dc=is ldap_start_tls: Connect error (-11)...
user avatar
  • 131
0 votes
2 answers
102 views

LDAP the right choice?

So I'm looking for a solution for ssh key authorisation access to numerous servers, and have been pointed towards using LDAP. I wanted to present the use case and see if LDAP would be applicable and ...
user avatar
0 votes
1 answer
324 views

prioritize LDAP when using passwd and group

I have several servers, one of which, say S1, is used as LDAP server. Other servers are configured to authenticate against the LDAP server. When a user is added, I always create a unix user on S1, ...
user avatar
  • 25
1 vote
1 answer
783 views

OpenLDAP's cn=config add separate user for replication of “olcDatabase={0}config,cn=config”

I hope I'm not asking a dumb question. I'm new to creating my own LDAP service. For my regular mdb database it's easy to add multiple administrators. Since it contains an olcSuffix attribute it's ...
user avatar
  • 113
1 vote
0 answers
710 views

How to Set Mac OS X LDAP to Use Remote Home Folder

I have a MacOSX El Capitan machine that uses LDAP for authentication. This part already works and I can log onto the machine with LDAP accounts. I set the NFSHomeDirectory as #/Users/$uid$ which ...
user avatar
  • 111
2 votes
0 answers
594 views

OpenLDAP with TLS AD backend

I'm currently using OpenLDAP as a read-only proxy for an internal Active Directory domain. My main issue is the connection works fine between AD DC and proxy without SSL, it doesn't work with it. My ...
user avatar
  • 51
1 vote
1 answer
2k views

"Error(s) encountered" While Using ldapscripts

Below, I show my OpenLDAP configuration. This is a fresh OpenLDAP installation on a fresh Debian Stretch installation. I am unable to use ldapscripts. Regardless what I do, I get the errors shown at ...
user avatar
  • 839
0 votes
1 answer
7k views

ldap_modify: No such object (32)

I installed OpenLDAP on Centos 7 and tried to create the admin user. But I got some error on ldap_modify. Below are my steps: Install OpenLDAP and start it: sudo yum install openldap openldap-...
user avatar
  • 133
0 votes
1 answer
2k views

slappasswd: symbol lookup error undefined symbol ber_sockbuf_io_udp

I have CentOS 7 (3.10.0-693.el7.x86_64) from Pivotal Greenplum Sandbox VM. I tried to install OpenLDAP: sudo yum install openldap openldap-servers openldap-clients -y But when I run slappasswd -s ...
user avatar
  • 133
0 votes
1 answer
430 views

How can I host a file on a LDAP server, specifically Apache Directory Studio?

I am running Apache Directory Studio on mac os. I am a LDAP rookie. I can't figure out how to host a file on the LDAP server so that when our java service connects to: ldap://localhost:12321/cn=crl1,...
user avatar
0 votes
1 answer
298 views

OpenLDAP TLS vs SSL

I'm experimenting with OpenLDAP replication. I'm using a Docker image: https://github.com/osixia/docker-openldap to spawn a couple of containers that are talking to each other. The default ...
user avatar
  • 383
0 votes
1 answer
203 views

Single-sign-on in DMZ / OpenLDAP

we have a dmz with several https-based services, which users from internal network use although as users from outside. To ensure authentification with the active directory user-credentials, we set up ...
user avatar
1 vote
1 answer
443 views

openldap -- exclude specific attributes from replication

I have two openldap servers replicating cn=config with syncrepl in a provider-consumer relationship. There are a few attributes that I would like to exclude from replication. I see that syncrepl has ...
user avatar
  • 1,181
0 votes
1 answer
10k views

Get all Ldap User list on client with (getent passwd) command

I have open ldap server and client both on centos6. I need all the list of open ldap user on client side in (/etc/passwd)
user avatar
1 vote
0 answers
873 views

FusionDirectory: OpenLDAP with SSL or TLS

I have looked around and found a lot online about how to set up TLS for OpenLDAP. The basic idea is adding the olcTLS items to include cert, key, cacert in cn=config. However, with FusionDirectory, ...
user avatar
2 votes
0 answers
2k views

Trying to configure openldap TLSCipherSuite

I have an openldap server, and I'm trying to tune my TLSCipherSuite settings to be as secure as I can have them. Please do not critique my actual security settings. Please just help me understand ...
user avatar
  • 1,181
2 votes
1 answer
165 views

Struggling with OpenLDAP configuration

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'...
user avatar
  • 135
0 votes
1 answer
3k views

Impossible to connect with ldap

I have an open ldap server : IP : 192.168.0.70 (dell) DIT : (seen through ldapphpadmin) And for patricia duchesne: dn cn=patricia duchesne,ou=users,dc=memorandum,dc=pro cn patricia duchesne ...
user avatar
0 votes
1 answer
463 views

How to authenticate linux users against two different directories simultaneously?

I have a few Linux servers using SSSD integrated with Microsoft AD to authenticate AD users. AD groups are managed by a different department and I'd like to set up another directory to manage my own ...
user avatar
2 votes
1 answer
4k views

Authentication against LDAP on Apache fails with password mismatch

I want to accomplish LDAP authentication on my Linux machine, but can't get it working. Currently, I get the following error in the Apache log: AH01617: user john.doe: authentication failure for "/": ...
user avatar
  • 21