Questions tagged [ldap]

Lightweight Directory Access Protocol (LDAP) is an application protocol for accessing and maintaining distributed directory information services over an Internet Protocol (IP) network.

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

Unable to link with the right version of libldap

I have a build machine where I have installed libldap-dev and the target host, I only have libldap. The versions are same Build: $ dpkg -l | grep libldap ii libldap-2.5-0:amd64 2.5.16+dfsg-...
Ani's user avatar
  • 89
1 vote
1 answer
160 views

Logins like [email protected] cause profile files to be owned by root

The users at my school are used to logging in to email, windows etc with a login [email protected] (authenticated with Active Directory via LDAP). Unfortunately this is causing havoc and corrupting ...
Bastion's user avatar
  • 171
0 votes
0 answers
43 views

ldap_modify: Other (e.g., implementation specific) error (80)

I am trying to configure LDAPS with Let's Encrypt, but I am keep getting this error: ldap_modify: Other (e.g., implementation specific) error (80) I am using Ubuntu 22.04 Permissions on Certificates ...
manjotsc's user avatar
0 votes
0 answers
26 views

LDAP Account Manager file upload is not working

I have a problem with the file upload in the LDAP account manager. It just generates an empty webpage with not message at all. Before my I updated from Ubuntu 20.04 to 22.04 it worked an either stated ...
Arne Fallisch's user avatar
0 votes
0 answers
19 views

Is Certificates are required for STARTTLS connection on LDAP

My LDAP server's ldap.conf file # # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. BASE dc=coretesting,dc=com URI ldap://ldap....
ram ajay's user avatar
0 votes
0 answers
31 views

How can I authorize a connection between two Gitlab and Freeipa containers (LDAP)?

here's my problem. I have a Freeipa LDAP (centos-8-stream-4.9.8) instance and another Gitlab (16.0.2-ee.0) instance running locally in two separate containers. These instances were launched via a ...
Dyn amo's user avatar
0 votes
1 answer
201 views

Some Azure Active Directory users are not able to login to Ubuntu Machines

Some AD Users are not able to access Ubuntu machine in the domain, the error after trying to access the server via ssh I get in /var/log/auth.log: Jun 14 11:50:36 SR sshd[1467842]: Invalid user ...
YaserMow's user avatar
  • 174
0 votes
0 answers
14 views

What are all the certificates mandatory to be provide while setting TLSVerifyClient option to demand?

In my case, I had set TLSVerifyClient to demand. I couldn't be able to establish a connection While providing TLSCACertificateFile alone. While setting the TLSVerifyClient option demand is it ...
ram ajay's user avatar
0 votes
1 answer
81 views

Ubuntu LDAP - does not work without connection to LDAP server?

I've configured LDAP on couple U20 virtual servers. Everything works when those servers have connection to LDAP Server but as soon as I disconnect them I cannot login anymore. Not even with root or ...
NASH7's user avatar
  • 1
0 votes
0 answers
53 views

How to restore openldap's mdb from dpkg's daily backups under /var/backups

I have openldap server on Ubuntu 22.04 and unfortunately it seems I lost part of my ldap directory data. After restarting my openldap server, its data somehow rollbacked to state as of January 2023 - ...
seieric's user avatar
0 votes
0 answers
162 views

OpenLDAP sudo-ldap rules not working

I have an OpenLDAP server on Ubuntu 22.04 with users associated to a posix group "group1". I configured sudo-ldap so that sudo rights are managed by the server and sssd to cache and query ...
Gabriel Cretin's user avatar
0 votes
0 answers
45 views

How to solve LDAP user getting login loop when trying to login? (No Xauthority file)

As the title says, an LDAP user is trying to login to a machine, and after entering their password, is sent back to the main screen. A number of guides online have told me to change the permissions on ...
ReeceAB's user avatar
0 votes
1 answer
382 views

Could not chdir to home directory

