Web lists-archives.com

[Samba] Cannot find KDC for requested realm




Hi folks,

this is my first time setting up samba4 as AD.

Using the 'samba_dnsupdate' tool, I get the error:

Failed to get Kerberos credentials, falling back to samba-tool: kinit
for AD$@AD.FIRMA.ANDRICK.DE failed (Cannot find KDC for requested realm)

How would I get at this error?

I assume 'AD$' is some automatically generated user. I have no idea how
to list the users. All I did was set a administrator password while
provisioning.

kinit and klist for the user 'administrator' seem to work. See me errors:


0:1265:root@ad (SB=unknown)~ [0]# samba_dnsupdate --verbose --all-names
IPs: ['fd35:4534:20ac:0:200:ff:fe00:5', '192.168.4.53']
force update: A ad.ad.firma.andrick.de 192.168.4.53
force update: AAAA ad.ad.firma.andrick.de fd35:4534:20ac:0:200:ff:fe00:5
force update: NS ad.firma.andrick.de ad.ad.firma.andrick.de
force update: NS _msdcs.ad.firma.andrick.de ad.ad.firma.andrick.de
force update: A ad.firma.andrick.de 192.168.4.53
force update: AAAA ad.firma.andrick.de fd35:4534:20ac:0:200:ff:fe00:5
force update: SRV _ldap._tcp.ad.firma.andrick.de ad.ad.firma.andrick.de 389
force update: SRV _ldap._tcp.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
force update: SRV
_ldap._tcp.06a22148-8927-4503-a7f3-9999ece5f80b.domains._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
force update: SRV _kerberos._tcp.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
force update: SRV _kerberos._udp.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
force update: SRV _kerberos._tcp.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
force update: SRV _kpasswd._tcp.ad.firma.andrick.de
ad.ad.firma.andrick.de 464
force update: SRV _kpasswd._udp.ad.firma.andrick.de
ad.ad.firma.andrick.de 464
force update: CNAME
974aea17-378d-490d-b977-6e95668ab6a9._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de
force update: SRV
_ldap._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
force update: SRV
_ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
force update: SRV
_kerberos._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
force update: SRV
_kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
force update: SRV _ldap._tcp.pdc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
force update: A gc._msdcs.ad.firma.andrick.de 192.168.4.53
force update: AAAA gc._msdcs.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5
force update: SRV _gc._tcp.ad.firma.andrick.de ad.ad.firma.andrick.de 3268
force update: SRV _ldap._tcp.gc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268
force update: SRV
_gc._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268
force update: SRV
_ldap._tcp.Default-First-Site-Name._sites.gc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268
force update: A DomainDnsZones.ad.firma.andrick.de 192.168.4.53
force update: AAAA DomainDnsZones.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5
force update: SRV _ldap._tcp.DomainDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
force update: SRV
_ldap._tcp.Default-First-Site-Name._sites.DomainDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
force update: A ForestDnsZones.ad.firma.andrick.de 192.168.4.53
force update: AAAA ForestDnsZones.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5
force update: SRV _ldap._tcp.ForestDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
force update: SRV
_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
34 DNS updates and 0 DNS deletes needed
Failed to get Kerberos credentials, falling back to samba-tool: kinit
for AD$@AD.FIRMA.ANDRICK.DE failed (Cannot find KDC for requested realm)

