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

Using php-ldap in Centos 6.3

I'm trying to build a LDAP interface using php but have run into this strange problem. I have installed the php-ldap package using yum on my base php install but whenever I call ldap_connect() it says the function is undefined. Seeing phpinfo() I…
mr_abbasi
  • 143
  • 1
  • 1
  • 12
9
votes
3 answers

Enter LDAP Password keeps saying ldap_bind: Invalid credentials (49)

I looked everywhere for a solution to my problem but still didn't find it. I have these two simple files as sladp.conf and mytree.ldif and when i try to add something to mytree.ldif it keeps asking me for a password (which i believe is roopw defined…
mpg
  • 113
  • 1
  • 1
  • 6
9
votes
1 answer

Can't get deleted items from OpenLDAP Server using Content Synchronization Operation (syncrepl)

I set up my OpenLDAP server on a Ubuntu 19.04 VM and allowed replication (using this tutorial: https://help.ubuntu.com/lts/serverguide/openldap-server.html#openldap-server-replication). Everything for replication seems ok. I don't have set up a…
ewald
  • 250
  • 1
  • 10
9
votes
1 answer

LDAP integration with jBilling

How can i use LDAP authentication for jBilling?
mind.debug
  • 283
  • 2
  • 10
9
votes
1 answer

Kerberos/SASSL/OpenLDAP : GSSAPI Error: Unspecified GSS failure. Minor code may provide more information ()

I'm setting up openLDAP with SASL authentification with kerberos. I got problem with this auth. First, I get the kerberos ticket with kinit. When I make a klist, the ticket is displayed. So, no problem. But when I try to make ldapwhoami. I got an…
Voulzy
  • 1,157
  • 3
  • 10
  • 11
9
votes
3 answers

Change BaseDN in OpenLDAP

I was trying to rename my OpenLDAP's baseDN from: dc=abc,dc=com to: dc=xyz,dc=edu I did modify some conf files: /etc/ldap/slapd.d/cn\=config/olcDatabase={1}hdb.ldif /etc/ldapscripts/ldapscripts.conf and the configuration of…
Trinh Nguyen
  • 1,445
  • 1
  • 14
  • 22
9
votes
2 answers

Template Value Error [gidNumber] phpLDAPadmin

I'm try using phpLDAPadmin to connect openldap server, but when I try to create new user account with Generic: User Account, I get the error : "Template Value Error This template uses a selection list for attribute [gidNumber], however the selection…
user2866683
  • 91
  • 1
  • 1
  • 3
9
votes
2 answers

ldap query: ldapsearch for uniqueMember

How can I search for a uniqueMember in an objectClass groupOfUniqueNames within OpenLdap? dn: cn=group,dc=example,dc=com objectclass: groupOfUniqueNames cn: group uniquemember: uid=member1 uniquemember: uid=member2 I've tried the following with no…
Christoph
  • 1,113
  • 5
  • 17
  • 35
9
votes
2 answers

Phpldapadmin does not work for an unknown reason

I'm trying to install LDAP. I've installed slapd and the PhpLDAPAdmin tool on Debian, but when I'm logged in, I cannot do anything. Despite I've logged in as 'cn=admin,dc=barbucha', I see on the right side instead of the tree: Logged in as:…
Theodor Keinstein
  • 1,653
  • 2
  • 26
  • 47
8
votes
5 answers

LDAP Constraint Violation When Changing Password in AD through ldapmodify

I currently try to change passwords in our Active Directory Envoirenment via LDAP on Linux since the users in question do not have access to a windows-machine and we want to keep it that way. In order to change the password I am currently stuck…
henryford
  • 113
  • 1
  • 1
  • 7
8
votes
2 answers

How to remove all records from LDAP?

Is it possible to remove all entries from LDAP by one-line commend? I tried: ldapdelete -r 'cn=*,dc=domain,dc=com' -w but it's not working. I have no better ideas;/
ruan
  • 179
  • 1
  • 2
  • 8
8
votes
1 answer

Python ldap3 LDAPSocketOpenError unable to send message, socket is not open

I am coding in Python, ldap3 trying to create a user in OpenLDAP on CentOS. My local development machine is running Windows 8 64bit. Below is my code. from ldap3 import Server, Connection, ALL # define the server s =…
Franky Kraisorn
  • 87
  • 1
  • 1
  • 4
8
votes
1 answer

Error 50 (Insufficient Access Rights) when applying LDIF - OpenLDAP

I'm trying to apply a config through a LDIF file. I'm binding as admin on my LDAPs server and I'm getting the following Error Message: LDAP: Error 50 - Insufficient Access Rights I'm binding as admin and I'm able to perform any query or any…
Thiago Lima
  • 81
  • 1
  • 1
  • 3
7
votes
3 answers

How can I verify user and password using Python ldap3 via OpenLdap?

For a django project, I designed a different login page. The users here will log in via openldap. I can access users' full information with their uid id, but I could not find how to verify the password. Do I need to hash the user's password and…
Birol Emekli
  • 155
  • 3
  • 11
7
votes
1 answer

Creating a new ObjectClass and Attribute in openLDAP

I am new at LDAP and searched for adding simple objectClass and Attributes but still getting an error, I would like to have an object 'adminFunc' with a simple string attribute 'functionId' so I copied adminFunc.schema and adminFunc.ldif to the…
Razmin
  • 75
  • 1
  • 1
  • 8