I have configured my machine with autofs to mount an LDAP users directory when they log in to a machine. I have created a directory in home called /guests. However when the LDAP user logs in, it isn't ...
ReeceAB's user avatar
0 votes
0 answers
17 views

Remote users do not retrieve files on login

We have LDAP implemented on the network, and a remote file server which contains the home directories for these LDAP users, most machines on our network have been configured so that when a remote user ...
ReeceAB's user avatar
0 votes
0 answers
179 views

ldap_sasl_interactive_bind problem with ldapsearch

LDAP clients has some problem. ldapsearch -X -h server.site.tld params ldap_sasl_interactive_bind: Unknown authentication method (-6) additional info: SASL(-4): no mechanism available: No worthy ...
Tavi's user avatar
  • 41
0 votes
0 answers
51 views

Ubuntu 20.04 name user add problem Bug #1927078

A problem occurred while upgrading the version of the Ubuntu system from 18.04 to 20.04. 18.04 user name For example, the user who was using 9128323 cannot log in in 20.04. (GUI only) 9128323 is a ...
Hyeok Ji's user avatar
1 vote
0 answers
70 views

"Not authorized to perform operation" accesing to a flash drive when logged in Kubuntu 22.04 only with numeric usernames of our LDAP

I've configured Kubuntu 22.04 with pam-ldap following: https://help.ubuntu.com/community/LDAPClientAuthentication After configuring ldap authentication, if I login in with a text username like "...
nugbe's user avatar
  • 31
0 votes
0 answers
120 views

SSSD: Why do I have to use my previous windows password when I login to the server?

I have to change password every third (?) month and I can’t login with the one I currently use in windows but instead the one that I had before this one. [sssd] domains = (HIDDEN).local ...
NikkoV's user avatar
  • 7
0 votes
1 answer
138 views

How to disable ldap failed authentication message from audit.logs

I have to disable LDAP user failed PAM authentication messages from audit.logs /var/log/audit.log | grep failed type=USER_AUTH msg=audit(1660931213.045:2190121): pid=289 uid=0 auid=4294965 ses=4297295 ...
Asghar Asma's user avatar
0 votes
1 answer
359 views

Ldap - access for specific machines

We have LDAP server with 300+ users-10 servers with different group. when we creating the users, every user has access of all the 10 servers. So I want to restrict the user access. So LDAP user or ...
Dinesh KS's user avatar
-1 votes
1 answer
405 views

Reduce the size of Ubuntu server

I have a Ubuntu 22.04 VM and would like to reduce the size on the HDD. I have only to run : a ldap server a keycloak server a freeradius server I have already remove snapd. Is there a method to ...
Ewok2's user avatar
  • 1
0 votes
1 answer
1k views

Ubuntu 20.04 and ldap authentification

I struggle a little bit with setting up ldap authentification on Ubuntu 20.04. I followed this guide, that is, I installed the packages libnss-ldap libpam-ldap ldap-utils nscd. nsswitch.conf looks ...
beedaddy's user avatar
4 votes
1 answer
2k views

What is the replacement tool for auth-client-config in 20.04

I am following the instructions to setup LDAP authentication for an Ubuntu Focal (20.04) client. One of the steps is to execute the command sudo auth-client-config -t nss -p lac_ldap. Supposedly this ...
Tuaris's user avatar
  • 41
4 votes
2 answers
2k views

curl dynamic linking problem in 21.10

I recently got a Dell Precision 3450 with ubuntu 20.04, and upgraded to ubuntu 21.10 in two steps (20.04 -> 21.04 -> 21.10). This required upgrading the file /usr/lib/os-release by hand, as ...
user313032's user avatar
0 votes
1 answer
620 views

ldap-account-manager problem

I have a problem about ldap-account-manager remove. Here is errors. $ sudo apt-get remove ldap-account-manager -y Reading package lists... Done Building dependency tree Reading state information... ...
hsyn's user avatar
  • 3
0 votes
0 answers
132 views

