The "samba" systemd service should not be enabled:

พ.ค. 05 17:30:17 hostname samba[11118]: [2017/05/05 17:30:17.311253,  0] 
../source4/smbd/server.c:372(binary_smbd_main)
พ.ค. 05 17:30:17 hostname samba[11118]:   samba version 4.3.11-Ubuntu started.
พ.ค. 05 17:30:17 hostname samba[11118]:   Copyright Andrew Tridgell and the 
Samba Team 1992-2015
พ.ค. 05 17:30:17 hostname samba[11119]: [2017/05/05 17:30:17.355042,  0] 
../source4/smbd/server.c:477(binary_smbd_main)
พ.ค. 05 17:30:17 hostname samba[11119]:   At this time the 'samba' binary 
should only be used for either:
พ.ค. 05 17:30:17 hostname samba[11119]:   'server role = active directory 
domain controller' or to access the ntvfs file server with 'server services = 
+smb' or the rpc proxy with 'dcerpc endpoint servers = remote'
พ.ค. 05 17:30:17 hostname samba[11119]:   You should start smbd/nmbd/winbindd 
instead for domain member and standalone file server tasks
พ.ค. 05 17:30:17 hostname samba[11119]: [2017/05/05 17:30:17.355198,  0] 
../lib/util/become_daemon.c:111(exit_daemon)
พ.ค. 05 17:30:17 hostname samba[11119]:   STATUS=daemon failed to start: Samba 
detected misconfigured 'server role' and exited. Check logs for details, error 
code 22
พ.ค. 05 17:30:27 hostname samba[11122]: [2017/05/05 17:30:27.442565,  0] 
../source4/smbd/server.c:372(binary_smbd_main)
พ.ค. 05 17:30:27 hostname samba[11122]:   samba version 4.3.11-Ubuntu started.
พ.ค. 05 17:30:27 hostname samba[11122]:   Copyright Andrew Tridgell and the 
Samba Team 1992-2015
พ.ค. 05 17:30:27 hostname samba[11123]: [2017/05/05 17:30:27.488643,  0] 
../source4/smbd/server.c:477(binary_smbd_main)
พ.ค. 05 17:30:27 hostname samba[11123]:   At this time the 'samba' binary 
should only be used for either:
พ.ค. 05 17:30:27 hostname samba[11123]:   'server role = active directory 
domain controller' or to access the ntvfs file server with 'server services = 
+smb' or the rpc proxy with 'dcerpc endpoint servers = remote'
พ.ค. 05 17:30:27 hostname samba[11123]:   You should start smbd/nmbd/winbindd 
instead for domain member and standalone file server tasks
พ.ค. 05 17:30:27 hostname samba[11123]: [2017/05/05 17:30:27.488815,  0] 
../lib/util/become_daemon.c:111(exit_daemon)
พ.ค. 05 17:30:27 hostname samba[11123]:   STATUS=daemon failed to start: Samba 
detected misconfigured 'server role' and exited. Check logs for details, error 
code 22


The samba service should be masked, like this:
# systemctl status samba
● samba.service
   Loaded: masked (/dev/null; bad)
   Active: inactive (dead)

If yours says otherwise, please mask it:
# systemctl mask samba
Created symlink /etc/systemd/system/samba.service → /dev/null.


** Changed in: samba (Ubuntu)
       Status: New => Incomplete

** Summary changed:

- package samba 2:4.3.11+dfsg-0ubuntu0.16.04.6 failed to install/upgrade: 
โพรเซสย่อย สคริปต์ post-installation ที่ติดตั้งไว้ 
จบการทำงานโดยคืนค่าสถานะข้อผิดพลาด 1
+ "samba" service unmasked in a standalone server role

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

Title:
  "samba" service unmasked in a standalone server role

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1688527/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to