Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [Samba] Samba 4.2.3

170 views
Skip to first unread message

Marc Muehlfeld

unread,
Aug 19, 2015, 12:10:03 PM8/19/15
to
Hello,

Am 19.08.2015 um 16:43 schrieb Nitin Pande:
> [2015/08/19 09:23:59.800516, 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
> [2015/08/19 09:23:59.804581, 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

This logged error says exactly what you did wrong.




> server role = standalone server

Did you provisioned this server via samba-tool? You shouldn't have this
line in your smb.conf. 'server role' is currently only supported on AD DCs.




Regards,
Marc

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba

Marc Muehlfeld

unread,
Aug 19, 2015, 2:00:04 PM8/19/15
to
Am 19.08.2015 um 19:51 schrieb Nitin Pande:
> Thanks for the reply. I didn't provisioned the server via samba-tool.
> I just copied the smb.conf.default file from the example section to
> the /etc/samba and renamed it to smb.conf. We don't want to set up
> the machine as AD, just want to share the folder so that it can be
> accessed from windows 2012 machines.

Was this file shipped with Ubuntu packages?



> I tried to comment the above mentioned line server role = standalone
> server and tried stopping and starting the samba service, but same
> result. No change in the error message. Nor am I able to connect to
> the shared folder.

Just to make sure, that you followed what the log entry told you did
wrong: You started now the 'smbd' binary - not 'samba', right?

If you start via init script/systemd, please check out what binary is
started. If unsure, check the 'ps' output or run 'smbd' manually, to
make sure, that not the 'samba' binary is executed.

Rowland Penny

unread,
Aug 19, 2015, 2:20:04 PM8/19/15
to
On 19/08/15 18:57, Marc Muehlfeld wrote:
> Am 19.08.2015 um 19:51 schrieb Nitin Pande:
>> Thanks for the reply. I didn't provisioned the server via samba-tool.
>> I just copied the smb.conf.default file from the example section to
>> the /etc/samba and renamed it to smb.conf. We don't want to set up
>> the machine as AD, just want to share the folder so that it can be
>> accessed from windows 2012 machines.
> Was this file shipped with Ubuntu packages?
>
>
>
>> I tried to comment the above mentioned line server role = standalone
>> server and tried stopping and starting the samba service, but same
>> result. No change in the error message. Nor am I able to connect to
>> the shared folder.
> Just to make sure, that you followed what the log entry told you did
> wrong: You started now the 'smbd' binary - not 'samba', right?
>
> If you start via init script/systemd, please check out what binary is
> started. If unsure, check the 'ps' output or run 'smbd' manually, to
> make sure, that not the 'samba' binary is executed.
>
>
> Regards,
> Marc
>

Hi Marc, either:
A) Thunderbird is downloading every email except the ones from the OP
B) The OP is contacting you direct
C) I am going mad (no it can't be that, I have always been mad )

What ever it is, is there any chance you can get the OP to share their
posts with us, I hate one sided conversations (see C)

Rowland

Rowland Penny

unread,
Aug 19, 2015, 2:30:03 PM8/19/15
to
On 19/08/15 18:57, Marc Muehlfeld wrote:
> Am 19.08.2015 um 19:51 schrieb Nitin Pande:
>> Thanks for the reply. I didn't provisioned the server via samba-tool.
>> I just copied the smb.conf.default file from the example section to
>> the /etc/samba and renamed it to smb.conf. We don't want to set up
>> the machine as AD, just want to share the folder so that it can be
>> accessed from windows 2012 machines.
> Was this file shipped with Ubuntu packages?

I think you will find this is a Samba shipped file: see
<samba_version>/examples/smb.conf.default
I feel a patch coming on.

Rowland

Marc Muehlfeld

unread,
Aug 19, 2015, 2:50:04 PM8/19/15
to
Am 19.08.2015 um 20:11 schrieb Rowland Penny:
> Hi Marc, either:
> A) Thunderbird is downloading every email except the ones from the OP
> B) The OP is contacting you direct
> C) I am going mad (no it can't be that, I have always been mad )

I thought the initial post was send to the list via BCC, because the
header just contained:
> To: undisclosed-recipients:;
and I don't expected to be contacted directly because the salutation was
just "hello". And the second mail from the OP was directly to me.

Sorry for confusing. :-)


Regards,
Marc
0 new messages