Category : ldap

I am having some trouble with setting up an LDAP image in docker or more precisely to connect to said LDAP image. I am currently working with the Bitnami Image and am using the following docker-compose.yml: version: ‘3’ networks: my-network: driver: bridges services: ldap: image: bitnami/openldap:latest restart: unless-stopped environment: – LDAP_ORGANISATION=”My Company” – LDAP_DOMAIN=”my-company.com” – ..

Read more

I’m trying to ldapsearch from host to a container but it’s not working. I start with : docker run -p 389:389 -p 636:636 –name openldap –detach osixia/openldap:1.5.0 –env LDAP_ORGANISATION="OpenLdap" –env LDAP_DOMAIN="example.org" –env LDAP_ADMIN_PASSWORD="admin" Then this works : docker exec openldap ldapsearch -x -H ldap://localhost -b dc=example,dc=org -D "cn=admin,dc=example,dc=org" -w admin extended LDIF LDAPv3 base <dc=example,dc=org> ..

Read more

I´m trying to configure my Nexus instance, OSS 3.30.1-01, to integrate with LDAP. It appears to work with the settings bellow: Connection Protocol: ldap Hostname: mydomain.net Port: 636 Search Base: dc=mydomain,dc=net Authentication Auth. Method: Simple Authentication SASL Realm: Username: dc=admin,dc=mydomain,dc=net Password: MySuperSecretPassword When I click on Check Authentication it returns: LDAP connection and authentication test ..

Read more

I am running jenkins in docker compose from image jenkins/jenkins. After upgrading to Jenkins 2.277.1 LDAP authentication stopped working and I can’t log in. I am getting following error: jenkins.docker.new_1 | 2021-06-04 14:49:31.311+0000 [id=138] WARNING o.j.p.p.DiskUsageCollector#collect: Cannot get disk usage data. Install CloudBees Disk Usage Simple plugin to enable jenkins.docker.new_1 | 2021-06-04 14:49:32.352+0000 [id=20] WARNING ..

Read more

I am running one of my apps on php and at one point in the code I’m using ldap for authenticating users. Below is the code. <?php session_start(); // error_reporting(E_ERROR | E_PARSE); // $username = $_POST[‘username’]; // $password = $_POST[‘password’]; $username = "xxx"; $password = "xxxx"; $ldapconfig[‘host’] = "xxxx"; $ldapconfig[‘port’] = "xxxx"; $ldapconfig[‘basedn’] = ‘xxxxx’; ..

Read more