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

OpenLDAP telephoneNumber schema

I try to create a phonebook with OpenLDAP 2.4.31 with the standard schemas. Inserting a number containing a hash (#) or asterisk (*) won't work and return me a syntax error. RFCs tell me that a number is the following: Printable string (alphabetic,…
zille
  • 95
  • 10
4
votes
2 answers

result: 32 No such object

When I try to run ldapsearch -x I get an error result: 32 No such object I am using Ubuntu 14.04
PeeKay
  • 167
  • 2
  • 2
  • 10
4
votes
2 answers

Add new attribute type in OLC schema (openLdap)

I'm a beginner with openLDAP. I try to add a new attribute to my LDAP olc schema. I want to add the field "aliasMail" to my users attributes. I create a LDIF file : dn: cn=schema,cn=config changetype: modify add: attributeTypes attributeTypes: (…
Kettbi
  • 41
  • 1
  • 3
4
votes
1 answer

Permission denied for /etc/ldap2/slapd.d/cn=config.ldif

I'm trying to start second slapd instance on port 400 and /var/log/syslog is reporting the error from title. The steps I took so far are: 1) copied /etc/ldap/slapd.d to /etc/ldap2/slapd.d 2) copied /etc/default/slapd to /etc/default/slapd2 which…
Luka
  • 143
  • 3
  • 12
4
votes
1 answer

OpenLDAP configuration error ldap_bind: Invalid credentials (49)

I'm using Ubuntu 10.4 server and I'm trying to configure OpenLDAP as a protocol for authentication for SVN and other services. However I quite don't understand how ldap works and after setting a example config I tried to populate it without success.…
PLS
  • 231
  • 2
  • 6
  • 14
4
votes
2 answers

Openldap ppolicy overlay is not working

I have been trying to configure openldap to use ppolicy overlay but non of the procedures found online have worked. I tried tens of problems discussed in the forums but to no avail. So I would be so grateful if someone can check my configuration and…
user3464156
  • 39
  • 1
  • 5
4
votes
0 answers

How to use upn instead of DN for openLdap Authentication

I am trying to authenticate against an openldap server from Java . I tried setting my LDAPContext SECURITY_PRINCIPAL to the DN and it works. Hashtable env = new Hashtable(); …
geekops
  • 505
  • 8
  • 21
4
votes
1 answer

Add: Object class violation error on adding password policies

While adding the password policy in the openldap file it throws error While running from the command line root@openldap-server:/etc/ldap/slapd.d# ldapadd -D cn=admin,dc=zariga,dc=com -w password -f passwordpolicy.ldif adding new entry…
anish
  • 6,884
  • 13
  • 74
  • 140
4
votes
1 answer

Why is the OpenLDAP daemon called slapd?

I understand that it stands for Stand-alone LDAP Daemon (wiki and manpage). My assumption is that sldapd is more confusing so it was shortened to slapd, but I'm curious if there's anything more to it than that.
silvamerica
  • 994
  • 5
  • 19
4
votes
1 answer

Add an alias to a schema object in OpenLdap

Is it possible to add an alias to a schema atrribute type in openldap? Could anyone provide the command line instruction to accomplish this? For example, Description RFC2256: Telephone Number OID 2.5.4.20 Obsolete No Inherits from Equality …
Watson
  • 1,385
  • 1
  • 15
  • 36
4
votes
2 answers

Active directory and linux nslcd binding without extending the AD schema

I have a requirement of binding linux clients to Windows Server 2012 Active Directory. I have a test environment where I successfully did that both with samba-winbind-kerberos, and with nslcd, using a user to authenticate. However, when using…
nohup
  • 3,105
  • 3
  • 27
  • 52
4
votes
1 answer

LDAP group membership authentication - Rails

I am new to LDAP and been playing around with this for a while now. I have a rails app where I need to authenticate a user if he is from a group. I tried few params but got nothing to work. Any help would be appreciated. Thanks in advance. Here is…
Preethi Kumar
  • 1,371
  • 1
  • 9
  • 16
4
votes
3 answers

openldap + kerberos - unable to reach any KDC in realm

I have a ldap server + kerberos setup in a centos vm (running using boot2docker vm) And i am trying to use them for my web application authentication (from host - my macbook). For authentication, i need to use the "GSSAPI" mechanism, not the simple…
heartpicker
  • 90
  • 1
  • 1
  • 5
4
votes
6 answers

Apache Directory Studio- JRE Issue

When I am trying to run Apache Directory Studio in ubuntu, I am getting the Following error, A Java Runtime Environment (JRE) or Java Development Kit (JDK) must be available in order to run ApacheDirectoryStudio. No Java virtual machine was found…
Sreevidya Aravind
  • 433
  • 1
  • 6
  • 18
4
votes
1 answer

adding custom attributes to openldap

This is my first time at LDAP . I have setup an openldap on ubuntu machine and an ldap browser (phpldapadmin) on the remote system .I 'm trying to add two custom attributes to the cn=config and i get a successful message but if i see the…
Santhosh Pai
  • 2,535
  • 8
  • 28
  • 49