Samba File Sharing Issues

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
lccouncil
Posts: 25
Joined: Mon Jun 14, 2010 6:05 pm

Samba File Sharing Issues

Post 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
lccouncil
Posts: 25
Joined: Mon Jun 14, 2010 6:05 pm

Re: Samba File Sharing Issues

Post 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 = /
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Samba File Sharing Issues

Post by abrist »

Does the "nogroup" group exist?

Code: Select all

grep nogroup /etc/group 
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
lccouncil
Posts: 25
Joined: Mon Jun 14, 2010 6:05 pm

Re: Samba File Sharing Issues

Post 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
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Samba File Sharing Issues

Post 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 
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked