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

openldap add mail attribute to users

I'm trying to add 'mail' attribute to users on my openldap server but somehow it fails. I tried using ldapmodify but I get this: ldap_modify: Object class violation (65) additional info: attribute 'mail' not allowed Here's how my schema looks…
cparfon
  • 157
  • 1
  • 3
  • 13
7
votes
3 answers

OpenLDAP: TLS error -8179:Peer's Certificate issuer is not recognized

I'm not familiar with certificates and openldap. I'm trying to port someone elses work from an older OS to CentOS-6 with openldap-2.4.23. On the old OS, an ldap connection worked without issue. Now on CentOS-6, I get the following error when…
user3748237
  • 93
  • 1
  • 1
  • 4
7
votes
2 answers

how to promote ldap replica to master

I have a master LDAP server (openldap) running on a node that needs to be decomissioned. I have several consumer nodes doing a syncrepl to it. I have designated another node (one of the consumers) to become the new master so I can decomission the…
J.T.
  • 163
  • 1
  • 8
7
votes
1 answer

OpenLdap (Centos 5.9): Invalid credentials (49)

When i run the next command it's all KO: ldapsearch -x -b "dc=icm,dc=movismart,dc=com" -D "cn=Manager,dc=icm,dc=movismart,dc=com" -W But when i run this it's a problem "Invalid Credentials (49)": ldapsearch -x -b "dc=icm,dc=movismart,dc=com" -D…
user3021072
  • 85
  • 1
  • 3
7
votes
2 answers

Unable to bind sample program to LDAP server via SSL (ldaps://)

I have a sample program here that is trying to connect to LDAP server on the secured port (ldaps://) However, the sample program is not able to bind to the server. #define LDAP_DEPRECATED 1 #include #include #define BIND_DN…
Ashwin
  • 1,942
  • 4
  • 30
  • 59
7
votes
2 answers

PHP ldap_modify Insufficient access

I am getting insufficient access errors using ldap_modify with OpenLDAP 2.4.32 and PHP 5.4.6. The php function that is giving the errors looks like this: function set_user($dn, $password, $data) { /* This function sets the users infomation */ …
kaptk2
  • 331
  • 4
  • 10
6
votes
5 answers

how to get groups of a user in ldap

i am using openldap with phpldapadmin, and i'm trying to check what are the groups of a certain user. this is my scheme ... this is what i tried, but it didn't work docker-compose exec openldap ldapsearch -x -H "ldap://openldap" -D…
Mohamed Benkedadra
  • 1,964
  • 3
  • 21
  • 48
6
votes
3 answers

LDAPSEARCH into table format

Is there any way to perform a LDAP search and save the results into a table format (e.g. csv)? Cheers Jorge
jorgehumberto
  • 1,047
  • 5
  • 15
  • 33
6
votes
2 answers

Find when password expires with ldapsearch

Is there a way to determine when an LDAP password is set to expire with ldapsearch? I haven't been able to see anything in man pages that would allow me to get this information. I see warning messages in /var/log/secure that warn of when a password…
user3299633
  • 2,971
  • 3
  • 24
  • 38
6
votes
1 answer

How to find all the groups the user is a member? (LDAP)

I am trying to get all the groups that a certain user is a member of. I have the following structures in ldap: o=myOrganization ou=unit1 cn=admin cn=guess and ou=users cn=ann cn=bob cn=carla myOrganization is an…
Rodolfo
  • 573
  • 2
  • 8
  • 18
6
votes
1 answer

Weblogic doesn't cache LDAP

I have a web application set up using JSF 2.1 and JEE 6 running on a WebLogic 12.1.2 server with an openLDAP for authentication. I've been noticing that loading any page in the app causes multiple BIND requests to LDAP – every single time! I've read…
Ingo Bürk
  • 19,263
  • 6
  • 66
  • 100
6
votes
1 answer

iOS app archive fails due to openldap and openssl makefile errors

I am currently building an iOS app written in Objective-C and Swift containing the openssl and openldap frameworks, which builds and runs without any issues. However, when I try to archive the app for release, the below errors occur: Here is some…
GJZ
  • 2,482
  • 3
  • 21
  • 37
6
votes
0 answers

Slapd with back-sql in docker only retrieves attribute mapping for one object class

When I try to set up an LDAP server in Docker using SLAPD and connect it to a PostgreSQL Docker with the example database, only the attribute mapping for the first object class is loaded. The following log is produced: ldaptest_ldap_1 |…
Arno
  • 114
  • 6
6
votes
2 answers

How to load LDAP docker container data on startup

I want to have a LDAP server on a docker container, I already used dinkel/openldap, osixia/openldap and muzili/ldap docker images and so far connection and first configuration is ok. My problem is: although I mounted container's /var/lib/ldap &…
Fezo
  • 183
  • 2
  • 14
6
votes
9 answers

LDAP authentication using passport-ldapauth npm

I am trying to authenticate openLDAP username and password using passport-ldapauth npm. While executing the below code I am always getting error as { message: 'Missing credentials' }. Kindly help me what is wrong with my code. var connect =…
user4324324
  • 559
  • 3
  • 7
  • 25