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 22This logged error says exactly what you did wrong.> server role = standalone serverDid 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
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
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
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> > > >> 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 >