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
Samba File Sharing Issues
Re: Samba File Sharing Issues
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 = /
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
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.
"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.
Re: Samba File Sharing Issues
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
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
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.
"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.