From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 23 12:20:01 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C2A0F78 for ; Tue, 23 Oct 2012 12:20:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.FreeBSD.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 4139E8FC0A for ; Tue, 23 Oct 2012 12:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9NCK1sh084635 for ; Tue, 23 Oct 2012 12:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9NCK1uk084634; Tue, 23 Oct 2012 12:20:01 GMT (envelope-from gnats) Resent-Date: Tue, 23 Oct 2012 12:20:01 GMT Resent-Message-Id: <201210231220.q9NCK1uk084634@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Michael Letzgus Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8BBA2EE3 for ; Tue, 23 Oct 2012 12:10:07 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 6A0178FC14 for ; Tue, 23 Oct 2012 12:10:07 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q9NCA6FW086861 for ; Tue, 23 Oct 2012 12:10:06 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q9NCA6In086860; Tue, 23 Oct 2012 12:10:06 GMT (envelope-from nobody) Message-Id: <201210231210.q9NCA6In086860@red.freebsd.org> Date: Tue, 23 Oct 2012 12:10:06 GMT From: Michael Letzgus To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/172983: Upgrade from samba36 3.6.7 to 3.6.8 kills AD membership, "net ads join" segfaults X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2012 12:20:01 -0000 >Number: 172983 >Category: ports >Synopsis: Upgrade from samba36 3.6.7 to 3.6.8 kills AD membership, "net ads join" segfaults >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 23 12:20:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Michael Letzgus >Release: RELEASE 9.0 p3 >Organization: Universität Bielefeld >Environment: FreeBSD pc1.uni-bielefeld.de 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Hi, after upgrading from Samba 3.6.7 to 3.6.8 "something" was wrong with the AD membership: * net ads testjoin => OK * wbinfo -P => failed * wbinfo -t => failed winbindd logs a lot of these messages: winbindd/winbindd_cm.c:1015(cm_prepare_connection) failed tcon_X with NT_STATUS_ACCESS_DENIED Oct 23 13:22:00 pc1 winbindd[42932]: [2012/10/23 13:22:00.194727, 0] winbindd/winbindd_util.c:635(init_domain_list) Oct 23 13:22:00 pc1 winbindd[42932]: Could not fetch our SID - did we join? Oct 23 13:22:00 pc1 winbindd[42932]: [2012/10/23 13:22:00.194825, 0] winbindd/winbindd.c:1108(winbindd_register_handlers) Oct 23 13:22:00 pc1 winbindd[42932]: unable to initialize domain list Joining the domain again failed because "net" segfaulted: >How-To-Repeat: Upgrade from Samba 3..6.7 to 3.6.8 on a machine which is ADS member... >Fix: go back to 3.6.7! I'll try to reproduce that on a FreeBSD Bm for debugging... >Release-Note: >Audit-Trail: >Unformatted: >net ads join -U domainadmin Password for domainadmin@mydomain:*** Then: Segfault, core dumped Another strange observation: With 3.6.7 "net ads join" asked for "root" password, but 3.6.8 asks for password of user "(null)". Something goes horribly wrong inside "net"... smbd had problems, too: Oct 23 12:19:35 pc1 smbd[38310]: [2012/10/23 12:19:35.877698, 0] rpc_client/cli_pipe_schannel.c:184(cli_rpc_pipe_open_schannel) Oct 23 12:19:35 pc1 smbd[38310]: cli_rpc_pipe_open_schannel: failed to get schannel session key from server DC1.AD.UNI-BIELEFELD.DE for domain AD. Oct 23 12:19:35 pc1 smbd[38310]: [2012/10/23 12:19:35.877823, 0] auth/auth_domain.c:193(connect_to_domain_password_server) Oct 23 12:19:35 pc1 smbd[38310]: connect_to_domain_password_server: unable to open the domain client session to machine DC1.AD.UNI-BIELEFELD.DE. Error was : NT_STATUS_ACCESS_DENIED. Oct 23 12:19:35 pc1 smbd[38310]: [2012/10/23 12:19:35.886597, 0] rpc_client/cli_pipe_schannel.c:184(cli_rpc_pipe_open_schannel) [...] Oct 23 13:35:44 pc1 smbd[46818]: INTERNAL ERROR: Signal 11 in pid 46818 (3.6.8) Oct 23 13:35:44 pc1 smbd[46818]: Please read the Trouble-Shooting section of the Samba3-HOWTO Oct 23 13:35:44 pc1 smbd[46818]: [2012/10/23 13:35:44.673042, 0] lib/fault.c:54(fault_report) Oct 23 13:35:44 pc1 smbd[46818]: Oct 23 13:35:44 pc1 smbd[46818]: From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf Oct 23 13:35:44 pc1 smbd[46818]: [2012/10/23 13:35:44.673062, 0] lib/fault.c:55(fault_report) Oct 23 13:35:44 pc1 smbd[46818]: =============================================================== Oct 23 13:35:44 pc1 smbd[46818]: [2012/10/23 13:35:44.673077, 0] lib/util.c:1117(smb_panic) Oct 23 13:35:44 pc1 smbd[46818]: PANIC (pid 46818): internal error Since reverting back to 3.6.7 everything is fine.