This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

wrong server role in smb4.conf

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
Knappe
experienced User
experienced User
Posts: 76
Joined: 08 May 2015 08:46
Status: Offline

wrong server role in smb4.conf

Post by Knappe »

NAS4Free 10.2.0.2 (2545).

Because I have some trouble with samba after WOL (see thread viewtopic.php?f=19&t=10922&p=68365#p68365) I set the log level to 5
[2016/05/26 09:04:12.188810, 0] ../source4/smbd/server.c:370(binary_smbd_main)
samba version 4.2.11 started.
Copyright Andrew Tridgell and the Samba Team 1992-2014
[2016/05/26 09:04:12.252454, 0] ../source4/smbd/server.c:475(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 'dcerpc endpoint servers = remote'
You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
[2016/05/26 09:04:12.252509, 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 use samba only as a member for a MS domain (protocol = SMB2).
The /var/etc/smb4.conf contain the following (from webgui generated) code

Code: Select all

[global]
server role = standalone
...
which may be wrong

Post Reply

Return to “CIFS/SMB (Samba)”