Date: Wed, 03 Jul 2019 14:26:32 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238958] net/samba410: smbd exits on signal 8 when used as Time machine target Message-ID: <bug-238958-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238958 Bug ID: 238958 Summary: net/samba410: smbd exits on signal 8 when used as Time machine target Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: timur@FreeBSD.org Reporter: fjo@ogris.de Assignee: timur@FreeBSD.org Flags: maintainer-feedback?(timur@FreeBSD.org) smbd exits with SIGFPE on 12.0-RELEASE amd64 when a Mac tries to store Time machine backups: pid 84975 (smbd), uid 65534: exited on signal 8 Output when started in debug mode: # smbd -i -S -d 3 smbd version 4.10.5 started. Copyright Andrew Tridgell and the Samba Team 1992-2019 uid=3D0 gid=3D0 euid=3D0 egid=3D0 lp_load_ex: refreshing parameters Initialising global parameters Processing section "[global]" Registered MSG_REQ_POOL_USAGE Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED lp_load_ex: refreshing parameters Initialising global parameters Processing section "[global]" Processing section "[zamba]" adding IPC service added interface vtnet0 ip=3D192.168.0.3 bcast=3D192.168.0.255 netmask=3D255= .255.255.0 loaded services INFO: Profiling support unavailable in this build. Failed to fetch domain sid for MILOSCH file_init_global: Information only: requested 57870 open files, 57830 are available. Initialise the svcctl registry keys if needed. Initialise the eventlog registry keys if needed. reloading printcap cache pcap_cache_reload: skipping reload - load printers disabled reloading printcap cache pcap_cache_reload: skipping reload - load printers disabled waiting for connections Allowed connection from fjo-mbp.intra.ogris.net (192.168.0.14) init_oplocks: initializing messages. Transaction 0 of length 106 (0 toread) Selected protocol SMB3_02 GENSEC backend 'gssapi_spnego' registered GENSEC backend 'gssapi_krb5' registered GENSEC backend 'gssapi_krb5_sasl' registered GENSEC backend 'spnego' registered GENSEC backend 'schannel' registered GENSEC backend 'naclrpc_as_system' registered GENSEC backend 'sasl-EXTERNAL' registered GENSEC backend 'ntlmssp' registered GENSEC backend 'ntlmssp_resume_ccache' registered GENSEC backend 'http_basic' registered GENSEC backend 'http_ntlm' registered GENSEC backend 'http_negotiate' registered Got NTLMSSP neg_flags=3D0x62880205 Got user=3D[GUEST] domain=3D[] workstation=3D[FJO-MBP] len1=3D24 len2=3D250 lp_load_ex: refreshing parameters Initialising global parameters Processing section "[global]" Processing section "[zamba]" adding IPC service check_ntlm_password: Checking password for unmapped user []\[GUEST]@[FJO-M= BP] with the new password interface check_ntlm_password: mapped user is: []\[GUEST]@[FJO-MBP] check_sam_security: Couldn't find user 'GUEST' in passdb. check_ntlm_password: Authentication for user [GUEST] -> [GUEST] FAILED with error NT_STATUS_NO_SUCH_USER, authoritative=3D1 Auth: [SMB2,(null)] user []\[GUEST] at [Wed, 03 Jul 2019 16:20:53.529686 CE= ST] with [NTLMv2] status [NT_STATUS_NO_SUCH_USER] workstation [FJO-MBP] remote = host [ipv4:192.168.0.14:53184] mapped to []\[GUEST]. local host [ipv4:192.168.0.3:445]=20 {"timestamp": "2019-07-03T16:20:53.530457+0200", "type": "Authentication", "Authentication": {"version": {"major": 1, "minor": 1}, "eventId": 4625, "logonType": 3, "status": "NT_STATUS_NO_SUCH_USER", "localAddress": "ipv4:192.168.0.3:445", "remoteAddress": "ipv4:192.168.0.14:53184", "serviceDescription": "SMB2", "authDescription": null, "clientDomain": "", "clientAccount": "GUEST", "workstation": "FJO-MBP", "becameAccount": null, "becameDomain": null, "becameSid": null, "mappedAccount": "GUEST", "mappedDomain": "", "netlogonComputer": null, "netlogonTrustAccount": null, "netlogonNegotiateFlags": "0x00000000", "netlogonSecureChannelType": 0, "netlogonTrustAccountSid": null, "passwordType": "NTLMv2", "duration": 8043= }} No such user GUEST [] - using guest account Allowed connection from fjo-mbp.intra.ogris.net (192.168.0.14) make_connection_snum: Connect path is '/zamba' for service [zamba] Initialising default vfs hooks Initialising custom vfs hooks from [/[Default VFS]/] Initialising custom vfs hooks from [fruit] load_module_absolute_path: Module '/usr/local/lib/samba4/modules/vfs/fruit.= so' loaded fruit_connect: Enabling durable handles for Time Machine support on [zamba] fjo-mbp (ipv4:192.168.0.14:53184) connect to service zamba initially as user nobody (uid=3D65534, gid=3D65534) (pid 84996) smbd_do_qfsinfo: level =3D 1003 nobody opened file /zamba/870265E5-6B47-570E-A302-AEFFB92130F2.sparsebundle/Info.plist read=3D= Yes write=3DNo (numopen=3D2) nobody closed file /zamba/870265E5-6B47-570E-A302-AEFFB92130F2.sparsebundle/Info.plist (numope= n=3D1) NT_STATUS_OK Floating point exception smb4.conf snippet: vfs objects =3D fruit fruit:model =3D Xserve fruit:resource =3D xattr fruit:metadata =3D stream ; globally writeable shares [zamba] guest ok =3D yes hide dot files =3D no path =3D /zamba read only =3D no use sendfile =3D no fruit:time machine =3D yes fruit:time machine max size =3D 200G Happens also when using a named tm instead of the guest account. Same config runs fine with samba48. Built samba410 from latest ports. /var/db/ports/net_samba410/options: # This file is auto-generated by 'make config'. # Options for samba410-4.10.5 _OPTIONS_READ=3Dsamba410-4.10.5 _FILE_COMPLETE_OPTIONS_LIST=3DADS AD_DC AESNI CLUSTER CUPS DEBUG DEVELOPER = DOCS FAM GLUSTERFS GPGME LDAP MANDOC NTVFS PROFILE QUOTAS SPOTLIGHT SYSLOG UTMP GSSAPI_BUILTIN GSSAPI_MIT NSUPDATE BIND911 BIND913 BIND914 MDNSRESPONDER AV= AHI OPTIONS_FILE_UNSET+=3DADS OPTIONS_FILE_UNSET+=3DAD_DC OPTIONS_FILE_SET+=3DAESNI OPTIONS_FILE_UNSET+=3DCLUSTER OPTIONS_FILE_UNSET+=3DCUPS OPTIONS_FILE_UNSET+=3DDEBUG OPTIONS_FILE_UNSET+=3DDEVELOPER OPTIONS_FILE_UNSET+=3DDOCS OPTIONS_FILE_UNSET+=3DFAM OPTIONS_FILE_UNSET+=3DGLUSTERFS OPTIONS_FILE_UNSET+=3DGPGME OPTIONS_FILE_UNSET+=3DLDAP OPTIONS_FILE_UNSET+=3DMANDOC OPTIONS_FILE_UNSET+=3DNTVFS OPTIONS_FILE_UNSET+=3DPROFILE OPTIONS_FILE_UNSET+=3DQUOTAS OPTIONS_FILE_UNSET+=3DSPOTLIGHT OPTIONS_FILE_SET+=3DSYSLOG OPTIONS_FILE_SET+=3DUTMP OPTIONS_FILE_SET+=3DGSSAPI_BUILTIN OPTIONS_FILE_UNSET+=3DGSSAPI_MIT OPTIONS_FILE_UNSET+=3DNSUPDATE OPTIONS_FILE_UNSET+=3DBIND911 OPTIONS_FILE_UNSET+=3DBIND913 OPTIONS_FILE_UNSET+=3DBIND914 OPTIONS_FILE_UNSET+=3DMDNSRESPONDER OPTIONS_FILE_SET+=3DAVAHI --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-238958-7788>