Questions tagged [openldap]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
38 views

How to grep certain attribute from openldap?

I am using openldap and usually I will use command ldapsearch uid=<ldap> + to check certain attribute and by running such command, it will produce full output for example : SASL/EXTERNAL ...
0 votes
0 answers
41 views

OpenLDAP Access handling

I have installed OpenLDAP on Ubuntu Server 20.04. It works fine so far. Now I want to restrict access to the server, as by now anyone can read all entries e.g. in Thunderbird. Therefore I created a ...
0 votes
0 answers
39 views

Creation of a domain on Ubuntu Server with OpenLDAP

I'm trying to create a domain with OpenLDAP on Ubuntu Server on VMware and I did finish all the installation and the creation of my domain. Then I create 2 VM Workstations (one is ubuntu 20.04 and one ...
0 votes
0 answers
371 views

Ubuntu 20.04: Gnome file manager freezes after cifs mount on home directory

as part of a project I need to mount individual cifs-directories from a Samba DC on the home directory of individual users. The login-process authenticates against an OpenLDAP via SSSD and the mount ...
0 votes
1 answer
284 views

How to create LDAP users in bulk on Linux (UBUNTU)

i just install LDAP server on my server and its working fine. now i would like to create 20 users with different names so is there any script to create users in bulk on LDAP server. OS: ubuntu 20.04 ...
  • 43
0 votes
0 answers
171 views

Openldap upgrade from 2.4 to 2.5

we are using Openldap version Version: 2.4.45+dfsg-1ubuntu1.10 how can I upgrade or migrate to 2.5? Thanks
0 votes
1 answer
164 views

Implement openldap server in mirror mode

here is my config on slapd.conf in server01: serverID 1 # database section # syncrepl directive syncrepl rid=002 provider=ldap://192.168.100.193 bindmethod=...
0 votes
1 answer
257 views

Open LDAP installation failed

I have tried this way. sudo apt-get install -y slapd But it is showing error. I am using Ubuntu 20.4.0.2 Reading package lists... Done Building dependency tree Reading state information... ...
0 votes
1 answer
246 views

How to get Active Directory domain name from windows 10 client

I install OpenLDAP as an Active Directory on ubuntu 18.04 and I connect my windows client by pGina. Its work fine but when ping my server ip address it reply but if I ping my host name nad.nassa.lan ...
0 votes
2 answers
1k views

openldap olcTLS* settings fail with ldap_modify: Other (e.g., implementation specific) error (80)

I have a handful of Ubuntu Bionic platforms running openldap with TLS, which have been working perfectly for years (and still are). However, I added a new server recently, using the same install ...
1 vote
1 answer
692 views

Is it still possible to authenticate and authorize 20.04 against an unencrypted LDAP server?

20.04/'Focal Fossa' uses sssd to handle authentication, authorization, and user and group information against LDAP. Nevertheless, sssd does not support authentication over an unencrypted channel. I ...
1 vote
1 answer
2k views

OpenLDAP Trouble Setting TLS Cipher List

My institution wants to configure one of our Ubuntu servers with OpenLDAP in order to interface with our SSO provider, Okta, using a server-side agent they have for provisioning users from their cloud ...
0 votes
1 answer
1k views

Openldap sync not working

I've installed two Ubuntu systems with OpenLdap server and made them replicate data as told in this guide. Replication worked and contextCSN had the same output + I still find original provider ...
  • 129
1 vote
1 answer
428 views

Ubuntu 19.04 as LDAP client

I'm trying to switch our PC from Debian 8 to Ubuntu. The user accounts are on a server and managed via LDAP. But somehow I have problems configuring OpenLDAP on Ubuntu 19.04. For a short history: I ...
0 votes
1 answer
8k views

Error for Phpldapadmin after install in php function

this error occurred after install PhpLdapAdmin in ubuntu 18.04 : Deprecated: Function create_function() is deprecated in /usr/share/phpldapadmin/lib/functions.php on line 1083 & Unrecognized ...
0 votes
1 answer
422 views

Ubuntu 16.04 Build OpenLDAP from source

I want to enable slapd feature --enable-spasswd. So I download OpenLDAP source code from this url. http://mirror.eu.oneandone.net/software/openldap/openldap-release/openldap-2.4.44.tgz Then I run ...
1 vote
0 answers
247 views

Can't delete user from group with ldapdeleteuserfromgroup

