I have a modem/router/switch one device (Synology on ip adress 192.168.0.1:7500). It is also my dhcp server.
Then I have a machine without screen or keyboard/mouse. It got 192.168.0.5 as static ip adress. It runs a copy of Nethserver version 7.4.1708 (Final), kernel 3.10.0-693.17.1.el7.x86_64.
I use a workstation with a dynamic ip address 192.168.0.223. I connect to the dashboard using firefox 59.02 for Linux 64 bit. I login as root.
Come in at the dashboard and click in the left pane “Applications”. One of the buttons in the right pane is Samba audit. The others are “Nextcloud”, “PhpMyAdmin”, “Roundcube Webmail” and “Virtual machine manager”.
Hooving over the button of Samba audit, in the left downside of the screen it say “https://192.168.0.5:980/967a7b3b60c5cddf43b3c5ed9030d2921534cf14/”. Clicking on the button it occasionally it go to that address but within 0,5 seconds it change to “https://localhost/967a7b3b60c5cddf43b3c5ed9030d2921534cf14/”. Of course this is the localhost on my workstation and not the server as it has ip address 192.168.0.5.
So something is redirecting the address to localhost, but I can’t find out who is doing this.
I have in /etc/httpd/conf.d/smbaudit.conf
Alias /967a7b3b60c5cddf43b3c5ed9030d2921534cf14 /usr/share/smbaudit
<Directory /usr/share/smbaudit>
AllowOverride none
Options +Indexes
AddType application/x-httpd-php .php .php3
Require local
The number is exactly the same as in /var/lib/nethserver/db/configuration
smb=service|AuditAlias|967a7b3b60c5cddf43b3c5ed9030d2921534cf14|DeadTime|10080|HomeAdmStatus|disabled|InheritOwner|yes|NetbiosAliasList||ShareAdmStatus|disabled|TCPPorts|139,445|UseClientDriver|yes|UseCups|enabled|WinsServerIP||access|green|status|enabled
It is the configuration I got from building up the machine, nothing chanced so far.
Then there is a options in the left pane to access Samba audit direct in the right pane. It points to https://192.168.0.5:980/en-US/SambaAudit If I choose that it end up the same result, the difference is in the address list (top of the browser) it doesn’t chance to localhost but I think in the right pane background it did.
In both cases the browser tells me server not found.
I hope I gave you enough information, do you want more, ask!
Pit