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
13
votes
1 answer

ldap_bind: Invalid Credentials (49)

I'm running OpenLDAP 2.4-28 on XUBUNTU 12.04. I'm reading "Mastering OpenLDAP" and configuring along with the book. When I try to perform the following search (page 47): $ ldapsearch -x -W -D 'cn=Manager,dc=example,dc=com' -b "" -s base I am…
alibaba
  • 1,623
  • 2
  • 12
  • 13
12
votes
3 answers

How do I manually install an old cygwin package?

A project I am working on requires an old version of SLAPD (the LDAP server) and must run on Windows, hence I am using cygwin packages: I've found a binary package of slapd version I need 2.2.x here:…
Salim Fadhley
  • 22,020
  • 23
  • 75
  • 102
12
votes
3 answers

Open LDAP vs apacheDS

I am working on scalable web application.I am planning to use LDAP for login authentication purpose. I am new to LDAP when I search about it I found two important implementations: OpenLDAP Apache Directory Studio I search about performance…
Prashant Thorat
  • 1,752
  • 11
  • 33
  • 54
12
votes
1 answer

How can we cache ldap login credentials in mac using opendirectory

In mac using Active Directory we can cache ldap login credentials by checking create mobile account at login. Is there any other way to do same thing in openldap. Please some one share information here
MacDeveloper
  • 1,334
  • 3
  • 16
  • 49
12
votes
7 answers

Python ldap AttributeError

I have an python error AttributeError: 'module' object has no attribute 'initialize' I am running Python 2.6.2 on Solaris 10 UNIX and recently installed the pythonldap 2.3.9. The script is very basic, only has these 2 lines. Can anyone tell me…
jenny
  • 121
  • 1
  • 1
  • 3
12
votes
3 answers

How can I retrieve a salt from LDAP?

The organization that I work for uses PPolicy (an OpenLDAP module) to automatically salt and hash passwords. Unfortunately, I don't have access to the machine running the OpenLDAP server, so i can't look at the config file. From what I've seen…
blkhp19
  • 482
  • 1
  • 5
  • 13
12
votes
3 answers

How to achieve authentication with django-auth-ldap?

I have an app running using django. Now i want only users that are authenticated via an openldap server to see "their view" (therefore i only need their uid after successfull authentication) How can i achieve that? I guess django-auth-ldap is the…
11
votes
2 answers

LDIF for creating Active Directory users and groups in OpenLDAP?

I have a web application that uses Active Directory to authenticate users, and I'm trying to replace AD with OpenLDAP. The documentation says that I need to log on the domain controller as administrator, open the user management window, click on…
muriloq
  • 2,692
  • 5
  • 29
  • 32
11
votes
4 answers

Openldap: Is that possible to use "userPassword" instead of "2.5.4.35" for pwdAttribute?

I am using Openldap 2.4.11 in Fedora Core 13. I am trying to create a password policy: dn: cn=default,ou=policies,dc=estream,dc=com,dc=my objectClass: person objectClass: pwdPolicy objectClass: top cn: default pwdAttribute: 2.5.4.35 sn: test If I…
Chau Chee Yang
  • 18,422
  • 16
  • 68
  • 132
11
votes
1 answer

How to do password authentication for a user using LDAP?

I am writing a client app (using OpenLDAP libraries) for which the users gets authenticated via LDAP server. Here is the sample, hard coded, program that fails to compare userPassword for a user. #include #include #define…
Ashwin
  • 1,942
  • 4
  • 30
  • 59
11
votes
1 answer

What type of group to choose in OpenLDAP for grouping users

I need to know what kind of group should I use for grouping users in LDAP. I basically need the function MemberOf, to get some permissions based on groups membership. Example: Users User 1 User 2 User 3 Groups Group 1 Group 2 User 1 is…
JorgeeFG
  • 5,651
  • 12
  • 59
  • 92
11
votes
5 answers

How do you turn on password hashing (SSHA) in openLDAP

For the life of me, I cannot seem to find this anywhere and if anyone can even just give me a link I would be very appreciative. We are trying to turn on SSHA hashing in openLDAP. By default it stores passwords in plaintext, which I think is…
Sevil Natas
  • 115
  • 1
  • 1
  • 5
10
votes
1 answer

How to link / export existing Keycloak user to LDAP

I'm using Keycloak and just setup some OpenLDAP. Importing from LDAP to Keycloak works fine. Even new registrations and updates to users are synced nicely. But I can't find any way to: a) Export existing Keycloak users to LDAP b) Linking existing…
Tarion
  • 16,283
  • 13
  • 71
  • 107
10
votes
1 answer

Server ldap/example.com@EXAMPLE.COM not found in Kerberos database

Edit : Issue finally solved. The detail can be found in the troubleshooting part at the end of this message. I leave the detailed steps here in case it could help somebody. Setup OpenLDAP I - Create the server The documentation are often outdated…
Wargtek
  • 153
  • 1
  • 7
10
votes
1 answer

Using LDAPSEARCH to return all Groups and OU's in an Active Directory domain

What would the correct syntax be, using ldapsearch, to return all Groups\OU's and their nested Groups\OU's in an AD domain? I am trying to query a Windows AD DC from a Linux Box and need to have this result returned to the Linux machine.
chumley
  • 173
  • 2
  • 4
  • 7