Questions tagged [ldapsearch]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
418 views

LDAP: how to fetch group members by group's memberUid?

I'm trying to write a single LDAP search filter to retrieve users who are member of a particular group. We're running a custom LDAP implementation (running on OpenLDAP: slapd 2.4.40), where the ...
André Fernandes's user avatar
0 votes
0 answers
106 views

Is it possible to add memberUid as bind DN

Can we use memberUid for bind dn string. Here is my sample ldif file dn: cn=posixgroup,dc=memtesting,dc=com objectClass: top objectClass: posixGroup gidNumber: 1001 cn: posixgroup memberUid: posixuser ...
ram ajay's user avatar
0 votes
0 answers
367 views

Load Balancer for LDAP(S)

I have created a load balancer in the cloud with backend servers running FreeIPA. When I try to run: $ ldapsearch -x -H ldap:<IP-ADDRESS> -b "dc=example,dc=com ldap_sasl_bind(SIMPLE): Can't ...
N. J's user avatar
  • 125
0 votes
0 answers
90 views

LDAPS with openvpn doesn't work but ldapsearch is running

I have some problem with comfiguring authentication openvpn to Active Directory with LDAPS. I don´t know, where shoud be problem, because if I use ldapsearch (with ldaps://addr_to_my_AD), evertyhing ...
Dave's user avatar
  • 25
1 vote
0 answers
45 views

OpenLDAP Child or Relay server configuration assistance

I am a really lost here and would appreciate some help. My organization already maintains an OpenLDAP server which allows read-only access Running this gives me an entire dump of all the users and ...
RuMAN S's user avatar
  • 61
1 vote
1 answer
316 views

Kubernetes Nifi cluster LDAP configuration

We are using cetic/helm for nifi cluster. We have configured LDAP credentials as below: ldap: enabled: true host: "ldaps://ldaphost.net" searchBase: "ou=People,o=ABC" #...
Pro's user avatar
  • 129
0 votes
0 answers
310 views

OpenLDAP slapd.d configuration directory not updated

I have 'inherited' an openldap (CentOS 7) server which configuration is handled dynamically (using a slapd.d directory and a tree of ldif files). I used ldapmodify to add an attribute (olcDbCheckpoint)...
nathou's user avatar
  • 163
0 votes
0 answers
877 views

Apache with SSO and group-based authentification

I would like to configure SSO in Apache incl. group-based authentication. It means that users, who are a member of a particular group, should be able to log in to the website without entering the ...
honeybee's user avatar
1 vote
1 answer
2k views

ldapsearch finds my account/user, sssd does not

I am trying to setup a new Server(Ubuntu 22.04 LTS) and authenticate users using organization accounts. This is the public Documentation provided: https://www.hs-regensburg.de/supportwiki/doku.php?id=...
Sammy's user avatar
  • 13
0 votes
1 answer
799 views

Migrating OpenLDAP data from 2.4 to 2.5

I have gone through documentation online and on some forums but I am stuck on importing data from ldap 2.4 to 2.5 (Migrating to a new server as well). Here are the steps I did and the error I am ...
tvziem's user avatar
  • 1
0 votes
0 answers
2k views

Replace anonymous ldapsearch command with curl command?

I have this working ldapsearch command for connecting anonymously to an internal ldap server: $ ldapsearch -h my.host -p 389 -x -LLL -s base -b "" namingContexts dn: namingContexts: DC=org,...
u123's user avatar
  • 277
0 votes
0 answers
597 views

ldaps does not work with ldapsearch

I'm running ldapsearch against a active directory server, with ldap protocol it works: ldapsearch -h IP -p 389 -b 'DC=testnet,DC=com' -D 'CN=admin,CN=Users,DC=testnet,DC=com' -w 'XX' with ldaps ...
daisy's user avatar
  • 757
1 vote
2 answers
3k views

ldapsearch keeps failing even though the username/password supplied are correct

Working to tie a server into ldap (active directory) and been struggling to get a simple bind working. The commands I have tried are: ldapsearch -x -H ldap://192.168.10.10 -b "dc=example,dc=...
IT_User's user avatar
  • 210
0 votes
0 answers
1k views

AD - memberOf attribute missing on some accounts

On my AD domain some users do not have "memberOf" attribute set, so these accounts do not appear in search results when I perform an LDAP query like this: memberOf=CN=Group_A,OU=G-Security,...
J.B.'s user avatar
  • 325
0 votes
2 answers
904 views

LDAP - Add a filter to an LDAP URL so that only users belonging to a certain group can access the app

We enable an application to use LDAP. In the configuration of the application, we need to inform a URL to connect to LDAP. We are currently providing the following URL... ldap://10.2.0.5:389/dc=domain,...
Eduardo Lucio's user avatar
2 votes
0 answers
293 views

OpenLDAP Meta backend to return one result

I have configured OpenLDAP to act as a proxy server via meta backend to do remote queries to two different companies' Active Directory servers. Everything works correctly in terms of pulling ...
Chris's user avatar
  • 21
0 votes
1 answer
305 views

LDAP doesn't return a specifi sAMAccountName unless I explicitly search for it

i.e. I have a username - tonysmith, and when I run the query for all accounts in the DC, tonysmith isn't returned unless I specifically query for sAMAccountName=tonysmith. What gives?
Stephen K's user avatar
  • 162
2 votes
0 answers
639 views

Last login a user in OpenLdap

I am running openldap 2.4.45. Is there anyway I can get the last login time of a user using authtimestamp or any other attribute?
Gurkan Gurcan's user avatar
1 vote
0 answers
1k views

LDAPS (Can’t contact LDAP server ) trusting CA-Cert on ubuntu

I installed my Ca-cert like this: chmod 644 /usr/local/share/ca-certificates/root-ca.crt && update-ca-certificates this is successful but somehow ldapsearch with ldaps still won't connect to ...
friendly joe's user avatar
0 votes
1 answer
111 views

Openldap backup > restore omits certain attributes

Migrating from Debian Jessie (openldap 2.4.40) to Debian Buster (openldap 2.4.47), I came across a few bumps but the last one is just baffling. First issue: ldapsearch does not return all attributes ...
zenlord's user avatar
  • 242
1 vote
1 answer
1k views

ldaps SRV resolution not working

I have an AD environment and in ldapsearch, I am able to use SRV records in DNS to resolve the LDAP servers in the domain and in a site. This works great on the usual ldap port on 389, with basic auth ...
LeeM's user avatar
  • 1,423