Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
We are using an AIX ldap server with both Linux and AIX clients. The error ONLY happens when the Linux clients login. "id: cannot find name for user ID 2110". This only happens with the ldap user and NOT root or local accounts.
If the same user logs in to an AIX server, it works without any issues.
I have checked permissions in nsswitch.conf, ldap.conf and they are 644. I inherited this setup and the AIX administrator did as well. He doesn't know much about ldap and neither do it so trying to figure it out as I go. I also have a ticket with Redhat but they're not helping much. The other gotcha is there isn't any logging on the AIX server.
It seems like a permissions issue but don't know where.
Hmmm ... what version of Linux are you using? How is LDAP authentication set up (i.e. are you using pam_ldap, nslcd, or something like sssd)? What happens when you run "ldapsearch -x" as both a normal user and as root?
It looks to me like there's some sort of issue binding to the LDAP server as an unprivileged user, but you'd have to hunt through how the LDAP is configured to figure out what it is. Also, there's potentially a version mismatch between the client and the server. Do you know if the AIX server is running OpenLDAP, or something proprietary from IBM?
# @(#)$Id: ldap.conf,v 1.38 2006/05/15 08:13:31 lukeh Exp $
#
# This is the configuration file for the LDAP nameservice
# switch library and the LDAP PAM module.
#
# The man pages for this file are nss_ldap(5) and pam_ldap(5)
#
# PADL Software
# http://www.padl.com
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.