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

Pros and cons of using LDAP for external users

I work for a company with multiple public-facing web sites. Some of these sites are built using third party products (Moveable Type, myBB, Trac and others). We also have a couple of bespoke sites built on the Microsoft stack. Currently, we have no…
5
votes
1 answer

Openldap unexpectedly shutdown

I installed openldap 2.4.35 from source tarball with berkeleydb 5.0.32.NC on CentSO 6.4 x86_64. After running a few days , the ldap server shutdown unexpectedly. And here is the last log: ber_get_next TLS trace: SSL3 alert read:warning:close…
爱国者
  • 4,298
  • 9
  • 47
  • 66
5
votes
1 answer

Unable to import ldif file with some attributes

I am new to ldap and apacheds. I have created embedded LDAP server using apacheds. Example here. But seeing the following issue. Am I creating a wrong partition? How would it look like? Any changes to ldif file? ERROR I am seeing when importing ldif…
DaBears
  • 291
  • 4
  • 9
5
votes
4 answers

Paged ldap_search in OpenLDAP to get around size limit?

We are currently in the process of migrating from an aged proprietary directory service to OpenLDAP. Today we ran into the problem that ldap_search_ext_s or ldapsearch in general does not return any results, if the number of entries, which were to…
lx.
  • 2,317
  • 1
  • 22
  • 32
5
votes
3 answers

How to store simple name value pairs in an ldap directory

I'm creating a user repository ldap backend for a series of web applications sharing the same users. I would like to store preference information in this ldap location. This way everything related to users is maintained in the same place and can…
Ricardo Marimon
  • 10,339
  • 9
  • 52
  • 59
5
votes
1 answer

Zend Framework 2 LDAP

I would like to use Zend Framework 2 with Doctrine 2 and openLDAP. My goal is to create a persistence for my LDAP. How can I accomplish this in ZF2? I noticed that we can get objects from LDAP with Zend\Ldap\Node. Can anyone show me an example of…
Kiruchi
  • 195
  • 3
  • 13
5
votes
1 answer

LDAP User are not put automatically into LDAP group in jira

I have Jira 5.x locally installed and an OpenLDAP Server with Users and Groups. The Syncronisation in Jira get all users and groups perfectly, but the users do not belong to any group. I've set the default groups to enable LDAP users to login to…
Thomas Spycher
  • 956
  • 13
  • 32
5
votes
3 answers

Using key-value databases as a set with persistent indices

Since the below got a bit long: Here's the tl;dr; version: Is there an existing key/value best-practice for fast key and value lookup, something like a hash-based set with persistent indices? I'm interested in the world of key-value databases and…
milianw
  • 5,164
  • 2
  • 37
  • 41
5
votes
1 answer

error on connecting to OpenLDAP using LdapConnection

using (LdapConnection ldap = new LdapConnection("localhost:389")) { //ldap.AuthType = AuthType.Basic; ldap.Bind(new NetworkCredential("cn=manager,dc=wave,dc=com", "secret")); } I tried with both with…
BreakHead
  • 10,480
  • 36
  • 112
  • 165
5
votes
2 answers

Open LDAP on Windows

We are planning to use OpenLDAP for user management i.e.: all user information maintained in OpenLDAP, call LDAP services from our Java web application for user authentication, and later on planning to use ACL as well. I am totally new to this…
Santosh
  • 1,849
  • 4
  • 19
  • 31
5
votes
1 answer

Error on migration to non-deprecated ldap functions

I'm changing deprecated ldap functions to non-deprecated functions. But I am having problems with ldap_sasl_bind_s. It returns error code 49, which means invalid credentials. But I'm sure that the credentials are valid. Otherwise I added …
iyasar
  • 1,241
  • 3
  • 13
  • 27
4
votes
2 answers

What do people use for CN with inetOrgPerson in LDAP directories

I've been using givenName+" "+surname for the CN field and I woke up screaming last night 'what about John Smith'? I can imagine any large organization employing multiple people with the same name. So of course this isn't going to work. What do…
user207421
  • 305,947
  • 44
  • 307
  • 483
4
votes
2 answers

Unrecognized error number: 8192: trim(): Passing null to parameter #1 ($string) of type string is deprecated

New to the field can find specific answer in the web hope you can help me with this. I didn't write the code I just follow a documentation on how to install openldap on php8.1 ubuntu 22.04
Sean
  • 51
  • 1
  • 3
4
votes
1 answer

Unable to set policy for user using MinIO client, getting user does not exists in ldap error even though user exists in LDAP

Error: mc: Unable to set the policy. The specified user does not exist. (Specified user does not exist). Details: After configuring MiniIo with LDAP server, when I try to login with user, am getting error saying to add policy for user. The same…
veeresh patil
  • 1,168
  • 1
  • 11
  • 18
4
votes
2 answers

Keycloak - Issues syncing users with LDAP

I installed Openldap in server and after that added the user into the ldap,below screen show show the added user through Apache Active Directory Now in keycloak i added user federation as a openLdap and its connecting to ldap without any issue,but…
Subodh Joshi
  • 12,717
  • 29
  • 108
  • 202