Server not functional after IP change

Any help or hint to solve this problem is really appreciated.

After running the server smoothly for about a year i had to change the IP of the secondary network Interface and after that change i can’t add new users to any share or windows folder (via windows). As soon as i press the advanced options button to search for the user from the directory an error appears stating “Server is not functional”

So i went onto google and read that this might be due to dns not reflecting the new IP. address.

Is there something im missing after the IP address change?

UCS version 4.3-2 errata376.
Role: Active Directory Domain Controller.
Apps installed DNS, Desktop environment, Nagios, Print Server, Print Quota, Radius, Self Service and Software installation monitor.

Backup domain controller
UCS version 4.3-2 errata376.
Role: Backup Domain controller
Apps installed DNS, Desktop environment, Nagios, Print Server, Print Quota, Radius, Self Service and Software installation monitor.
screen

Hi! Can you describe the process how you changed the IP address on the second interface?

I made the change via the web interface System - Network settings then chossing the ethernet interface and edit.

By the way everything else seems to work ok, I just can’t add new users to the shares

Thanks!

Did you do a flush DNS on the windows machine where you‘re about to set the rights?
Maybe the old ip is still in DNS cache

Rg
Christian

Hello Christian, thanks for your help

I had not done it before, but now i did and the rebooted the windows pc but still not working. Same error

Hi,

you changed the secondary interface?
So you have at least two networks?
What does the following tell you:
ucr search --brief interfaces

/CV

Hi @Christian_Voelker

My main interface is enp0s8 with IP 192.168.2.41
And the one i changed enp0s3: with IP 192.168.10.30

This is the result:

root@ucs-prepa:~# ucr search --brief interfaces
interfaces/.*/address: <empty>
interfaces/.*/broadcast: <empty>
interfaces/.*/ipv6/.*/address: <empty>
interfaces/.*/ipv6/.*/prefix: <empty>
interfaces/.*/ipv6/acceptRA: <empty>
interfaces/.*/mac: <empty>
interfaces/.*/mtu: <empty>
interfaces/.*/netmask: <empty>
interfaces/.*/network: <empty>
interfaces/.*/options/.*: <empty>
interfaces/.*/order: <empty>
interfaces/.*/route/.*: <empty>
interfaces/.*/start: <empty>
interfaces/.*/type: <empty>
interfaces/enp0s3/address: 192.168.10.30
interfaces/enp0s3/broadcast: 192.168.10.255
interfaces/enp0s3/ipv6/acceptRA: false
interfaces/enp0s3/netmask: 255.255.255.0
interfaces/enp0s3/network: 192.168.10.0
interfaces/enp0s3/start: true
interfaces/enp0s3/type: static
interfaces/enp0s8/address: 192.168.2.41
interfaces/enp0s8/broadcast: 192.168.2.255
interfaces/enp0s8/ipv6/acceptRA: false
interfaces/enp0s8/netmask: 255.255.255.0
interfaces/enp0s8/network: 192.168.2.0
interfaces/enp0s8/start: true
interfaces/enp0s8/type: static
interfaces/handler: ifplugd
interfaces/primary: enp0s8
interfaces/restart/auto: false
mail/postfix/inet/interfaces: 127.0.0.1
samba/interfaces/bindonly: yes
samba/interfaces: lo <interfaces/primary> lo lo lo lo lo
samba/register/exclude/interfaces: docker0

Thanks your help!

Hi,

well, at least you should configure the Samba settings properly.
ucr set samba/interfaces="lo enp0s8 enp0s3"
Restart Samba then:
/etc/init.d/samba restart

If it is still not working I would first check routing and if this is fine name resolution through DNS would be the next part.

ucr get gateway
ucr search --brief dns/forwarder
ucr search --brief nameserv

Note: Please format your output accordingly! I did it this time for you, but if you do not your text will miss important information and it is much more difficult to help!
/CV

Thank you for your help and patience Christian. Im totaly new to samba but willing to learn.

I ran the commands you posted and restarted samba. but still cant add users to any share.

This is the output of the additional commands.

From a windows workstation: nslookup ucs-prepa.londonschool.intranet
Server:         192.168.2.41
Address:        192.168.2.41#53

Name:   ucs-prepa.londonschool.intranet
Address: 192.168.2.41
Name:   ucs-prepa.londonschool.intranet
Address: 192.168.10.30

ucr get gateway
192.168.2.75

ucr search --brief dns/forwarder
dns/forwarder1: 192.168.2.75
dns/forwarder2: 192.168.10.75
dns/forwarder3: <empty>

ucr search --brief nameserv
dns/nameserver/registration/forward_zone: <empty>
dns/nameserver/registration/reverse_zone: <empty>
nameserver/external: false
nameserver/option/timeout: 2
nameserver1: 192.168.2.41
nameserver2: <empty>
nameserver3: <empty>