everything seems to be working fine. except one thing, when i test with following syntax
smbclient -k -L localhost i get following error
root@hostname:/var/log/samba$ smbclient -k -L localhost
session setup failed: NT_STATUS_INVALID_PARAMETER
but if i run smbclient -L localhost then i see proper output.
does anyone know the issue
also i setup debuging and saw following error
[2016/05/16 10:06:06.403169, 0] ../source4/smbd/server.c:477(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/16 10:06:06.403241, 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