[Samba] winbind issues (domain user attempting session with samba)
Michael Gasch
gasch at eva.mpg.de
Thu Sep 4 08:20:35 GMT 2003
i have nearly the same problem
http://lists.samba.org/pipermail/samba/2003-September/102252.html
seems to be buggy....
:(
greez
Preston.Newton at txucom.com wrote:
> Ok guys there's a lot of stuff in here. I am using Samba3.0beta1, becuase
> I tried beta3 and when I mounted shares i could look at them. Well anyways
> I'm in beta1 and I am attempting to set up winbind. Below is a copy of my
> pam.d/samb file:
>
> PAM.D/SAMBA:
> auth sufficient /lib/security/pam_winbind.so
> auth sufficient /lib/security/pam_unix.so use_first_pass
> auth required /lib/security/pam_stack.so service=system-auth
> auth required /lib/security/pam_nologin.so
> auth sufficient /lib/security/pam_winbind.so
> account required /lib/security/pam_stack.so service=system-auth
> password required /lib/security/pam_stack.so service=system-auth
> session required /lib/security/pam_stack.so service=system-au
>
> I got that from another email...it works so I'm leaving it alone for now.
> Well the issue is that if a user exists locally, ie, jsmith and jsmith is
> on the domain also he can attach and all is well. But when I have a non
> local account user attach I get the following output below: I've looked up
> appendixes Bugs in the HOWTO but can't seem to find anything about
> this...but I could have missed it also.....any help would be
> appreciated...also wbinfo -t / -u / -g all work fine.
>
> LOGFILE:
> Sep 3 18:16:36 andromeda smbd[27467]: [2003/09/03 18:16:36, 0]
> passdb/pdb_smbpasswd.c:pdb_init_smbpasswd(1562)
> Sep 3 18:16:36 andromeda smbd[27467]: idmap uid range defined, non unix
> accounts enabled
> Sep 3 18:16:47 andromeda smbd[27471]: [2003/09/03 18:16:47, 0]
> passdb/pdb_smbpasswd.c:pdb_init_smbpasswd(1562)
> Sep 3 18:16:47 andromeda smbd[27471]: idmap uid range defined, non unix
> accounts enabled
> Sep 3 18:16:58 andromeda smbd[27472]: [2003/09/03 18:16:58, 0]
> passdb/pdb_smbpasswd.c:pdb_init_smbpasswd(1562)
> Sep 3 18:16:58 andromeda smbd[27472]: idmap uid range defined, non unix
> accounts enabled
> Sep 3 18:16:58 andromeda smbd[27472]: [2003/09/03 18:16:58, 0]
> lib/fault.c:fault_report(36)
> Sep 3 18:16:58 andromeda smbd[27472]:
> ===============================================================
> Sep 3 18:16:58 andromeda smbd[27472]: [2003/09/03 18:16:58, 0]
> lib/fault.c:fault_report(37)
> Sep 3 18:16:58 andromeda smbd[27472]: INTERNAL ERROR: Signal 11 in pid
> 27472 (3.0.0beta1)
> Sep 3 18:16:58 andromeda smbd[27472]: Please read the appendix Bugs of
> the Samba HOWTO collection
> Sep 3 18:16:58 andromeda smbd[27472]: [2003/09/03 18:16:58, 0]
> lib/fault.c:fault_report(39)
> Sep 3 18:16:58 andromeda smbd[27472]:
> ===============================================================
> Sep 3 18:16:58 andromeda smbd[27472]: [2003/09/03 18:16:58, 0]
> lib/util.c:smb_panic(1462)
> Sep 3 18:16:58 andromeda smbd[27472]: PANIC: internal error
> Sep 3 18:16:58 andromeda smbd[27472]: [2003/09/03 18:16:58, 0]
> lib/util.c:smb_panic(1469)
> Sep 3 18:16:58 andromeda smbd[27472]: BACKTRACE: 23 stack frames:
> Sep 3 18:16:58 andromeda smbd[27472]: #0
> /usr/local/samba/sbin/smbd(smb_panic+0xfc) [0x817e620]
> Sep 3 18:16:58 andromeda smbd[27472]: #1 /usr/local/samba/sbin/smbd
> [0x816fca7]
> Sep 3 18:16:58 andromeda smbd[27472]: #2 /usr/local/samba/sbin/smbd
> [0x42028c48]
> Sep 3 18:16:58 andromeda smbd[27472]: #3
> /usr/local/samba/sbin/smbd(__libc_realloc+0x196) [0x42073416]
> Sep 3 18:16:58 andromeda smbd[27472]: #4
> /usr/local/samba/sbin/smbd(Realloc+0x72) [0x817da06]
> Sep 3 18:16:58 andromeda smbd[27472]: #5 /usr/local/samba/sbin/smbd
> [0x81abd74]
> Sep 3 18:16:58 andromeda smbd[27472]: #6
> /usr/local/samba/sbin/smbd(make_server_info_info3+0x49c) [0x81ac7bc]
> Sep 3 18:16:58 andromeda smbd[27472]: #7 /usr/local/samba/sbin/smbd
> [0x81a87ed]
> Sep 3 18:16:58 andromeda smbd[27472]: #8 /usr/local/samba/sbin/smbd
> [0x81a58dc]
> Sep 3 18:16:58 andromeda smbd[27472]: #9 /usr/local/samba/sbin/smbd
> [0x81ad560]
> Sep 3 18:16:58 andromeda smbd[27472]: #10 /usr/local/samba/sbin/smbd
> [0x80dae8c]
> Sep 3 18:16:58 andromeda smbd[27472]: #11
> /usr/local/samba/sbin/smbd(ntlmssp_server_update+0xe3) [0x80db18b]
> Sep 3 18:16:58 andromeda smbd[27472]: #12
> /usr/local/samba/sbin/smbd(auth_ntlmssp_update+0x25) [0x81ad731]
> Sep 3 18:16:58 andromeda smbd[27472]: #13 /usr/local/samba/sbin/smbd
> [0x809be66]
> Sep 3 18:16:58 andromeda smbd[27472]: #14 /usr/local/samba/sbin/smbd
> [0x809c033]
> Sep 3 18:16:58 andromeda smbd[27472]: #15
> /usr/local/samba/sbin/smbd(reply_sesssetup_and_X+0x9d4) [0x809cb14]
> Sep 3 18:16:58 andromeda smbd[27472]: #16 /usr/local/samba/sbin/smbd
> [0x80b4505]
> Sep 3 18:16:58 andromeda smbd[27472]: #17 /usr/local/samba/sbin/smbd
> [0x80b4665]
> Sep 3 18:16:58 andromeda smbd[27472]: #18
> /usr/local/samba/sbin/smbd(process_smb+0x76) [0x80b482a]
> Sep 3 18:16:58 andromeda smbd[27472]: #19
> /usr/local/samba/sbin/smbd(smbd_process+0x198) [0x80b52f4]
> Sep 3 18:16:58 andromeda smbd[27472]: #20
> /usr/local/samba/sbin/smbd(main+0x429) [0x81d1d95]
> Sep 3 18:16:58 andromeda smbd[27472]: #21
> /usr/local/samba/sbin/smbd(__libc_start_main+0xa4) [0x420158d4]
> Sep 3 18:16:58 andromeda smbd[27472]: #22
> /usr/local/samba/sbin/smbd(chroot+0x31) [0x807351d]
> Sep 3 18:16:58 andromeda smbd[27472]:
> Sep 3 18:16:58 andromeda smbd[27473]: [2003/09/03 18:16:58, 0]
> passdb/pdb_smbpasswd.c:pdb_init_smbpasswd(1562)
> Sep 3 18:16:58 andromeda smbd[27473]: idmap uid range defined, non unix
> accounts enabled
> Sep 3 18:16:58 andromeda smbd[27473]: [2003/09/03 18:16:58, 0]
> lib/fault.c:fault_report(36)
> Sep 3 18:16:58 andromeda smbd[27473]:
> ===============================================================
> Sep 3 18:16:58 andromeda smbd[27473]: [2003/09/03 18:16:58, 0]
> lib/fault.c:fault_report(37)
> Sep 3 18:16:58 andromeda smbd[27473]: INTERNAL ERROR: Signal 11 in pid
> 27473 (3.0.0beta1)
> Sep 3 18:16:58 andromeda smbd[27473]: Please read the appendix Bugs of
> the Samba HOWTO collection
> Sep 3 18:16:58 andromeda smbd[27473]: [2003/09/03 18:16:58, 0]
> lib/fault.c:fault_report(39)
> Sep 3 18:16:58 andromeda smbd[27473]:
> ===============================================================
> Sep 3 18:16:58 andromeda smbd[27473]: [2003/09/03 18:16:58, 0]
> lib/util.c:smb_panic(1462)
> Sep 3 18:16:58 andromeda smbd[27473]: PANIC: internal error
> Sep 3 18:16:58 andromeda smbd[27473]: [2003/09/03 18:16:58, 0]
> lib/util.c:smb_panic(1469)
> Sep 3 18:16:58 andromeda smbd[27473]: BACKTRACE: 23 stack frames:
> Sep 3 18:16:59 andromeda smbd[27473]: #0
> /usr/local/samba/sbin/smbd(smb_panic+0xfc) [0x817e620]
> Sep 3 18:16:59 andromeda smbd[27473]: #1 /usr/local/samba/sbin/smbd
> [0x816fca7]
> Sep 3 18:16:59 andromeda smbd[27473]: #2 /usr/local/samba/sbin/smbd
> [0x42028c48]
> Sep 3 18:16:59 andromeda smbd[27473]: #3
> /usr/local/samba/sbin/smbd(__libc_realloc+0x196) [0x42073416]
> Sep 3 18:16:59 andromeda smbd[27473]: #4
> /usr/local/samba/sbin/smbd(Realloc+0x72) [0x817da06]
> Sep 3 18:16:59 andromeda smbd[27473]: #5 /usr/local/samba/sbin/smbd
> [0x81abd74]
> Sep 3 18:16:59 andromeda smbd[27473]: #6
> /usr/local/samba/sbin/smbd(make_server_info_info3+0x49c) [0x81ac7bc]
> Sep 3 18:16:59 andromeda smbd[27473]: #7 /usr/local/samba/sbin/smbd
> [0x81a87ed]
> Sep 3 18:16:59 andromeda smbd[27473]: #8 /usr/local/samba/sbin/smbd
> [0x81a58dc]
> Sep 3 18:16:59 andromeda smbd[27473]: #9 /usr/local/samba/sbin/smbd
> [0x81ad560]
> Sep 3 18:16:59 andromeda smbd[27473]: #10 /usr/local/samba/sbin/smbd
> [0x80dae8c]
> Sep 3 18:16:59 andromeda smbd[27473]: #11
> /usr/local/samba/sbin/smbd(ntlmssp_server_update+0xe3) [0x80db18b]
> Sep 3 18:16:59 andromeda smbd[27473]: #12
> /usr/local/samba/sbin/smbd(auth_ntlmssp_update+0x25) [0x81ad731]
> Sep 3 18:16:59 andromeda smbd[27473]: #13 /usr/local/samba/sbin/smbd
> [0x809be66]
> Sep 3 18:16:59 andromeda smbd[27473]: #14 /usr/local/samba/sbin/smbd
> [0x809c033]
> Sep 3 18:16:59 andromeda smbd[27473]: #15
> /usr/local/samba/sbin/smbd(reply_sesssetup_and_X+0x9d4) [0x809cb14]
> Sep 3 18:16:59 andromeda smbd[27473]: #16 /usr/local/samba/sbin/smbd
> [0x80b4505]
> Sep 3 18:16:59 andromeda smbd[27473]: #17 /usr/local/samba/sbin/smbd
> [0x80b4665]
> Sep 3 18:16:59 andromeda smbd[27473]: #18
> /usr/local/samba/sbin/smbd(process_smb+0x76) [0x80b482a]
> Sep 3 18:16:59 andromeda smbd[27473]: #19
> /usr/local/samba/sbin/smbd(smbd_process+0x198) [0x80b52f4]
> Sep 3 18:16:59 andromeda smbd[27473]: #20
> /usr/local/samba/sbin/smbd(main+0x429) [0x81d1d95]
> Sep 3 18:16:59 andromeda smbd[27473]: #21
> /usr/local/samba/sbin/smbd(__libc_start_main+0xa4) [0x420158d4]
> Sep 3 18:16:59 andromeda smbd[27473]: #22
> /usr/local/samba/sbin/smbd(chroot+0x31) [0x807351d]
> Sep 3 18:16:59 andromeda smbd[27473]:
> Sep 3 18:16:59 andromeda smbd[27474]: [2003/09/03 18:16:59, 0]
> passdb/pdb_smbpasswd.c:pdb_init_smbpasswd(1562)
> Sep 3 18:16:59 andromeda smbd[27474]: idmap uid range defined, non unix
> accounts enabled
> Sep 3 18:16:59 andromeda smbd[27475]: [2003/09/03 18:16:59, 0]
> lib/util_sock.c:get_socket_addr(895)
> Sep 3 18:16:59 andromeda smbd[27475]: getpeername failed. Error was
> Transport endpoint is not connected
> Sep 3 18:16:59 andromeda smbd[27475]: [2003/09/03 18:16:59, 0]
> passdb/pdb_smbpasswd.c:pdb_init_smbpasswd(1562)
> Sep 3 18:16:59 andromeda smbd[27474]: [2003/09/03 18:16:59, 0]
> lib/fault.c:fault_report(36)
> Sep 3 18:16:59 andromeda smbd[27475]: idmap uid range defined, non unix
> accounts enabled
> Sep 3 18:16:59 andromeda smbd[27474]:
> ===============================================================
> Sep 3 18:16:59 andromeda smbd[27475]: [2003/09/03 18:16:59, 0]
> lib/util_sock.c:read_socket_data(342)
> Sep 3 18:16:59 andromeda smbd[27474]: [2003/09/03 18:16:59, 0]
> lib/fault.c:fault_report(37)
> Sep 3 18:16:59 andromeda smbd[27475]: read_socket_data: recv failure for
> 4. Error = Connection reset by peer
> Sep 3 18:16:59 andromeda smbd[27474]: INTERNAL ERROR: Signal 11 in pid
> 27474 (3.0.0beta1)
> Sep 3 18:16:59 andromeda smbd[27474]: Please read the appendix Bugs of
> the Samba HOWTO collection
> Sep 3 18:16:59 andromeda smbd[27474]: [2003/09/03 18:16:59, 0]
> lib/fault.c:fault_report(39)
> Sep 3 18:16:59 andromeda smbd[27474]:
> ===============================================================
> Sep 3 18:16:59 andromeda smbd[27474]: [2003/09/03 18:16:59, 0]
> lib/util.c:smb_panic(1462)
> Sep 3 18:16:59 andromeda smbd[27474]: PANIC: internal error
> Sep 3 18:16:59 andromeda smbd[27474]: [2003/09/03 18:16:59, 0]
> lib/util.c:smb_panic(1469)
> Sep 3 18:16:59 andromeda smbd[27474]: BACKTRACE: 23 stack frames:
> Sep 3 18:17:00 andromeda smbd[27474]: #0
> /usr/local/samba/sbin/smbd(smb_panic+0xfc) [0x817e620]
> Sep 3 18:17:00 andromeda smbd[27474]: #1 /usr/local/samba/sbin/smbd
> [0x816fca7]
> Sep 3 18:17:00 andromeda smbd[27474]: #2 /usr/local/samba/sbin/smbd
> [0x42028c48]
> Sep 3 18:17