winbind crashes on authentication (winbind_pam_auth)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
samba (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Jaunty |
Won't Fix
|
Undecided
|
Unassigned | ||
Karmic |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Binary package hint: samba
This box was configured as a domain member on a window2k8 Active Directory domain. It was recently upgraded from Intrepid 8.10 , running samba 2:3.2.3-1ubuntu3.6, to Jaunty 9.04, running 2:3.3.2-1ubuntu3.2, and now the winbind daemon frequently crashes on authentication (but occasionally it will work for several auths with no problem).
# lsb_release -rd
Description: Ubuntu 9.04
Release: 9.04
# apt-cache policy winbind
winbind:
Installed: 2:3.3.2-1ubuntu3.2
Candidate: 2:3.3.2-1ubuntu3.2
Version table:
*** 2:3.3.2-1ubuntu3.2 0
500 http://
500 http://
100 /var/lib/
2:
500 http://
To reproduce the problem:
# wbinfo -t
checking the trust secret via RPC calls succeeded
# wbinfo -a john
Enter john's password:
plaintext password authentication succeeded
Enter john's password:^C
Interupted by signal.
/var/log/auth.log shows the authentication as successful...
Jan 5 09:56:24 havelock sshd[8729]: pam_winbind(
... but /var/log/
[2010/01/05 09:56:24, 3] winbindd/
[ 8729]: pam auth john
*** glibc detected *** /usr/sbin/winbindd: double free or corruption (!prev): 0x00007faef5b91d90 ***
======= Backtrace: =========
/lib/libc.
/lib/libc.
/usr/lib/
/usr/lib/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib/libc.
/usr/sbin/
I have duplicated the box as a vm, and upgraded that to Karmic, which has the same symptom, although with a slightly different error. I -think- the problems are related, so I'll include it :
Description: Ubuntu 9.10
Release: 9.10
winbind:
Installed: 2:3.4.0-3ubuntu5.1
Candidate: 2:3.4.0-3ubuntu5.1
Version table:
*** 2:3.4.0-3ubuntu5.1 0
500 http://
100 /var/lib/
2:
500 http://
On any winbind authentication: ssh, console login, wbinfo -a
/var/log/auth.log: pam_winbind.so debug
Jan 5 10:40:23 testhavelock sshd[3306]: pam_winbind(
Jan 5 10:40:23 testhavelock sshd[3306]: pam_winbind(
Jan 5 10:40:23 testhavelock sshd[3306]: pam_winbind(
Jan 5 10:40:23 testhavelock sshd[3306]: pam_winbind(
Jan 5 10:40:23 testhavelock sshd[3306]: pam_winbind(
Jan 5 10:40:23 testhavelock sshd[3306]: pam_winbind(
/var/log/
[2010/01/05 10:40:23, 3] winbindd/
[ 3306]: pam auth john
[2010/01/05 10:40:23, 10] winbindd/
refresh_
[2010/01/05 10:40:23, 10] winbindd/
refresh_
[2010/01/05 10:40:23, 5] winbindd/
resolve_
[2010/01/05 10:40:23, 10] winbindd/
Sending request to child pid 3296 (domain=FFAD)
[2010/01/05 10:40:23, 10] winbindd/
Retrieving response for pid 3296
[2010/01/05 10:40:23, 10] winbindd/
Retrieving extra data length=222
[2010/01/05 10:40:23, 6] winbindd/
accepted socket 21
*** glibc detected *** /usr/sbin/winbindd: corrupted double-linked list: 0x00007fe687b142b0 ***
======= Backtrace: =========
/lib/libc.
/lib/libc.
/lib/libc.
/lib/libc.
/usr/lib/
/usr/sbin/
/usr/sbin/
/usr/sbin/
/lib/libc.
/usr/sbin/
More detailed logs and GDB backtraces are attached.
description: | updated |
Changed in samba (Ubuntu): | |
status: | Incomplete → Fix Released |
Changed in samba (Ubuntu Karmic): | |
status: | Triaged → Won't Fix |
Couldn't find anything relevant on upstream bugtracker. Let me know if you could also test a lucid upgrade in a vm to check if 3.4.3 behaves any better in your configuration.