Happy New Year Andreas. Please excuse my ignorance for triggering a bug report when the error was caused by me.
I made the a) and b) changes instructed by you, and file sharing between ubuntu and windows worked. I then search "ubuntu samba rlimit_max) on the internet and clicked ( https://serverfault.com/questions/509560/resolving-samba-testparm-message-rlimit-max-rlimit-max-8192-below-minimum-wi ). I changed the rlimit_max in /etc/security/limits.conf by adding these two lines: samba soft nofile 16384 samba har nofile 32768 I sudo service samba restart However, windows does not automatically redetect ubuntu samba. I had to logoff and logon to show sharing. Not a problem. Andreas, thank you very much for your help. Ting On Tue, Jan 2, 2018 at 6:23 AM, Andreas Hasenack <andr...@canonical.com> wrote: > Thanks for filing this bug in Ubuntu. > > You have some errors in your /etc/samba/smb.conf file: > > $ testparm ./smb.conf > Load smb config files from ./smb.conf > rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) > WARNING: The "syslog" option is deprecated > Processing section "[printers]" > Processing section "[print$]" > Processing section "[share]" > Global parameter unix extensions found in service section! > Processing section "[info-install]" > set_variable_helper(y): value is not boolean! > Error loading services. > > > a) "unix extensions" is a global parameter, but you have it inside a share > definition > > b) your [info-install] section has an invalid value for the "wide links" > parameter: "y". It should probably be "yes". > > After you fix those problems, run these commands to fix the installation > on your system: > > sudo apt update > sudo apt -f install > > Please let me know how it goes. > > > ** Changed in: samba (Ubuntu) > Status: New => Incomplete > > -- > You received this bug notification because you are subscribed to the bug > report. > https://bugs.launchpad.net/bugs/1740628 > > Title: > package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to > install/upgrade: subprocess installed post-installation script > returned error exit status 1 > > Status in samba package in Ubuntu: > Incomplete > > Bug description: > Setting up samba (2:4.3.11+dfsg-0ubuntu0.16.04.12) ... > Job for smbd.service failed because the control process exited with > error code. See "systemctl status smbd.service" and "journalctl -xe" for > details. > invoke-rc.d: initscript smbd, action "start" failed. > ● smbd.service - LSB: start Samba SMB/CIFS daemon (smbd) > Loaded: loaded (/etc/init.d/smbd; bad; vendor preset: enabled) > Active: failed (Result: exit-code) since Sat 2017-12-30 14:33:31 EST; > 10ms ago > Docs: man:systemd-sysv-generator(8) > Process: 11326 ExecStart=/etc/init.d/smbd start (code=exited, > status=1/FAILURE) > > Dec 30 14:33:31 N7110 systemd[1]: Starting LSB: start Samba SMB/CIFS > daemon (smbd)... > Dec 30 14:33:31 N7110 smbd[11326]: * Starting SMB/CIFS daemon smbd > Dec 30 14:33:31 N7110 smbd[11326]: ...fail! > Dec 30 14:33:31 N7110 systemd[1]: smbd.service: Control process exited, > code=exited status=1 > Dec 30 14:33:31 N7110 systemd[1]: Failed to start LSB: start Samba > SMB/CIFS daemon (smbd). > Dec 30 14:33:31 N7110 systemd[1]: smbd.service: Unit entered failed > state. > Dec 30 14:33:31 N7110 systemd[1]: smbd.service: Failed with result > 'exit-code'. > dpkg: error processing package samba (--configure): > subprocess installed post-installation script returned error exit > status 1 > dpkg: dependency problems prevent configuration of winbind: > winbind depends on samba (= 2:4.3.11+dfsg-0ubuntu0.16.04.12); however: > Package samba is not configured yet. > > ProblemType: Package > DistroRelease: Ubuntu 16.04 > Package: samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 > ProcVersionSignature: Ubuntu 4.4.0-104.127-generic 4.4.98 > Uname: Linux 4.4.0-104-generic x86_64 > ApportVersion: 2.20.1-0ubuntu2.14 > Architecture: amd64 > BothFailedConnect: Yes > Date: Sat Dec 30 14:33:31 2017 > ErrorMessage: subprocess installed post-installation script returned > error exit status 1 > InstallationDate: Installed on 2015-09-09 (842 days ago) > InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) > NmbdLog: > > RelatedPackageVersions: > dpkg 1.18.4ubuntu1.3 > apt 1.2.24 > SambaServerRegression: Yes > SmbConfIncluded: Yes > SmbLog: > > SourcePackage: samba > Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to > install/upgrade: subprocess installed post-installation script returned > error exit status 1 > UpgradeStatus: Upgraded to xenial on 2016-05-05 (603 days ago) > > To manage notifications about this bug go to: > https://bugs.launchpad.net/ubuntu/+source/samba/+bug/ > 1740628/+subscriptions > -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1740628 Title: package samba 2:4.3.11+dfsg-0ubuntu0.16.04.12 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1740628/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs