Questions tagged [ldapsearch]

23 questions
2
votes
2 answers

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=domain,dc=com" -D…
IT_User
  • 229
2
votes
0 answers

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 information from both domains. However... we have a case…
Chris
  • 21
2
votes
0 answers

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

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 groups and OUs in my organization. ldapsearch -x -b…
RuMAN S
  • 61
1
vote
1 answer

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" #CN=Users,DC=ldap,DC=example,DC=be admin:…
Pro
  • 129
1
vote
0 answers

How to test ldapsearch on Linux

I have ldapsearch installed on my Linux host. How can I test this application? Is there an LDAP Server on the Internet that I can use? In my company there is Active Directory that uses LDAP. Can I use it for my tests?
1
vote
1 answer

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=en:public:netz:auth When executing ldapsearch…
Sammy
  • 13
1
vote
0 answers

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,OU=CB-Groups,OU=company,DC=lan,DC=name,DC=it Performing that…
J.B.
  • 345
1
vote
0 answers

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 the server (Can’t contact LDAP server). without ssl the…
1
vote
1 answer

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 and STARTTLS. However, some horrible clients…
LeeM
  • 1,580
0
votes
0 answers

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 named example.co, example.es, and example.it. The…
tmpjg
  • 1
0
votes
1 answer

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 nonsenses here), but the biggest problem I found…
Smok
  • 1
0
votes
0 answers

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 relations between user and groups are mapped Group…
0
votes
0 answers

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 dn:…
0
votes
0 answers

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: -b "dc=example,dc=com ldap_sasl_bind(SIMPLE): Can't contact LDAP server (-1) However, it's possible to contact…
N. J
  • 123
  • 1
  • 9
1
2