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
6
votes
2 answers

Centos 7 ssh login failed using LDAP and sssd

I've setup an LDAP server running on Centos 7. id, getent passwd, on users works. But 'ssh' failed. From /var/log/secure, it seems like authentication succeeded, but pam doesn't like something else. I'm not sure how to narrow down where the…
surfcode
  • 445
  • 1
  • 5
  • 20
6
votes
3 answers

OpenLdap How to disable/enable/remove user account

I'm newbie to OpenLDAP. I have done a bit of research on the above topic and so far couldn't find a satisfactory answer. I would appreciate if anyone can show me how to enable/disable/remove a user account in OpenLDAP.
yapkm01
  • 3,590
  • 7
  • 37
  • 62
6
votes
3 answers

Can't install python-ldap via pip

I can't install python-ldap via pip, I get the following error: $ sudo pip3.4 install python-ldap Downloading/unpacking python-ldap Downloading python-ldap-2.4.19.tar.gz (138kB): 138kB downloaded Running setup.py…
Nima
  • 6,383
  • 7
  • 46
  • 68
6
votes
3 answers

Is OpenDJ, OpenAM and OpenIAM free software

What has been the experience of folks who have already been using OpenDJ and OpenAM? Older versions seem free to use but the new releases don't seem to be free for use. How do they compare to the existing commercial offerings? They look like a…
R-JANA
  • 1,138
  • 2
  • 14
  • 30
6
votes
3 answers

Adding an entry to OpenLDAP

I just Installed OpenLDAP on Ubuntu Server 12.10, and I added an ldif file using slapadd -c -l init.ldif as the following : dn:dc=tpw,dc=uca,dc=ma dc: tpw objectClass: dcObject objectClass: top objectClass: domain dn:…
Renaud is Not Bill Gates
  • 1,684
  • 34
  • 105
  • 191
6
votes
1 answer

what are aliases in ldap

What are aliases in ldap (referenced for example here php.net/ldap) Are they pointers to other objects in the system not directly under the object where the alias is found?
Itay Moav -Malimovka
  • 52,579
  • 61
  • 190
  • 278
6
votes
1 answer

Single Sign-On for openLDAP

first of all, I'm pretty much of a beginner in this area. I'm supposed to find a real Single Sign-On solution for multiple websites (that use shared openLDAP user and pw data) we use inside our company. Meaning: you login one time and are connected…
Andreas Spaeth
  • 173
  • 1
  • 3
  • 13
6
votes
2 answers

inetOrgPerson with member or memberOf?

What works Suppose I have inetOrgPersons in ou=people,dc=example,dc=com. Example: dn: cn=John Doe,ou=people,dc=example,dc=com objectClass: inetOrgPerson (structural) objectClass: person (structural) objectClass: top (abstract) cn: John Doe sn:…
user1907906
6
votes
2 answers

Where is my data (directories) store by slapd (OpenLDAP) on ubuntu?

After installation slapd on ubuntu 12.04 machine, ldapadd, ldapsearch, I can see it got my data. The question is where is the directory? It's empty here: /var/lib/ldap/ /usr/lib/ldap/ slapd configuration directory /etc/ldap/ contains only root…
Andrew_1510
  • 12,258
  • 9
  • 51
  • 52
5
votes
3 answers

Issues logging in ldap root DN

I almost been stuck a day on the following issue, I installed LDAP using: apt-get install slapd and use the following configuration: include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include …
Tjirp
  • 2,435
  • 1
  • 25
  • 35
5
votes
3 answers

Choosing an RDN for new objectClasses in LDAP?

What are the best practices for choosing an RDN when creating new objectClasses in LDAP? I know you can choose from uid, cn, ou, and so on, but what practices should one follow?
McGovernTheory
  • 6,556
  • 4
  • 41
  • 75
5
votes
0 answers

OpenLDAP Create a Service Account for LDAP queries

There is a defined way to create a Active Directory ( AD ) Service Account for LDAP queries. There is no much article on LDAP Service account creation in OpenLDAP I am trying to find ways to create a LDAP Service Account in OpenLDAP. The LDAP…
Raju Biswas
  • 61
  • 1
  • 3
5
votes
5 answers

How to set account expiry date in openldap

I wish to implement a new account policy in openldap that allow an administrator to set expiry date of user accounts. However, I can't find any related attribute in the object classes. This is nothing related to password attributes like pwdMaxAge.…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
5
votes
0 answers

LMDB: How to store large value sizes efficiently

I have been using LMDB to store key value pairs where the value sizes are of the order 200 Bytes. I am running into a scenarios where value sizes could grow upto 8KB or more. According to:…
appRealm
  • 51
  • 3
5
votes
4 answers

C++ using ldap_bind from ldap.h

I'm trying to use ldap_bind, but get an this error. error: âldap_bindâ was not declared in this scope code: #include #include #include #include #include using namespace std; int main() { LDAP…
Jeremiah
  • 751
  • 9
  • 21