LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 05-03-2012, 01:26 PM   #1
mkmur55
LQ Newbie
 
Registered: May 2012
Posts: 4

Rep: Reputation: Disabled
Talking Ldap Authentication


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.

Any help would be greatly appreciated.
 
Old 05-03-2012, 02:01 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
why does it seem like a permissions issue? What makes you say that?

what does a "getent passwd 2110" say? what about just a "getent passwd"?
 
Old 05-03-2012, 02:07 PM   #3
mkmur55
LQ Newbie
 
Registered: May 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
As root:
getent passwd | grep con21084
con21084:x:2110:1:Mike Murphy - FPP:/home/con21084:/usr/bin/ksh

As con21084
getent passwd | grep con21084
$

It only lists the local accounts on the server and this is not a local account.
 
Old 05-05-2012, 12:21 PM   #4
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
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?
 
Old 05-07-2012, 08:54 AM   #5
mkmur55
LQ Newbie
 
Registered: May 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
Ldap Authentication

The ldap server is running IBM Directory Server 6.0.
 
Old 05-07-2012, 10:57 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
right, and what about the other things btmiller asked?
 
Old 05-07-2012, 01:17 PM   #7
mkmur55
LQ Newbie
 
Registered: May 2012
Posts: 4

Original Poster
Rep: Reputation: Disabled
# @(#)$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
 
Old 05-07-2012, 02:16 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
what's that for?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] LDAP authentication error [Can't contact LDAP server] from apache httpd jonathan_w_brown Linux - Server 6 12-28-2011 05:30 PM
What are my options to enable LDAP authentication for certain LDAP users? ghost_dancer999 Linux - Security 1 10-18-2011 01:41 AM
Authentication Failure in LDAP after the Modification of ldap to ldaps url vijith.pa@gmail.com Linux - Newbie 3 06-03-2011 05:30 AM
[SOLVED] Apache authentication: allow LDAP group OR user named guest, but not all LDAP users AlucardZero Linux - Server 1 05-25-2011 03:21 PM
ldap authentication goestin Linux - Networking 2 12-27-2005 11:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration