[Samba] Samba AD - Different IP than the existing one assigned
Lionel Monchecourt
lionel.monchecourt at free.fr
Thu Feb 27 15:34:00 UTC 2020
J’en ai profité pour desactive VPN et autre.
Du coup, je n’ai que :
root at TransmitCorp~# ifconfig -a
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 9001
inet 172.31.6.15 netmask 255.255.240.0 broadcast 172.31.15.255
inet6 fe80::bf:52ff:fe4a:fe3c prefixlen 64 scopeid 0x20<link>
ether 02:bf:52:4a:fe:3c txqueuelen 1000 (Ethernet)
RX packets 3542 bytes 1140588 (1.1 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3222 bytes 585973 (585.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 685 bytes 85847 (85.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 685 bytes 85847 (85.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Contenu du /etc/hosts
127.0.0.1 localhost
172.31.6.15 adc1 adc1.transmitcorp.com
Contenu du /etc/resolv.conf
search transmitcorp.com
nameserver 172.31.6.15
options edns0
script de test :
root at TransmitCorp~# sh samba-collect-debug-info.sh
samba-collect-debug-info.sh: 15: [: Illegal number:
Please wait, collecting debug info.
root at TransmitCorp~# more /tmp/samba-debug-info.txt
Collected config --- 2020-02-27-15:28 -----------
Hostname: adc1
DNS Domain:
FQDN: adc1
ipaddress: 172.31.6.15
-----------
WARNING: kinit Administrator will fail and this needs to be fixed first.
unable to verify DNS kerberos._tcp SRV records
Server: 172.31.6.15
Address: 172.31.6.15#53
** server can't find _kerberos._tcp: NXDOMAIN
Le
Host -t A transmitcorp.com qui marchait avant ne marche plus
Status du service :
ot at TransmitCorp~# service samba-ad-dc status
● samba-ad-dc.service - Samba AD Daemon
Loaded: loaded (/lib/systemd/system/samba-ad-dc.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Thu 2020-02-27 15:23:34 UTC; 9min ago
Docs: man:samba(8)
man:samba(7)
man:smb.conf(5)
Process: 897 ExecStart=/usr/sbin/samba --foreground --no-process-group $SAMBAOPTIONS (code=exited, status=1/FAILURE)
Main PID: 897 (code=exited, status=1/FAILURE)
Feb 27 15:23:33 adc1 samba[1737]: task[dns][1737]: Failed to bind to 0.0.0.0:53 TCP - NT_STATUS_ADDRESS_ALREADY_ASSOCIATED
Feb 27 15:23:33 adc1 samba[1737]: task[dns][1737]: [2020/02/27 15:23:33.910256, 0] ../source4/smbd/service_task.c:36(task_server_terminate)
Feb 27 15:23:33 adc1 samba[1737]: task[dns][1737]: task_server_terminate: task_server_terminate: [dns failed to setup interfaces]
Feb 27 15:23:33 adc1 samba[897]: root process[897]: [2020/02/27 15:23:33.915968, 0] ../source4/smbd/server.c:288(samba_terminate)
Feb 27 15:23:33 adc1 samba[897]: root process[897]: samba_terminate: samba_terminate of samba 897: dns failed to setup interfaces
Feb 27 15:23:34 adc1 systemd[1]: samba-ad-dc.service: Main process exited, code=exited, status=1/FAILURE
Feb 27 15:23:34 adc1 samba[1724]: task[ldapsrv][1724]: [2020/02/27 15:23:34.684245, 0] ../source4/smbd/process_standard.c:81(sigterm_signal_handler)
Feb 27 15:23:34 adc1 samba[1724]: task[ldapsrv][1724]: sigterm_signal_handler: Exiting pid 1724 on SIGTERM
Feb 27 15:23:34 adc1 systemd[1]: samba-ad-dc.service: Failed with result 'exit-code'.
Feb 27 15:23:34 adc1 systemd[1]: Failed to start Samba AD Daemon.
root at TransmitCorp~#
merci
More information about the samba
mailing list