Bug 299135

Summary: ldap: users can not log in
Product: [openSUSE] openSUSE 10.3 Reporter: Casual J. Programmer <casualprogrammer>
Component: YaST2Assignee: E-mail List <bnc-team-screening>
Status: RESOLVED WONTFIX QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: casualprogrammer
Version: Beta 1   
Target Milestone: ---   
Hardware: x86   
OS: openSUSE 10.3   
Whiteboard:
Found By: Beta-Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Casual J. Programmer 2007-08-10 07:06:12 UTC
After a "clean" install from beta1 DVD, users with ldap accounts can not login to gnome desktop.

.xsession-errors:

/etc/X11/xim: Checking whether an input method should be started.
/etc/X11/xim: user environment variable LANG=en_US.UTF-8
sourcing /etc/sysconfig/language to get the value of INPUT_METHOD
INPUT_METHOD is not set or empty (no user selected input method).
Trying to start a default input method for the locale en_US.UTF-8 ...
There is no default input method for the current locale.
No profile for user 'cjp' found
Could not get password database information for UID of current process: User "???" unknown or no memory to allocate password entry

Failed to start message bus: Memory allocation failure in message bus
EOF in dbus-launch reading address from bus daemon
Comment 1 Casual J. Programmer 2007-08-10 10:10:11 UTC
This is really getting neat. After creating a second, local user, when logging in with ldap users name and password I get logged in as local user with his name and password.

ldap user cjp
local user jcd

as long as no local user exists result is as comment #0, as soon as local user jcd is established, result of logging in as cjp is being logged in as jcd.

Not sure what kind of information is needed.

I did a complete reinstall from beta1 DVD to make sure this is reproducible.

Comment 2 Casual J. Programmer 2007-08-10 14:04:03 UTC
Interestingly enough, both users, LDAP as well as local, are given uid 1000. Not sure why this should be possible.

Changed local users ID manually to 1001, now this one behaves normal. The LDAP user still can not login as per comment #0
Comment 3 Casual J. Programmer 2007-08-12 10:26:09 UTC
After removing _all_ users and setting up at least one local user first, uid's are incremented properly and the LDAP users are behaving normally again.
Comment 4 JP Rosevear 2007-08-15 16:11:06 UTC
Interesting - this does not seem like a GNOME error anymore, I presume you are using Yast to do the ldap setup.
Comment 5 Casual J. Programmer 2007-08-15 17:44:51 UTC
I actually tried to register this as YaST Bug ;-)
Comment 6 Andreas Jaeger 2007-08-19 13:27:49 UTC
This might be a duplicate of #298830.
Comment 7 Jiri Dluhos 2007-08-24 16:58:12 UTC
Could you please try this with beta2? If it is the same problem as with #298830, it should be fixed there.
Comment 8 JP Rosevear 2007-08-27 19:34:04 UTC
*** Bug 295585 has been marked as a duplicate of this bug. ***
Comment 9 Matej Horvath 2007-09-03 09:55:10 UTC
Please reopen the bug if you can provide the needed information, thanks.