how can I show ldap account on lightdm xfce

I got another problem with ldap account on lightdm greeter. Lightdm greeter could not list ldap user. Therefore, After logging in with LDAP account, I restarted the computer, the LDAP account was not ...
dtvu88's user avatar
  • 11
1 vote
0 answers
375 views

Keyring has stopped unlocking automatically on login. How can I make it start again?

I have a "Login" keyring in my Gnome on Ubuntu 18.04 LTS. The password on this Login keyring is the same as my login password. It was always the case that it would only unlock intermittently....
Valtandor's user avatar
0 votes
1 answer
957 views

pam_mkhomedir.so not working with nslcd + LDAP (Active Directory)

I'm trying to get pam_mkhomedir.so to create an LDAP user's local home directory upon initial login. I'm on Ubuntu 20.04 LTS. Currently, users are added to my server via LDAP (Active Directory backend)...
Justin417's user avatar
  • 131
-1 votes
1 answer
631 views

How to create LDAP users in bulk on Linux (UBUNTU)

i just install LDAP server on my server and its working fine. now i would like to create 20 users with different names so is there any script to create users in bulk on LDAP server. OS: ubuntu 20.04 ...
kaushik's user avatar
  • 41
0 votes
1 answer
2k views

SSSD - Unable to Authenticate Against Google LDAP After 20.04 Upgrade - Could not start TLS encryption. unknown error

I'm trying to authenticate against Google LDAP (G Suite/Google Admin) to allow my clients to log in using their Google credentials. I have no visibility on the LDAP side of things I can only generate ...
A V's user avatar
  • 1
0 votes
1 answer
407 views

Openldap upgrade from 2.4 to 2.5

we are using Openldap version Version: 2.4.45+dfsg-1ubuntu1.10 how can I upgrade or migrate to 2.5? Thanks
Dinesh KS's user avatar
0 votes
0 answers
239 views

Nslcd:cannot open nsswitch.conf

When I try to run systemctl status nslcd An error in between the lines appear and it looks like this: cannot open /etc/nsswitch.conf: Permission denied I haven't change the permissions for neither of ...
kcpf's user avatar
  • 1
0 votes
1 answer
1k views

LDAP binding error

I have a secure LDAP configured on a Active Directory. I am trying to query it using the ldapsearch command on Ubuntu. Following are dummy details: Domain Name: dc=qwerty,dc=com LDAP Server: ...
phileinSophos's user avatar
1 vote
1 answer
895 views

Domain AD users aren't get discovered after adding Ubuntu under AD domain control

I've Joined a my ad domain with my Ubuntu 20.04.2 LTS VM (I followed this doc) and I'veJoined the AD domain with Ubuntu as sudo realm join -U Administrator win2016.local realm list show below output ...
Swapnil Kotwal's user avatar
0 votes
1 answer
370 views

Open LDAP installation failed

I have tried this way. sudo apt-get install -y slapd But it is showing error. I am using Ubuntu 20.4.0.2 Reading package lists... Done Building dependency tree Reading state information... ...
Saiful Islam Niloy's user avatar
1 vote
1 answer
2k views

Samba with LDAP auth stopped working when upgrading Xenial to Fossa

We run an open source Java web application, which provides the users with a Windows file share to upload lots of big files. When a new user account is added, the web app writes a user record to a ...
Matthias Ronge's user avatar
1 vote
1 answer
787 views

sudo constantly asking for password with LDAP SSH user

I'm using Ubuntu 16.04, just upgraded sudo from version 1.8.16 to 1.9.5p2. When I SSH to server by LDAP account, I try to run some sudo command, the server require to input password constantly, I'm ...
Tien Dung Tran's user avatar
1 vote
1 answer
1k views

LDAP authentication on Ubuntu 18.04

context I'm trying to configure LDAP authentication on an Ubuntu 18.04 machine. steps to reproduce In order to do that, I followed the following steps: apt install sssd libpam-sss libnss-sss create ...
E. Jaep's user avatar
  • 133
