Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [openldap]

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

0
votes
1answer
54 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
0answers
116 views

OpenLdap : getent passwd not working on server while ldapsearch works

Server I have openldap server installed on Ubuntu 16.04 and after installation and configuration. Now on the server if i do the ldapsearch it returns me all the users and groups information, i.. ...
0
votes
0answers
125 views

How to configure password policy for openLDAP server,

I am struggling to install and configure the password policy for my OpenLDAP server which is running on Ubuntu 14.04. Somehow I managed and configured ppolicy module, but it's not working for me, I ...
0
votes
1answer
93 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 ...
0
votes
0answers
88 views

Automount LDAP home folders in client machines

I have created couple of users on my ldap, and setup a couple of ubuntu ldap client machines, where users can login with their accounts. I now want to share their home folders and make it centralised ...
0
votes
0answers
68 views

ppolicy not enforced on OpenLDAP Client when using 'passwd'

The issue: Password Policy is not being enforced when I change the password using the 'passwd' command. It is enforced when I use the 'ldappaswd' command. But the OpenLDAP password still changes using ...
1
vote
0answers
56 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 ...
0
votes
0answers
44 views

Ubuntu 16.04 ldap auth with mail attribute

I have a Xubuntu 16.04 LTS that i can login with LDAP (OpenLdap) credentials and i want to change the login attribute from uid to mail. I install libnss-ldapd , libpam-ldapd and use the file /etc/ldap....
0
votes
0answers
163 views

LDAP What is meaning “database is not a shadow”

I have two servers with multi master replication for configuration db. How to enable olcMirrorMode for the main db ? cat > ./db1sync2.ldif << EOF dn: olcDatabase={1}hdb,cn=config ...
1
vote
1answer
664 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 ...
0
votes
1answer
223 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 ...
0
votes
1answer
222 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
2
votes
1answer
105 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?
0
votes
0answers
40 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
1answer
162 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 ...
0
votes
0answers
23 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
1answer
243 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" ...
0
votes
1answer
235 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 ...
0
votes
1answer
989 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: ...
1
vote
2answers
4k 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: ...
1
vote
1answer
3k 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: ...
-1
votes
1answer
1k 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
1answer
854 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 ...
-1
votes
1answer
134 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 ...
1
vote
1answer
1k 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 ...
0
votes
1answer
40 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|...) ...
0
votes
2answers
925 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
1answer
3k 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, ...
0
votes
1answer
239 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
1answer
12k 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 ...
1
vote
2answers
2k 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
0answers
2k 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
1answer
4k 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
1answer
576 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
1answer
2k 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): ...
5
votes
5answers
16k 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....
0
votes
2answers
13k 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
1answer
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 ...
1
vote
0answers
89 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
1answer
2k 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
1answer
617 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 ...
4
votes
2answers
30k 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 ...
5
votes
2answers
26k views

How to allow LDAP user to change password?

I want to allow ldap user to change their password but how? passwd? or ldappasswd? It won't work for me this time. What will be the configurations for this in order the user will successfully change ...
0
votes
1answer
781 views

Error during installation Openldap on ubuntu

Please help me to find out why its not working root@icloud_mail# sudo apt-get install slapd ldap-utils Reading package lists... Done Building dependency tree Reading state information... Done ...
0
votes
1answer
267 views

slapd nsslapd-maxdescriptors

I need to change the maximun file descriptors of my slapd. I have an ubuntu server 12.04 I read that nsslapd-maxdescriptors is the atribute that I must change for that. ¿ how can I change nsslapd-...
0
votes
1answer
1k views

How to configure ssh authentication with ldap without password

I need to setup ssh authtication with ldap without using password like amazon EC2 instance with pam file. Also if I need to use this with multiple servers, How can I configure that?
1
vote
1answer
1k views

Ubuntu : Kerberos With LDAP

I am using ubuntu 12.04. I am installing LDAP with Kerberos authentication. I followed the steps in the ubuntu documentation. https://help.ubuntu.com/12.04/serverguide/kerberos-ldap.html After ...
2
votes
1answer
8k views

Ubuntu 13.04: LDAP invalid credentials

I'm trying to follow the Ubuntu official OpenLDAPServer guide with no success. When I tried to log into the server it says( https://help.ubuntu.com/12.10/serverguide/openldap-server.html#openldap-...
1
vote
1answer
2k views

pdbedit failed during openldap user creation with samba support

I am running Lucid. I have setup openldap and samba a while ago, this problem existed since then and I still don't know how to fix it. I use webmin's LDAP client to create a "testuser" account, and ...
3
votes
0answers
277 views

ubuntu 12.10 lock-screen unlockable with old ldap password

I have an ldap server that serves Ubuntu clients and there is a problem when unlocking the screen after a user has changed their password. Initial login works as expected: the user can log in with ...