OpenLDAP Software is a free, open source implementation of the Lightweight Directory Access Protocol (LDAP) developed by the OpenLDAP Project.
Questions tagged [openldap]
108 questions
13
votes
1 answer
How do I query the available base DNs in an OpenLDAP server?
If I have multiple branches in my directory (e.g. dc=me,dc=org; dc=you,dc=org; dc=them,dc=org) then how can I query the directory to give me a list of these available base DNs?
Is this a question of access rights, or do I have to give an argument to…
Iain Conochie
- 195
10
votes
1 answer
What does ldapsearch response mean?
I created a ldap directory with a number of users and groups. When I query this directory from a remote server with:
ldapsearch -H ldap://ldap.myserver.net/ -x -vvvvvvv -b dc=myserver,dc=net -D cn=admin,dc=myserver,dc=net -W
I get all objects in…
Martijn Burger
- 328
5
votes
2 answers
No write access to parent
I am facing an issue chen trying to setup an openldap server with chef.
Configuration:
Ubuntu 15.04
OpenLdap 2.4.31
Chef/OpenLdap 2.7.1
For information, when I run dkpg-reconfigure slapd (which is not an option when trying to automate the…
Jack Admin
- 151
3
votes
1 answer
OpenLDAP - possible to search without specifying base?
I am having some issues with OpenLDAP and Spring security, where the latter does a search with the whole path in dn (filter), and an empty base. OpenLDAP does not like this, and the query fails. The problem is that I have no control over the query,…
Tobb
- 543
3
votes
1 answer
How to feed the result of ldapsearch into ldapdelete?
(This question had been asked on the OpenLDAP list also, but didn't get an answer there)
Trying to delete the result of an LDAP search, I have a problem:
Using
ldapsearch -Q -Y EXTERNAL -H ldapi:/// -b "dc=services,dc=net,$DIT_BASE" \
-s…
U. Windl
- 943
3
votes
1 answer
ldapmodify insufficient access (50)
I'm trying to enable logging in an openldap (slapd) server. So I tried to execute:
$ ldapmodify -D cn=admin,dc=domain,dc=tld -W -H ldap:/// < dn: cn=config
> changetype:modify
> replace: olcLogLevel
> olcLogLevel: any
> EOF
modifying…
gxor
- 198
3
votes
0 answers
Trying to configure openldap TLSCipherSuite
I have an openldap server, and I'm trying to tune my TLSCipherSuite settings to be as secure as I can have them.
Please do not critique my actual security settings. Please just help me understand what is happening.
I am editing the…
hymie
- 1,276
3
votes
1 answer
Authentication against LDAP on Apache fails with password mismatch
I want to accomplish LDAP authentication on my Linux machine, but can't get it working. Currently, I get the following error in the Apache log: AH01617: user john.doe: authentication failure for "/": Password Mismatch
I'm using Ubuntu 14.04 LTS,…
Tobias
- 31
2
votes
0 answers
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
- 190
2
votes
2 answers
OpenLDAP: slaptest not parsing variable in config
When running the command:
slaptest -f slapd.conf
Against my slapd config file I'm getting this error message
51dfbb3e lt_dlopenext failed: (back_@BACKEND@) file not found
slaptest: bad configuration file!
It seems to me the slaptest is missing…
Mark Williams
- 121
2
votes
2 answers
cannot run tgz file in windows 7 virtualbox
I'm doing a project for school, and I wanted to create an active directory domain on Windows 7 through rktools and other files, but nothing worked, so i'm trying openLDAP. Now, I've downloaded the openLDAP.tgz file, and I have no idea what to do…
unreal
- 39
- 1
- 3
2
votes
0 answers
Authenticate Mac OS X Mountain Lion against EL6 OpenLDAP only succeeds for ssh
I'm having an issue with mountain lion authenticating against a CentOS 6 openldap/krbkdc server. I can ssh into the macs in question and I am issued a ticket and all autofs mounts (like the homedir) function as expected. If I try the graphical login…
rjmoggach
- 303
2
votes
1 answer
Some problems adding data to ldap
I'm trying to add some data to the ldap directory, but i get the following error.
sudo slapadd < ldapdata.txt
slap_sasl_init: auxprop add plugin failed
slapadd: slap_init failed!
Where is the problem ?
aphex
- 23
2
votes
1 answer
Include gid in home directory map with nslcd
I need to specify a different path to home directories on a particular server than different from LDAP one. I know ho to change using map in /etc/nslcd.conf:
map passwd homeDirectory "/otherhome/$uid"
But I want something like…
Zhen
- 903
2
votes
1 answer
openldap TLS failure -- ldap_start_tls: Connect error (-11)
From what I can tell it's a certificate verification issue, but I have no idea why.
~ > ldapsearch -x -ZZ -LLL -H ldap://ldap.dark.kow.is -b dc=dark,dc=kow,dc=is
ldap_start_tls: Connect error (-11)
However, when I use gnutls-cli on the same host to…
BeepDog
- 141