You are not logged in.
Hello
I searched from different sources, but I couldn't get a clear explanation. As of last version of samba everything was working. Now I'm facing a strange behavior which is asking a password to access the workgroup.
My samba installation is 4.1.12-
I seen in the systemctl status :
● samba.service - Samba AD Daemon
Loaded: loaded (/usr/lib/systemd/system/samba.service; disabled)
Active: failed (Result: exit-code) since lun 2014-09-22 15:16:27 CEST; 22min ago
Process: 5777 ExecStart=/usr/bin/samba $SAMBAOPTIONS (code=exited, status=0/SUCCESS)
Main PID: 5778 (code=exited, status=1/FAILURE)
set 22 15:16:26 AsusG75 samba[5777]: samba version 4.1.12 started.
set 22 15:16:26 AsusG75 samba[5777]: Copyright Andrew Tridgell and the Samba Team 1992-2013
set 22 15:16:27 AsusG75 samba[5778]: [2014/09/22 15:16:27.079814, 0] ../source4/smbd/server.c:475(binary_smbd_main)
set 22 15:16:27 AsusG75 samba[5778]: At this time the 'samba' binary should only be used for either:
set 22 15:16:27 AsusG75 samba[5778]: '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'
set 22 15:16:27 AsusG75 samba[5778]: You should start smbd/nmbd/winbindd instead for domain member and standalone file server tasks
set 22 15:16:27 AsusG75 samba[5778]: [2014/09/22 15:16:27.080096, 0] ../lib/util/become_daemon.c:124(exit_daemon)
set 22 15:16:27 AsusG75 samba[5778]: STATUS=daemon failed to start: Samba detected misconfigured 'server role' and exited. Check logs for details, error code 22
set 22 15:16:27 AsusG75 systemd[1]: samba.service: main process exited, code=exited, status=1/FAILURE
set 22 15:16:27 AsusG75 systemd[1]: Unit samba.service entered failed state.
I suppose I should change the role in my smb.conf, but I don't know what is the right key to be added.
My test without password
$ smbclient -L 192.168.1.7
Enter user's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC Service (Aspire-5733 server (Samba, Ubuntu))
print$ Disk Printer Drivers
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 4.1.6-Ubuntu]
Server Comment
--------- -------
Aspire-5733 server (Samba, Ubuntu)
ASUSG75 Asus G75 server
Workgroup Master
--------- -------
WORKGROUP ASPIRE-5733
Any clue ?
I found some way to use it again, but I'm not that sure it is the right way.
Commented the line securitu in /etc/samba/smb.conf
Started the service as systemctl start {smbd,nmbd,winbindd}
I'll test some more before render it as solved
Last edited by TheSaint (2014-09-23 22:29:58)
do it good first, it will be faster than do it twice the saint
Offline