Bug 134393 - gdm doesn't recognize NIS based user logins
Summary: gdm doesn't recognize NIS based user logins
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gdm
Version: 3
Hardware: i586
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-10-01 23:02 UTC by G.Wolfe Woodbury
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-06-23 08:22:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description G.Wolfe Woodbury 2004-10-01 23:02:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.1)
Gecko/20031114

Description of problem:
after firstboot with ypbind running, attempts to login as a NIS/YP
based user results in an unrecognized user.  

Version-Release number of selected component (if applicable):
gdm-2.6.0.5-3

How reproducible:
Always

Steps to Reproduce:
1. fresh install of rawhide from 2004-10-01
2. after firstboot configuration
3. attempt to login as an NIS based username
    

Actual Results:  GDM responds as if the user doesn't exist with the
usual messages in the dialog box.  (e.g. the warning that the username
and password may be wrong)

Expected Results:  normal login

Additional info:

ssh connections to the test machine have no problems with NIS based
users.  Su has no problems with the NIS based usernames.
/var/log/messages shows:

Oct  1 16:02:54 tembo gdm(pam_unix)[3232]: could not identify user
(from getpwnam(ggw))
Oct  1 16:02:54 tembo gdm-binary[3232]: Couldn't set acct. mgmt for ggw

Could this be another glibc bug?

Comment 1 G.Wolfe Woodbury 2004-10-01 23:05:58 UTC
previous glibc bug was bug 133982


Comment 2 The Ha 2004-11-17 17:49:15 UTC
Hi
Have anybody find a solution for this ?
I am running the FC3 final and still experience the same problem.


Comment 3 Ray Strode [halfline] 2004-11-17 21:21:31 UTC
Hi,

Could you post your /etc/nsswitch.conf file?

Also what does the command

getent passwd 

return?

Comment 4 Ray Strode [halfline] 2004-11-17 21:25:00 UTC
Does this only happen the first time you boot after a fresh install or
does this happen every time?

Comment 5 The Ha 2004-11-18 17:07:18 UTC
I found the solution for this.

The default of /etc/sysconfig/authconfig is USENIS=no

Change it to "yes" and reboot.

Comment 6 G.Wolfe Woodbury 2004-11-26 01:41:05 UTC
Seems to be gone for me.  There were some problems with the FC3 NIS
server as well.


Note You need to log in before you can comment on or make changes to this bug.