Page 1 of 1

Samba File Sharing Issues

Posted: Mon Dec 09, 2013 12:05 am
by lccouncil
Hi Team
We have build a new vm with nagios xi, we are having issues and have come to a complete
halt when it comes to creating share drives and accessing then with our windows based platforms.

We are currently running an older version of Nagios xi which is monitoring our network so we are
able to access all settings on that and copy them to the new version as the old one has no issues
with shared folders.

We are following the following document and have set up samba but with no luck.

http://support.nagios.com/forum/viewtop ... mba#p19697

We are getting stuck on the following code:

cp /etc/samba/smb.conf /etc/samba/smb.conf.bak <---Goes through OK
mkdir -p /srv/samba/share <---Goes through OK
chown nobody:nogroup /srv/samba/share/ <--- says chown: invalid group: `nobody:nogroup'


If someone could point us in the right direction we would really appreciate it..

Thanks.

Marcin

Re: Samba File Sharing Issues

Posted: Mon Dec 09, 2013 12:08 am
by lccouncil
Here is out currently working SAMBA Configuration on the existing box.

when we type in it's ip address or host name it opens right away.

[global]
workgroup = MSHOME
guest account = nobody
netbios name = %h
encrypt passwords = true
security = user
passdb backend = tdbsam

[Public]
writeable = yes
public = yes
path = /var/public/

[Root]
writeable = yes
valid users = root,@root
user = root,@root
write list = root,@root
path = /

Re: Samba File Sharing Issues

Posted: Mon Dec 09, 2013 10:36 am
by abrist
Does the "nogroup" group exist?

Code: Select all

grep nogroup /etc/group 

Re: Samba File Sharing Issues

Posted: Mon Dec 09, 2013 5:53 pm
by lccouncil
Hi Team

The following command line did not work, we have also tried inserting this config with no success.

[global]
workgroup = MSHOME
serverstring = issmonitor


hosts allow = 10.16.8.

[root]
path = /
public = yes
writable = yes

Re: Samba File Sharing Issues

Posted: Mon Dec 09, 2013 5:58 pm
by abrist
Do you have a nobody group? If so, use 'nobody' instead of 'nogroup' to set up the samba:

Code: Select all

grep nobody /etc/group