http://bugzilla.novell.com/show_bug.cgi?id=587014 http://bugzilla.novell.com/show_bug.cgi?id=587014#c0 Summary: Winbind offline authentication not working after upgrade to samba 3.5.x Classification: openSUSE Product: openSUSE 11.2 Version: Final Platform: x86-64 OS/Version: openSUSE 11.2 Status: NEW Severity: Major Priority: P5 - None Component: Samba AssignedTo: samba-maintainers@SuSE.de ReportedBy: koen.dewitte@jandenul.com QAContact: samba-maintainers@SuSE.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US) AppleWebKit/533.2 (KHTML, like Gecko) Chrome/5.0.342.1 Safari/533.2 Using OSS11.2 as desktop on a AD2003 domain with offline login enabled. After upgrade to the 3.5 stack (tried 3.5.0 and 3.5.1) I can no longer user offline login. It seems there is a problem with the tdb in the backend. This is what I get in the log for version 3.5 [2010/03/07 09:19:23, 0] winbindd/winbindd.c:1093(main) winbindd version 3.5.0-1.1-2315-SUSE-SL11.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2010/03/07 09:19:23.416658, 1] lib/tdb_validate.c:470(tdb_validate_and_backup) tdb '/var/lib/samba/winbindd_cache.tdb' is invalid [2010/03/07 09:19:23.416779, 1] lib/tdb_validate.c:476(tdb_validate_and_backup) No backup found. [2010/03/07 09:19:23.416935, 1] lib/tdb_validate.c:494(tdb_validate_and_backup) Corrupt tdb stored as '/var/lib/samba/winbindd_cache.tdb.corrupt' [2010/03/07 09:19:23.416967, 0] winbindd/winbindd_cache.c:4094(winbindd_cache_validate_and_initialize) winbindd cache tdb corrupt and no backup could be restored. [2010/03/07 09:19:23.417420, 0] winbindd/winbindd_cache.c:3076(initialize_winbindd_cache) initialize_winbindd_cache: clearing cache and re-creating with version number 1 And the same for 3.5.1 winbindd version 3.5.1-1.1-2323-SUSE-SL11.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2010 [2010/03/10 10:09:24.823684, 1] lib/tdb_validate.c:470(tdb_validate_and_backup) tdb '/var/lib/samba/winbindd_cache.tdb' is invalid [2010/03/10 10:09:24.823738, 1] lib/tdb_validate.c:478(tdb_validate_and_backup) backup '/var/lib/samba/winbindd_cache.tdb.bak' found. [2010/03/10 10:09:24.824374, 1] lib/tdb_validate.c:482(tdb_validate_and_backup) Backup '/var/lib/samba/winbindd_cache.tdb.bak' is invalid. [2010/03/10 10:09:24.824437, 1] lib/tdb_validate.c:494(tdb_validate_and_backup) Corrupt tdb stored as '/var/lib/samba/winbindd_cache.tdb.corrupt' [2010/03/10 10:09:24.824555, 0] winbindd/winbindd_cache.c:3103(initialize_winbindd_cache) initialize_winbindd_cache: clearing cache and re-creating with version number 1 To fix it, i have to downgrade. (To the OSS11.2 3.4.2 standard) [2010/03/10 11:17:04, 0] winbindd/winbindd.c:1244(main) winbindd version 3.4.2-1.1.3.1-2229-SUSE-SL11.2 started. Copyright Andrew Tridgell and the Samba Team 1992-2009 [2010/03/10 11:17:04, 0] winbindd/winbindd_cache.c:3673(cache_traverse_validate_fn) cache_traverse_validate_fn: unknown cache entry key : [2010/03/10 11:17:04, 0] ../lib/util/util.c:304(_dump_data) [0000] 4E 44 52 2F 52 4F 4F 54 44 4F 4D 41 49 4E 2F 32 NDR/ROOT DOMAIN/2 [0010] 2F 0F 00 00 00 00 00 00 00 0F 00 00 00 44 45 5F /....... .....DE_ [0020] 4E 55 4C 5F 4E 45 54 57 4F 52 4B 00 00 05 00 00 NUL_NETW ORK..... [0030] 00 00 00 00 00 05 00 00 00 52 4F 4F 54 00 00 00 ........ .ROOT... [0040] 00 08 00 00 00 ..... [2010/03/10 11:17:04, 0] winbindd/winbindd_cache.c:3675(cache_traverse_validate_fn) data : [2010/03/10 11:17:04, 0] ../lib/util/util.c:304(_dump_data) [0000] 2F 68 0E 00 00 00 00 00 00 00 00 00 00 00 00 00 /h...... ........ [0010] 73 00 00 C0 s... [2010/03/10 11:17:04, 1] lib/tdb_validate.c:459(tdb_validate_and_backup) tdb '/var/lib/samba/winbindd_cache.tdb' is invalid [2010/03/10 11:17:04, 1] lib/tdb_validate.c:467(tdb_validate_and_backup) backup '/var/lib/samba/winbindd_cache.tdb.bak' found. [2010/03/10 11:17:04, 1] lib/tdb_validate.c:488(tdb_validate_and_backup) valid backup '/var/lib/samba/winbindd_cache.tdb.bak' found [2010/03/10 11:17:04, 1] lib/tdb_validate.c:496(tdb_validate_and_backup) Restored tdb backup from '/var/lib/samba/winbindd_cache.tdb.bak' Reproducible: Always Steps to Reproduce: 1.Install OSS11.2 and enable AD login with offline enabled 2.upgrade to latest samba stable packages (3.5.1) 3.try to login offline Actual Results: "User is not known to the underlying authentication module" Also, you do not see the user in the GDM screen at login (when offline!) Expected Results: normally you can login with an AD user offline and see that cached account in the GDM. When logging in you get the message "logging in with cached credentials" -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.