update (samba-tool): A ad.ad.firma.andrick.de 192.168.4.53
Calling samba-tool dns for A ad.ad.firma.andrick.de 192.168.4.53 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', 'ad', 'A', '192.168.4.53']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of A ad.ad.firma.andrick.de
192.168.4.53
update (samba-tool): AAAA ad.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5
Calling samba-tool dns for AAAA ad.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', 'ad', 'AAAA', 'fd35:4534:20ac:0:200:ff:fe00:5']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of AAAA ad.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5
update (samba-tool): NS ad.firma.andrick.de ad.ad.firma.andrick.de
Calling samba-tool dns for NS ad.firma.andrick.de ad.ad.firma.andrick.de
(add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '@', 'NS', 'ad.ad.firma.andrick.de']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of NS ad.firma.andrick.de
ad.ad.firma.andrick.de
update (samba-tool): NS _msdcs.ad.firma.andrick.de ad.ad.firma.andrick.de
Calling samba-tool dns for NS _msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de', '@', 'NS', 'ad.ad.firma.andrick.de']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of NS _msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de
update (samba-tool): A ad.firma.andrick.de 192.168.4.53
Calling samba-tool dns for A ad.firma.andrick.de 192.168.4.53 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '@', 'A', '192.168.4.53']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of A ad.firma.andrick.de 192.168.4.53
update (samba-tool): AAAA ad.firma.andrick.de fd35:4534:20ac:0:200:ff:fe00:5
Calling samba-tool dns for AAAA ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '@', 'AAAA', 'fd35:4534:20ac:0:200:ff:fe00:5']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of AAAA ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5
update (samba-tool): SRV _ldap._tcp.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
Calling samba-tool dns for SRV _ldap._tcp.ad.firma.andrick.de
ad.ad.firma.andrick.de 389 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '_ldap._tcp', 'SRV', 'ad.ad.firma.andrick.de 389
0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.ad.firma.andrick.de ad.ad.firma.andrick.de 389
update (samba-tool): SRV _ldap._tcp.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
Calling samba-tool dns for SRV _ldap._tcp.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de', '_ldap._tcp.dc', 'SRV',
'ad.ad.firma.andrick.de 389 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.dc._msdcs.ad.firma.andrick.de ad.ad.firma.andrick.de 389
update (samba-tool): SRV
_ldap._tcp.06a22148-8927-4503-a7f3-9999ece5f80b.domains._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
Calling samba-tool dns for SRV
_ldap._tcp.06a22148-8927-4503-a7f3-9999ece5f80b.domains._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de',
'_ldap._tcp.06a22148-8927-4503-a7f3-9999ece5f80b.domains', 'SRV',
'ad.ad.firma.andrick.de 389 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.06a22148-8927-4503-a7f3-9999ece5f80b.domains._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
update (samba-tool): SRV _kerberos._tcp.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
Calling samba-tool dns for SRV _kerberos._tcp.ad.firma.andrick.de
ad.ad.firma.andrick.de 88 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '_kerberos._tcp', 'SRV', 'ad.ad.firma.andrick.de
88 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_kerberos._tcp.ad.firma.andrick.de ad.ad.firma.andrick.de 88
update (samba-tool): SRV _kerberos._udp.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
Calling samba-tool dns for SRV _kerberos._udp.ad.firma.andrick.de
ad.ad.firma.andrick.de 88 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '_kerberos._udp', 'SRV', 'ad.ad.firma.andrick.de
88 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_kerberos._udp.ad.firma.andrick.de ad.ad.firma.andrick.de 88
update (samba-tool): SRV _kerberos._tcp.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
Calling samba-tool dns for SRV
_kerberos._tcp.dc._msdcs.ad.firma.andrick.de ad.ad.firma.andrick.de 88 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de', '_kerberos._tcp.dc', 'SRV',
'ad.ad.firma.andrick.de 88 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_kerberos._tcp.dc._msdcs.ad.firma.andrick.de ad.ad.firma.andrick.de 88
update (samba-tool): SRV _kpasswd._tcp.ad.firma.andrick.de
ad.ad.firma.andrick.de 464
Calling samba-tool dns for SRV _kpasswd._tcp.ad.firma.andrick.de
ad.ad.firma.andrick.de 464 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '_kpasswd._tcp', 'SRV', 'ad.ad.firma.andrick.de
464 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_kpasswd._tcp.ad.firma.andrick.de ad.ad.firma.andrick.de 464
update (samba-tool): SRV _kpasswd._udp.ad.firma.andrick.de
ad.ad.firma.andrick.de 464
Calling samba-tool dns for SRV _kpasswd._udp.ad.firma.andrick.de
ad.ad.firma.andrick.de 464 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '_kpasswd._udp', 'SRV', 'ad.ad.firma.andrick.de
464 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_kpasswd._udp.ad.firma.andrick.de ad.ad.firma.andrick.de 464
update (samba-tool): CNAME
974aea17-378d-490d-b977-6e95668ab6a9._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de
Calling samba-tool dns for CNAME
974aea17-378d-490d-b977-6e95668ab6a9._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de', '974aea17-378d-490d-b977-6e95668ab6a9',
'CNAME', 'ad.ad.firma.andrick.de']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of CNAME
974aea17-378d-490d-b977-6e95668ab6a9._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de
update (samba-tool): SRV
_ldap._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
Calling samba-tool dns for SRV
_ldap._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 389 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '_ldap._tcp.Default-First-Site-Name._sites',
'SRV', 'ad.ad.firma.andrick.de 389 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
update (samba-tool): SRV
_ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
Calling samba-tool dns for SRV
_ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de',
'_ldap._tcp.Default-First-Site-Name._sites.dc', 'SRV',
'ad.ad.firma.andrick.de 389 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.Default-First-Site-Name._sites.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
update (samba-tool): SRV
_kerberos._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
Calling samba-tool dns for SRV
_kerberos._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 88 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '_kerberos._tcp.Default-First-Site-Name._sites',
'SRV', 'ad.ad.firma.andrick.de 88 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_kerberos._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
update (samba-tool): SRV
_kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
Calling samba-tool dns for SRV
_kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 88 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de',
'_kerberos._tcp.Default-First-Site-Name._sites.dc', 'SRV',
'ad.ad.firma.andrick.de 88 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_kerberos._tcp.Default-First-Site-Name._sites.dc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 88
update (samba-tool): SRV _ldap._tcp.pdc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
Calling samba-tool dns for SRV _ldap._tcp.pdc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 389 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de', '_ldap._tcp.pdc', 'SRV',
'ad.ad.firma.andrick.de 389 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.pdc._msdcs.ad.firma.andrick.de ad.ad.firma.andrick.de 389
update (samba-tool): A gc._msdcs.ad.firma.andrick.de 192.168.4.53
Calling samba-tool dns for A gc._msdcs.ad.firma.andrick.de 192.168.4.53
(add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de', 'gc', 'A', '192.168.4.53']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of A gc._msdcs.ad.firma.andrick.de
192.168.4.53
update (samba-tool): AAAA gc._msdcs.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5
Calling samba-tool dns for AAAA gc._msdcs.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de', 'gc', 'AAAA',
'fd35:4534:20ac:0:200:ff:fe00:5']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of AAAA
gc._msdcs.ad.firma.andrick.de fd35:4534:20ac:0:200:ff:fe00:5
update (samba-tool): SRV _gc._tcp.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268
Calling samba-tool dns for SRV _gc._tcp.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '_gc._tcp', 'SRV', 'ad.ad.firma.andrick.de 3268 0
100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV _gc._tcp.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268
update (samba-tool): SRV _ldap._tcp.gc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268
Calling samba-tool dns for SRV _ldap._tcp.gc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de', '_ldap._tcp.gc', 'SRV',
'ad.ad.firma.andrick.de 3268 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.gc._msdcs.ad.firma.andrick.de ad.ad.firma.andrick.de 3268
update (samba-tool): SRV
_gc._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268
Calling samba-tool dns for SRV
_gc._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '_gc._tcp.Default-First-Site-Name._sites', 'SRV',
'ad.ad.firma.andrick.de 3268 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_gc._tcp.Default-First-Site-Name._sites.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268
update (samba-tool): SRV
_ldap._tcp.Default-First-Site-Name._sites.gc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268
Calling samba-tool dns for SRV
_ldap._tcp.Default-First-Site-Name._sites.gc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'_msdcs.ad.firma.andrick.de',
'_ldap._tcp.Default-First-Site-Name._sites.gc', 'SRV',
'ad.ad.firma.andrick.de 3268 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.Default-First-Site-Name._sites.gc._msdcs.ad.firma.andrick.de
ad.ad.firma.andrick.de 3268
update (samba-tool): A DomainDnsZones.ad.firma.andrick.de 192.168.4.53
Calling samba-tool dns for A DomainDnsZones.ad.firma.andrick.de
192.168.4.53 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', 'DomainDnsZones', 'A', '192.168.4.53']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of A
DomainDnsZones.ad.firma.andrick.de 192.168.4.53
update (samba-tool): AAAA DomainDnsZones.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5
Calling samba-tool dns for AAAA DomainDnsZones.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', 'DomainDnsZones', 'AAAA',
'fd35:4534:20ac:0:200:ff:fe00:5']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of AAAA
DomainDnsZones.ad.firma.andrick.de fd35:4534:20ac:0:200:ff:fe00:5
update (samba-tool): SRV _ldap._tcp.DomainDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
Calling samba-tool dns for SRV
_ldap._tcp.DomainDnsZones.ad.firma.andrick.de ad.ad.firma.andrick.de 389
(add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '_ldap._tcp.DomainDnsZones', 'SRV',
'ad.ad.firma.andrick.de 389 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.DomainDnsZones.ad.firma.andrick.de ad.ad.firma.andrick.de 389
update (samba-tool): SRV
_ldap._tcp.Default-First-Site-Name._sites.DomainDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
Calling samba-tool dns for SRV
_ldap._tcp.Default-First-Site-Name._sites.DomainDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de',
'_ldap._tcp.Default-First-Site-Name._sites.DomainDnsZones', 'SRV',
'ad.ad.firma.andrick.de 389 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.Default-First-Site-Name._sites.DomainDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
update (samba-tool): A ForestDnsZones.ad.firma.andrick.de 192.168.4.53
Calling samba-tool dns for A ForestDnsZones.ad.firma.andrick.de
192.168.4.53 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', 'ForestDnsZones', 'A', '192.168.4.53']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of A
ForestDnsZones.ad.firma.andrick.de 192.168.4.53
update (samba-tool): AAAA ForestDnsZones.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5
Calling samba-tool dns for AAAA ForestDnsZones.ad.firma.andrick.de
fd35:4534:20ac:0:200:ff:fe00:5 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', 'ForestDnsZones', 'AAAA',
'fd35:4534:20ac:0:200:ff:fe00:5']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of AAAA
ForestDnsZones.ad.firma.andrick.de fd35:4534:20ac:0:200:ff:fe00:5
update (samba-tool): SRV _ldap._tcp.ForestDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
Calling samba-tool dns for SRV
_ldap._tcp.ForestDnsZones.ad.firma.andrick.de ad.ad.firma.andrick.de 389
(add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de', '_ldap._tcp.ForestDnsZones', 'SRV',
'ad.ad.firma.andrick.de 389 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.ForestDnsZones.ad.firma.andrick.de ad.ad.firma.andrick.de 389
update (samba-tool): SRV
_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
Calling samba-tool dns for SRV
_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389 (add)
Calling samba-tool dns add -k no -P ['fd35:4534:20ac:0:200:ff:fe00:5',
'ad.firma.andrick.de',
'_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones', 'SRV',
'ad.ad.firma.andrick.de 389 0 100']
ERROR(runtime): uncaught exception - (9711,
'WERR_DNS_ERROR_RECORD_ALREADY_EXISTS')
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/__init__.py",
line 176, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/samba/netcmd/dns.py", line
940, in run
    raise e
Failed 'samba-tool dns' based update of SRV
_ldap._tcp.Default-First-Site-Name._sites.ForestDnsZones.ad.firma.andrick.de
ad.ad.firma.andrick.de 389
Failed update of 34 entries
0:1266:root@ad (SB=unknown)~ [34]#
0:1266:root@ad (SB=unknown)~ [34]#
0:1266:root@ad (SB=unknown)~ [34]#
0:1266:root@ad (SB=unknown)~ [34]# kinit administrator$@AD.FIRMA.ANDRICK.DE
Extra arguments (starting with "onAD.FIRMA.ANDRICK.DE").
Usage: kinit [-V] [-l lifetime] [-s start_time]
    [-r renewable_life] [-f | -F | --forwardable | --noforwardable]
    [-p | -P | --proxiable | --noproxiable]
    -n [-a | -A | --addresses | --noaddresses]
    [--request-pac | --no-request-pac]
    [-C | --canonicalize]
    [-E | --enterprise]
    [-v] [-R] [-k [-i|-t keytab_file]] [-c cachename]
    [-S service_name] [-T ticket_armor_cache]
    [-X <attribute>[=<value>]] [principal]

    options:
    -V verbose
    -l lifetime
    -s start time
    -r renewable lifetime
    -f forwardable
    -F not forwardable
    -p proxiable
    -P not proxiable
    -n anonymous
    -a include addresses
    -A do not include addresses
    -v validate
    -R renew
    -C canonicalize
    -E client is enterprise principal name
    -k use keytab
    -i use default client keytab (with -k)
    -t filename of keytab to use
    -c Kerberos 5 cache name
    -S service
    -T armor credential cache
    -X <attribute>[=<value>]
0:1267:root@ad (SB=unknown)~ [2]# kinit administrator@xxxxxxxxxxxxxxxxxxx
Password for administrator@xxxxxxxxxxxxxxxxxxx:
0:1268:root@ad (SB=unknown)~ [0]# klist
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: administrator@xxxxxxxxxxxxxxxxxxx

Valid starting       Expires              Service principal
08/19/2018 02:49:50  08/19/2018 12:49:50 
krbtgt/AD.FIRMA.ANDRICK.DE@xxxxxxxxxxxxxxxxxxx
    renew until 08/20/2018 02:49:45
0:1269:root@ad (SB=unknown)~ [0]#


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba