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

openLDAP: login with userPrincipalName

I have set up an openLdap server instance. Login for the time being requires providing as username the user's dn, e.g. "cn=151test,cn=somecn,ou=someou,dc=mydomain,dc=com" How is it possible to enable login with userPrincipalName in the form…
pkaramol
  • 16,451
  • 43
  • 149
  • 324
5
votes
0 answers

Getting BadCredentialsException in password change openldap spring

I have openldap running on my localhost, i am trying to change user account password from my spring application but i am getting below Exception. Please help. org.springframework.security.authentication.BadCredentialsException: Authentication for…
Anil
  • 151
  • 2
  • 9
5
votes
0 answers

How to get ldap tree structure using php?

I have an active directory record of users with ou's and subou's. I want to get the whole tree structure of the AD. for example, - Group A - Sub Group a1 - Sub Group a2 - Group B - Sub Group b1 - Sub Group b2 - Group C - Sub…
user4185677
5
votes
1 answer

LDAP authendication using goLang

I am trying to authenticate with LDAP server using goLang also trying to search the user. I am new to goLang and LDAP so I pulled GitHub code. While trying with below code, I am getting error in authentication func ExampleLDAPClient_Authenticate()…
Prakash26790
  • 727
  • 9
  • 29
5
votes
1 answer

How to add attribute member/memberOf in ldap Active Directory(AD) using ZF2

i tried to create some code for push data into Active Directory. Btw i'm using Zend Framerowk 2, and for Directory Services i am using Active Directory. I tried to create some function for add data into Active Directory, but i got the problem. The…
Febry Fairuz
  • 521
  • 1
  • 10
  • 27
5
votes
3 answers

Filter ldapsearch with awk/bash

By writing an ldapsearch command such as: ldapsearch -h ipaddress -p 389 -D "cn=func_01_acc,ou=admins,dc=akademia,dc=int" \ -w akademia.01 -b "ou=stud01,dc=akademia,dc=int" "(l=Torun)" sn cn telephonenumber -LLL | grep sn: | awk '{print $2 "|" $1}'…
J. Doe
  • 51
  • 1
  • 2
5
votes
0 answers

How to configure OpenLDAP Proxy/Cache to cache all queries

Ok, this is an OpenLDAP newby question so bear with me. I haven't been able to find a straight answer on the webinets, so here we go: Note: The ultimate goal is to have an OpenLDAP server set up as a proxy/cache for a "single" query to get all of…
rtorres
  • 2,601
  • 3
  • 27
  • 33
5
votes
1 answer

Creating second database/domain in OpenLDAP

I have an LDAP server with "dc=domain1,dc=com" as the olcSuffix. I would like to create a second domain "dc=domain2,dc=com" on the same server. Using this LDIF file: dn: olcDatabase={3}bdb objectClass: olcDatabaseConfig objectClass:…
Brian Bruns
  • 51
  • 1
  • 2
5
votes
4 answers

Openldap logs not getting generated

I have been trying to enable logging in my OpenLDAP setup (in Oracle Enterprise Linux 6.5) , but no logs are being generated in /var/log/slapd/slapd.log. Followed these steps to enable logging : Edited the slapd.conf file : # grep -i loglevel…
Harikrishnan V
  • 51
  • 1
  • 1
  • 3
5
votes
1 answer

PrincipalContext - I Can't connect to a local openldap server

I have installed an openldap for windows server and I use LDAPAdmin to connect to it by its default values : Server=ldap://localhost:389 Base:dc=maxcrc,dc=com UserName:cn=Manager,dc=maxcrc,dc=com Password:secret Now I want to use PrincipalContext…
Beatles1692
  • 5,214
  • 34
  • 65
5
votes
2 answers

ldap_bind() hanging / freezing

So I have reduced my problem to a simple php script test.php
JTG
  • 8,587
  • 6
  • 31
  • 38
5
votes
1 answer

C# How to add an entry to LDAP with multiple object classes

I'm trying to create a new user record into OpenLDAP with object classes person and uidObject. The problem seems to be that with System.DirectoryServices.DirectoryEntry I've found only a way to add a new entry with one object class, but not a way to…
Jarmo
  • 709
  • 5
  • 8
5
votes
2 answers

"This base cannot be created with PLA." PHPLDAPadmin error on login (initial entries?)

I've ended up being in charge of installing OpenLDAP with a MySQL back-end, and I'm having an issue with PHPLDAPAdmin that, while I believe I may know the problem, I have been unable to find a solution for. I'm working on Ubuntu 14.04.1 with…
Noah Lange
  • 61
  • 1
  • 1
  • 4
5
votes
2 answers

authentication in django admin using ldap profiles

I'm working on a Django application which needs to support LDAP authentication directly into default admin page. I've integrated django-auth-ldap and followed the documentation until i could understand it. I've already configured a local LDAP server…
Daniele Duboin
  • 129
  • 2
  • 8
5
votes
5 answers

Server is unwilling to perform. LDAP in PHP

I get this error always Server is unwilling to perform and my code is the next: echo "Checking ..."; $username = $_POST["username"]; $passwd = $_POST["passwd"]; $host = 'myhost.co.uk'; $port = 389; …
ManuParra
  • 1,471
  • 6
  • 18
  • 33