Fhis contains:
[2017/11/04 23:20:49.158024,  0] ../source4/smbd/server.c:477(binary_smbd_main) 
 
  At this time the 'samba' binary should only be used for either:               
    
  'server role = active directory domain controller' or to access the ntvfs 
file server with 'server services = +smb' or the rpc proxy with 'dcerp
  You should start smbd/nmbd/winbindd instead for domain member and standalone 
file server tasks
[2017/11/04 23:20:49.158067,  0] ../lib/util/become_daemon.c:111(exit_daemon)   
    
  STATUS=daemon failed to start: Samba detected misconfigured 'server role' and 
exited. Check logs for details, error code 22

I'm no smb.conf expert, I only see:
 server role = standalone server 
there.

You might try backing up your config for samba like in [1] and then 
reinstalling the defautls.
>From there get your changes abck in one by one and see which one breaks the 
>start of the server?

[1]: https://askubuntu.com/questions/66533/how-can-i-restore-
configuration-files

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1741113

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/1741113/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to