Questions tagged [ldapsearch]
The ldapsearch tag has no usage guidance.
22 questions
0
votes
0
answers
40
views
Google Workspace LDAP Filter by UID in Multi-Domain Structure
I'm having some issues and confusion regarding Google Workspace LDAP and LDAP in general.
I have an organizational unit called example.com. Inside this organizational unit in Google, I have sub-units ...
0
votes
1
answer
166
views
Missing schema location in RootDSE, no BaseDn displayed
I am not very fit in LDAP. Could you please take a look on my slapd.ldif file that is used to configure my server?
I'll be happy to hear any comments from your site (there might be multiple flows and ...
0
votes
0
answers
1k
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 ...
0
votes
0
answers
175
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
...
0
votes
0
answers
598
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 ...
1
vote
0
answers
65
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 ...
1
vote
1
answer
387
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" #...
0
votes
0
answers
551
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)...
0
votes
0
answers
1k
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 ...
1
vote
1
answer
3k
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=...
0
votes
1
answer
1k
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 ...
0
votes
0
answers
3k
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,...
0
votes
0
answers
713
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 ...
2
votes
2
answers
5k
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=...
0
votes
0
answers
2k
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,...
0
votes
2
answers
1k
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,...
2
votes
0
answers
387
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 ...
0
votes
1
answer
393
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?
2
votes
0
answers
824
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?
1
vote
0
answers
2k
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 ...
0
votes
1
answer
141
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 ...
1
vote
1
answer
2k
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 ...