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
42 views

How to monitor Samba "LDAP" traffic?

I have Samba running as AD Domain Controller, I want to debug the LDAP connections coming to my Samba LDAP server. I tried to raise the log level, but still I see no useful information except the very ...
Mohammed Noureldin's user avatar
4 votes
1 answer
143 views

How to check which package/process updated nsswitch?

I've experincing problems with my /etc/nsswitch.conf. I'm not longer able to use sudo as my personal user (ldap). I've checked dpkg.log, and it seems it's been som upgrades on the packages which ...
N. J's user avatar
  • 171
0 votes
0 answers
54 views

SSH to ldap client hangs when ldap server is not reachable on ubuntu 20.04

I am using ubuntu 20.04 VM as ldap client and docker is my ldap server. When ldap server is not reachable ssh to ldap client vm gets hungs. Below are the auth logs Dec 18 07:02:40 tpvm22 sshd[24790]: ...
Shaik Musthafa's user avatar
0 votes
0 answers
58 views

OpenLDAP works but service doesn't start during boot

Couple of days ago, we've had to change LDAP Server to which our clients connect. We have no access to the server, only to the clients. So as soon we changed server in ldap.conf after reboot libnss-...
NASH7's user avatar
  • 13
0 votes
0 answers
23 views

How to default to encryption of new home directories when using ldap

When using adduser, one can pass --encrypt-home to encrypt the newly generated home directory. Supposedly, this can be made the default by correctly setting up /etc/adduser.conf. However, for ...
Gerald Senarclens de Grancy's user avatar
0 votes
0 answers
22 views

openldap schema import error

I am trying to import schema in openldap which has been configured in ubuntu machine. I am trying with below command and getting below error. Can anyone help me on this. cd /tmp/openldapldif &&...
Jagannath Tripathy's user avatar
0 votes
0 answers
82 views

Ubuntu 23.04 GUI won't allow LDAP Users to log in, CLI LDAP Works

Can someone help me to configure Open LDAP clients to log into Ubuntu 23.04 workstation via GUI, so far i can access and log in to the LDAP via CLI i have read a lot of articles regarding the ...
Robe's user avatar
  • 1
0 votes
0 answers
101 views

How to connect to an ldap server via ldapsearch?

Used ldapsearch -x -b dc=domain,dc=com -H ldap://10.0.0.4 Issued To perform this operation, you must ensure successful connection binding., data 0, v3839 After diving into Google, I came across the ...
SelfGod's user avatar
0 votes
0 answers
181 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
  • 39
1 vote
1 answer
253 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
  • 191
0 votes
0 answers
147 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
68 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
52 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
79 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
619 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
18 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
159 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
  • 13
0 votes
1 answer
578 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
66 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
81 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
143 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
167 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's user avatar
  • 1
0 votes
1 answer
509 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
587 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
2k 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
800 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
169 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
440 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
1k 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
  • 141
-1 votes
1 answer
831 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
662 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
275 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: ...
philein-sophos's user avatar
1 vote
1 answer
1k 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
450 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
851 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
2k 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
3k 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 ...
Avery Freeman's user avatar
1 vote
1 answer
1k 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
237 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
737 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
813 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
173 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
525 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
2 3 4 5 6