Questions tagged [ldapsearch]

21 questions
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
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
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
  • 3
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
  • 4
1
vote
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
  • 210
  • 1
  • 3
  • 22
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,388
  • 9
  • 14
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…
André Fernandes
  • 969
  • 1
  • 10
  • 25
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:…
ram ajay
  • 11
  • 2
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
  • 131
  • 5
0
votes
0 answers

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 is correct. Can you help me please? #…
0
votes
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
  • 51
  • 3
0
votes
0 answers

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) to one of the backends. The change had the…
nathou
  • 163
  • 6
0
votes
0 answers

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 login data. Users, who aren't a member of the group,…
0
votes
1 answer

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 receiving. (There were multiple other errors but that…
tvziem
  • 1
1
2