1 vote
0 answers
2k views

SSSD with AD: How can I ensure AD groups not missing when ldap_id_mapping = False?

Why does altering ldap_id_mapping present different group memberships on the same AD user? I was hoping to have my UID/GID be the same as AD with IDMU: SSSD with AD: use UID/GID specified on domain ...
AveryFreeman's user avatar
  • 1,216
1 vote
1 answer
962 views

Enabling OpenLdap authentication in ubuntu 18.04

I am trying to enable LDAP authentication on my ubuntu client. So far I tried the following instructions: https://www.tecmint.com/configure-ldap-client-to-connect-external-authentication/ https://www....
Shadi Khosravi's user avatar
1 vote
0 answers
199 views

How to configuration sssd for sftp logins in kubernetes pod level

I have deployed SFTP service in kuberenetes pod level through statefulset. I want to authenticate SFTP login users through LDAP, hence I configured sssd service to configure a ldap client on SFTP ...
R Bhaaagi's user avatar
4 votes
2 answers
3k views

How to setup Strongswan to auth to LDAP?

I'm trying to create an L2TP/IPSEC VPN server in 20.04 that uses LDAP for user authentication. I'm assuming Strongswan does this. Where, in Strongswan or other configs would I add the LDAP server info?...
Chemdream's user avatar
  • 153
0 votes
1 answer
658 views

Cannot open log file Xorg.pid

I encounter serious problem. When I am trying to login to my LDAP User, gdm doesn't start my user session and want me to log in again. I have connection to LDAP Server I can login to that account on ...
Eddy's user avatar
  • 101
1 vote
1 answer
776 views

Is it still possible to authenticate and authorize 20.04 against an unencrypted LDAP server?

20.04/'Focal Fossa' uses sssd to handle authentication, authorization, and user and group information against LDAP. Nevertheless, sssd does not support authentication over an unencrypted channel. I ...
Thomas R.'s user avatar
0 votes
1 answer
159 views

Configure SSSD Package against Microsoft Patch (inforce LDAPS/tls)

I'm looking at altering some config of some Ubuntu machines that are using the SSSD package to bind to AD. As far as I understand, all ldap queries should be going through TSL from the config below. ...
jamboNum5's user avatar
  • 130
1 vote
1 answer
3k views

OpenLDAP Trouble Setting TLS Cipher List

My institution wants to configure one of our Ubuntu servers with OpenLDAP in order to interface with our SSO provider, Okta, using a server-side agent they have for provisioning users from their cloud ...
lilylily's user avatar
4 votes
1 answer
503 views

18.04 KDE screenlocker showing full username for Local Users, but not for remote (LDAP authenticated) users

I've got an issue where my KDE screenlocker will not show the full username for the logged in user (for this session) if that user is LDAP authenticated. This means that when the screen is locked, you ...
cleary's user avatar
  • 674
1 vote
0 answers
869 views

SSSD with "ldap_id_mapping = false" will fail to start, clearing /var/lib/sss/db/* and restarting service does not resolve

I’m working through a strange issue with SSSD on Ubuntu 18.04 - Unit is bound to the domain using Realmd, with SSSD as the primary authentication management service. If I change the line: ...
scotchman's user avatar
0 votes
1 answer
3k views

LDAP client cannot login on GDM

I am setting up my Ubuntu 19.04 desktop to work with an openldap server. I cannot login using GDM. I have added nscd and I have changed my set-up as follows: common-account:account [success=1 ...
Dries's user avatar
  • 183
0 votes
2 answers
2k views

LDAP accounts not given same rights/permissions/policies as Local accounts

Just tried switching from Linux Mint to Ubuntu 18.10 but encountered numerous problems with accounts. All the steps to recreate are below in details. I would love to know how Ubuntu 18.10 ...
Pavel Diptan's user avatar

1
2 3 4 5 6