I have user accounts with usernames that are numerical (I know Ubuntu doesn't like that, sorry) In this case, I have a username 18000011 who is a member of the group students: ~$ groups 18000011 ...
3 votes
1 answer
4k views

How to set up centralized user authentication on Ubuntu?

I have installed OpenLDAP, and configured some basic users. Next, I want to configure users in my directory to be able to authenticate through my server. I was reading a little about something called ...
  • 121
0 votes
1 answer
1k views

Created LDAP User - not found in terminal

I created my LDAP user in phpldapadmin, and when searching for this user with ldapsearch -x i found the user in my terminal. But when trying to log in to my user, I get an error saying your user does ...
user avatar
0 votes
1 answer
927 views

ldapadd - not working - ubuntu 16.04

How can i use ldapadd from terminal to add a ldapuseraccount? I tried this code, it do not work: ldapadd test
user avatar
2 votes
1 answer
583 views

How do I install "Reentrant POSIX REGEX software"?

I'm in the process of installing OpenLDAP, and the README file states that "Reentrant POSIX REGEX software" is required. Is there a package I can install with apt install to get this?
  • 121
0 votes
0 answers
84 views

I installed smbldap-tools but can't find /usr/share/doc/smbldap-tools/examples

When I try to reinstall the smbldap-tools package the error says that it's impossible to find the source package.
1 vote
1 answer
341 views

Samba4 AD DC for roaming profiles or openLDAP? which is better?

I am looking to create roaming profiles for Ubuntu client machines, about 100 machines are there. 200+ users. Is it better to use Samba4 AD DC or openLDAP ? OR should I use them in conjunction? I ...
  • 9,686
0 votes
0 answers
152 views

Check login and logout openldap userss

I have a server ldap Ubuntu with Xubuntu like clients now I need to audit the times when an user login and logout of one machine. Is there a way to see the information of login and logout from ...
0 votes
1 answer
1k views

StartTLS fail with LDAP mechanism in saslauthd

I upgraded my mail server from Ubuntu 14.04 to 16.04 and now StartTLS does not work anymore with LDAP mechanism in saslauthd. % sudo testsaslauthd -u clement -p bar 0: NO "authentication failed" ...
  • 176
0 votes
1 answer
658 views

sudo and login slow after LDAP server crashed

I'm working with 3 servers, 1 acting as an LDAP server and the other two connecting with clients. The LDAP server has crashed, and I'm able to log in to the other two with local accounts, but when ...
  • 161
0 votes
2 answers
6k views

Open LDAP (slapd) unable to add olcTLSCertificateFile and olcTLSCertificateKeyFile to cn=config

I'm trying to add TLS support to my OpenLDAP instance and according to countless articles i'm supposed to add the following (ldif): dn: cn=config add: oclTLSCACertificateFile olcTLSCACertificateFile: ...
  • 51
9 votes
6 answers
22k views

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

Configuring StartTLS for OpenLDAP. Ubuntu server 16.04 Slapd 2.4.42+dfsg-2ubuntu3.2 I have my own internal Certificate authority that is providing certificates. I have set up certificates and key: ...
  • 111
1 vote
1 answer
10k views

How to unlock a locked user in openldap

We have a user who locked itself by using a faulty password. We have a standard openldap install following the LTS server guide. The locked user has an extra attribute now that it got locked: ...
user avatar
-1 votes
1 answer
3k views

syntax error, unexpected '',' (T_CONSTANT_ENCAPSED_STRING)

I install openldap in Ubuntu server (192.168.56.101) as the instructions given in https://www.unixmen.com/install-openldap-in-ubuntu-15-10-and-debian-8/. Now when I access openldap by using http://...
1 vote
1 answer
2k views

How to renew self-signed CA certificate openldap

On year ago we setup an openldap system based on the following Ubuntu tutorial: https://help.ubuntu.com/lts/serverguide/openldap-server.html Now the CA certificate is expired. TLS is not working ...
user avatar
-1 votes
1 answer
223 views

Authenticate linux client to an openldap server?

ok i am fairly new to linux, i am currently switching careers to be a linux admin instead of windows admin. how exactly do you authenticate an ubuntu server to an openLDAP domain? i have went through ...
2 votes
1 answer
4k views

How to join windows client to ubuntu OpenLDAP domain server

I've configured an OpenLDAP server on my Ubuntu 12.04 server. I also configured a DNS server for domain support. My slapd service is running perfectly and I can see it with my LDAP browser. Using ...
  • 21
0 votes
1 answer
56 views

Is there any way to install slapd in ubuntu with auto-configured TLS?

I have found (as it seems to me) that some case of installing slapd is also configured TLS for a new installed slapd service. But unfortunately I cannot found a distro version (trusty|xenial|...) ...
  • 887
0 votes
1 answer
2k views

How to install OpenLDAP password check module in ubuntu?

We recently installed ppolicy module and the related things in our OpenLDAP instance for password policy, However, among them there was no way to set up something that does a password check whenever ...
0 votes
1 answer
6k views

New LDAP error code 50 - Insufficient Access Rights

I installed a new OpenLDAP in Ubuntu 14.04 (slapd) and export fully LDIF file from an old OpenLDAP on FreeBSD and imported in the new one. Everything is there and works fine. The anonymous search, ...
  • 101
0 votes
1 answer
724 views

LDAP not working properly with LAM and lamdaemon

So me and my team are responsible for administrating computer labs for students back at my university. For that matter, we have an Ubuntu Server 14.04 as a Lightweight Directory Access Protocol (LDAP) ...
13 votes
1 answer
14k views

Error trying to get a non-existent value (appearance, password_hash) in LDAP

I have installed LDAP and phpLDAPadmin on my Ubuntu 14.04 (Trusty Tahr). It is working, and I'm able to access phpLDAPadmin GUI and am also able to create OU and groups using the GUI, but I'm not ...
  • 133
1 vote
2 answers
5k views

unable to locate the packages slapd and slapd-utils

when trying to install slapd and slapd-utils, I receive an error message: unable to locate the packages . I'm using Ubuntu 12.04 and I ran the update and upgrade but no luck. How I can installs ...
1 vote
0 answers
3k views

openldap and samba error

I'm getting an error trying to setup ldap on my ubuntu server with samba. I'm not a linux guru by any means but trying to learn. I've looked on the internet for an answer but havent come up with ...
0 votes
1 answer
5k views

Ubuntu samba file server using ldap

I am quite new to samba. I have an ldap server already setup with users. I am now setting up a new samba file server that they will be accessing through the ldap. Has anyone done this before? I am ...
1 vote
1 answer
951 views

How to upgrade slapd to 2.4.40?

I just found out, that connecting via the LDAP API like this sudo ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b cn=config dn has a bug on Ubuntu 15.04 vivid/openldap-2.4.31. But fortunately, on ...
0 votes
1 answer
3k views

getting an error: relink message when doing a make install for openldap

I'm trying to compile/install OpenLDAP from source on Ubuntu 14.04, ./configure goes well, make goes well too, but when I do amake install I get this: /usr/bin/ld: /usr/lib/libssl.a(s23_meth.o): ...
  • 51
7 votes
5 answers
25k views

Cannot login into new install of OpenLDAP

In Oracle VM Virtualbox I installed a fresh new copy of Ubuntu Server 14.04.1 64 bit version, with OpenSSH installed as well. Steps I done: sudo apt-get install slapd ldap-utils nano /etc/ldap/ldap....
  • 481
1 vote
2 answers
23k views

ldap_bind: Confidentiality required (13)

I want to configure ldap with ssl so I used openssl for certificate and when I enable olcSecurity tls=1 in /etc/ldap/slapd.d/cn=config.ldif and now when I try to use ldapsearch or try to login it ...
2 votes
1 answer
3k views

How do I get openldap password policy to work on 12.04 or 14.04?

I have installed the overlay, set up a default policy, I see in syslog that the policy is being referenced, but it does not seem to be enforced. Specifically, I have been testing out pwdMinLength of ...
  • 21
1 vote
0 answers
101 views

Why does sudo sometimes asks for a different sudo user?

I have all my boxes setup to authenticate against OpenLDAP. When I log on with the local user (localmin) and run a command like sudo service smbd restart it sometimes asks for the password of ...
4 votes
1 answer
3k views

Unable to login Lubuntu Desktop openLDAP

Our admin is trying to install an openLDAP system for some network machines. I'm listing all the steps here so that someone may point out the breaking mistake. Objective Setup a centralized ...
2 votes
1 answer
936 views

slapd not installing on Ubuntu 13.10

This problem has been bothering me for quite a while. I have spent hours trying to find out what is wrong but I just could not solve it. When I try to do sudo apt-get install slapd with all the other ...
5 votes
2 answers
35k views

How to configure Master-Slave LDAP replication

How do I configure Master-Slave LDAP server on Ubuntu with session replication. For example If and ldap client changes his password on the master server. I want the new password to be synchronized ...