From owner-freebsd-amd64@FreeBSD.ORG Wed Feb 12 15:10:01 2014 Return-Path: Delivered-To: freebsd-amd64@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 266EE6B for ; Wed, 12 Feb 2014 15:10:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0023F1C12 for ; Wed, 12 Feb 2014 15:10:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id s1CFA04Y050733 for ; Wed, 12 Feb 2014 15:10:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s1CFA0D6050732; Wed, 12 Feb 2014 15:10:00 GMT (envelope-from gnats) Resent-Date: Wed, 12 Feb 2014 15:10:00 GMT Resent-Message-Id: <201402121510.s1CFA0D6050732@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-amd64@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Vladimir Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 19397E83 for ; Wed, 12 Feb 2014 15:06:12 +0000 (UTC) Received: from newred.freebsd.org (cgiserv.freebsd.org [IPv6:2001:1900:2254:206a::50:4]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0265F1BCE for ; Wed, 12 Feb 2014 15:06:12 +0000 (UTC) Received: from cgiserv.freebsd.org ([127.0.1.6]) by newred.freebsd.org (8.14.7/8.14.7) with ESMTP id s1CF6BLF080973 for ; Wed, 12 Feb 2014 15:06:11 GMT (envelope-from nobody@cgiserv.freebsd.org) Received: (from nobody@localhost) by cgiserv.freebsd.org (8.14.7/8.14.7/Submit) id s1CF6Bwb080960; Wed, 12 Feb 2014 15:06:11 GMT (envelope-from nobody) Message-Id: <201402121506.s1CF6Bwb080960@cgiserv.freebsd.org> Date: Wed, 12 Feb 2014 15:06:11 GMT From: Vladimir To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: amd64/186694: samba not work in domain X-Mailman-Approved-At: Wed, 12 Feb 2014 16:14:53 +0000 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Feb 2014 15:10:01 -0000 >Number: 186694 >Category: amd64 >Synopsis: samba not work in domain >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-amd64 >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Feb 12 15:10:00 UTC 2014 >Closed-Date: >Last-Modified: >Originator: Vladimir >Release: FreeBSD 10 >Organization: >Environment: FreeBSD free 10.0-RELEASE FreeBSD 10.0-RELEASE #0 r260789: Thu Jan 16 22:34:59 UTC 2014 root@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I apologize in advance bad writing in English When entering a samba domain on Freebsd 10 I crash bug. When you enter the samba on freebsd 9.2 with the same settings all is well. Our projects virtually all servers are running on freebsd and we need integration with ads INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5 vfs: 5 idmap: 5 quota: 5 acls: 5 locking: 5 msdfs: 5 dmapi: 5 registry: 5 lp_load_ex: refreshing parameters Initialising global parameters INFO: Current debug levels: all: 5 tdb: 5 printdrivers: 5 lanman: 5 smb: 5 rpc_parse: 5 rpc_srv: 5 rpc_cli: 5 passdb: 5 sam: 5 auth: 5 winbind: 5 vfs: 5 idmap: 5 quota: 5 acls: 5 locking: 5 msdfs: 5 dmapi: 5 registry: 5 params.c:pm_process() - Processing configuration file "/usr/local/etc/smb.conf" Processing section "[global]" doing parameter workgroup = OFFICE doing parameter server string = shara doing parameter security = ads doing parameter realm = OFFICE.LOCAL doing parameter hosts allow = 192.168. 127. doing parameter interfaces = 192.168.0.0/21 doing parameter auth methods = winbind doing parameter passdb backend = tdbsam doing parameter client NTLMv2 auth = yes doing parameter deadtime = 360 doing parameter max open files = 100000 doing parameter idmap config * : range = 10000-20000 doing parameter idmap config * : backend = tdb doing parameter os level = 8 doing parameter paranoid server security = no doing parameter winbind enum users = yes doing parameter winbind enum groups = yes doing parameter winbind nested groups = no doing parameter winbind refresh tickets = yes doing parameter nt acl support = yes doing parameter case sensitive = no doing parameter log level = 0 vfs:1 doing parameter log file = /var/log/samba/%m doing parameter max log size = 50 doing parameter display charset = koi8-r doing parameter unix charset = koi8-r doing parameter dos charset = cp866 doing parameter load printers = no doing parameter show add printer wizard = no pm_process() returned Yes Netbios name list:- my_netbios_names[0]="FREE" interpret_interface: using netmask value 21 from config file on interface re0 added interface re0 ip=192.168.0.50 bcast=192.168.7.255 netmask=255.255.248.0 Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED Opening cache file at /var/db/samba/gencache.tdb Opening cache file at /var/db/samba/gencache_notrans.tdb sitename_fetch: No stored sitename for OFFICE.LOCAL saf_fetch: failed to find server for "OFFICE.LOCAL" domain get_dc_list: preferred server list: ", *" no entry for OFFICE.LOCAL#1C found. resolve_ads: Attempting to resolve DCs for OFFICE.LOCAL using DNS ads_dns_lookup_srv: 2 records returned in the answer section. namecache_store: storing 2 addresses for OFFICE.LOCAL#1c: 192.168.0.3,192.168.0.2 get_dc_list: returning 2 ip addresses in an ordered list get_dc_list: 192.168.0.3:389 192.168.0.2:389 ads_try_connect: sending CLDAP request to 192.168.0.3 (realm: OFFICE.LOCAL) Successfully contacted LDAP server 192.168.0.3 Enter sys_admin_3's password: libnet_Join: libnet_JoinCtx: struct libnet_JoinCtx in: struct libnet_JoinCtx dc_name : NULL machine_name : 'FREE' domain_name : * domain_name : 'OFFICE.LOCAL' account_ou : NULL admin_account : 'sys_admin_3' machine_password : NULL join_flags : 0x00000023 (35) 0: WKSSVC_JOIN_FLAGS_IGNORE_UNSUPPORTED_FLAGS 0: WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME 0: WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT 0: WKSSVC_JOIN_FLAGS_DEFER_SPN 0: WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED 0: WKSSVC_JOIN_FLAGS_JOIN_UNSECURE 1: WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED 0: WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE 0: WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE 1: WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE 1: WKSSVC_JOIN_FLAGS_JOIN_TYPE os_version : NULL os_name : NULL create_upn : 0x00 (0) upn : NULL modify_config : 0x00 (0) ads : NULL debug : 0x01 (1) use_kerberos : 0x00 (0) secure_channel_type : SEC_CHAN_WKSTA (2) sitename_fetch: Returning sitename for OFFICE.LOCAL: "Default-First-Site-Name" ads_dns_lookup_srv: 2 records returned in the answer section. Connecting to host=sdc.office.local sitename_fetch: Returning sitename for OFFICE.LOCAL: "Default-First-Site-Name" no entry for sdc.office.local#20 found. resolve_lmhosts: Attempting lmhosts lookup for name sdc.office.local<0x20> resolve_lmhosts: Attempting lmhosts lookup for name sdc.office.local<0x20> startlmhosts: Can't open lmhosts file /usr/local/etc/lmhosts. Error was No such file or directory resolve_wins: Attempting wins lookup for name sdc.office.local<0x20> resolve_wins: WINS server resolution selected and no WINS servers listed. resolve_hosts: Attempting host lookup for name sdc.office.local<0x20> namecache_store: storing 1 address for sdc.office.local#20: 192.168.0.3 Connecting to 192.168.0.3 at port 445 Socket options: SO_KEEPALIVE = 0 SO_REUSEADDR = 0 SO_BROADCAST = 0 TCP_NODELAY = 4 Could not test socket option TCP_KEEPCNT. Could not test socket option TCP_KEEPIDLE. Could not test socket option TCP_KEEPINTVL. IPTOS_LOWDELAY = 0 IPTOS_THROUGHPUT = 0 SO_REUSEPORT = 0 SO_SNDBUF = 33304 SO_RCVBUF = 66608 SO_SNDLOWAT = 2048 SO_RCVLOWAT = 1 SO_SNDTIMEO = 0 SO_RCVTIMEO = 0 Doing spnego session setup (blob length=136) got OID=1.3.6.1.4.1.311.2.2.30 got OID=1.2.840.48018.1.2.2 got OID=1.2.840.113554.1.2.2 got OID=1.2.840.113554.1.2.2.3 got OID=1.3.6.1.4.1.311.2.2.10 got principal=not_defined_in_RFC4178@please_ignore Got challenge flags: Got NTLMSSP neg_flags=0x62898215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_TARGET_INFO NTLMSSP_NEGOTIATE_VERSION NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60088215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_ALWAYS_SIGN NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH Bind RPC Pipe: host sdc.office.local auth_type 0, auth_level 1 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 52 check_bind_response: accepted! rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 188 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 32 saf_fetch: failed to find server for "office.local" domain get_dc_list: preferred server list: ", *" name office.local#1C found. get_dc_list: returning 2 ip addresses in an ordered list get_dc_list: 192.168.0.3:389 192.168.0.2:389 create_local_private_krb5_conf_for_domain: wrote file /var/db/samba/smb_krb5/krb5.conf.OFFICE with realm OFFICE.LOCAL KDC list = kdc = 192.168.0.3 Bind RPC Pipe: host sdc.office.local auth_type 0, auth_level 1 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 52 check_bind_response: accepted! rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 40 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 44 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 12 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 12 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 32 rpc_api_pipe: host sdc.office.local rpc_read_send: data_to_read: 32 sitename_fetch: Returning sitename for OFFICE.LOCAL: "Default-First-Site-Name" name sdc.office.local#20 found. ads_try_connect: sending CLDAP request to 192.168.0.3 (realm: office.local) Successfully contacted LDAP server 192.168.0.3 Connected to LDAP server sdc.office.local time offset is 0 seconds Found SASL mechanism GSS-SPNEGO ads_sasl_spnego_bind: got OID=1.3.6.1.4.1.311.2.2.30 ads_sasl_spnego_bind: got OID=1.2.840.48018.1.2.2 ads_sasl_spnego_bind: got OID=1.2.840.113554.1.2.2 ads_sasl_spnego_bind: got OID=1.2.840.113554.1.2.2.3 ads_sasl_spnego_bind: got OID=1.3.6.1.4.1.311.2.2.10 ads_sasl_spnego_bind: got server principal name = not_defined_in_RFC4178@please_ignore ads_krb5_mk_req: krb5_cc_get_principal failed (No such file or directory) ads_cleanup_expired_creds: Ticket in ccache[MEMORY:net_ads] expiration ήΤ, 13 ΖΕΧ 2014 02:58:03 EET net: sha1 checksum failed Abort trap (core dumped) >How-To-Repeat: net join -U user >Fix: >Release-Note: >Audit-Trail: >Unformatted: