Forum archive
clean install of Samba4 14.1 broken by first security update
I am having an issue with TKL domain controller 14.1
When I install the appliance and allow it to run it's security auto update, I end up with this
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
Adding DomainDN: DC=mydomain,DC=com
Adding configuration container
Setting up sam.ldb schema
Setting up sam.ldb configuration data
Setting up display specifiers
Modifying display specifiers
Adding users container
Modifying users container
Adding computers container
Modifying computers container
Setting up sam.ldb data
Setting up well known security principals
Setting up sam.ldb users and groups
Setting up self join
Adding DNS accounts
Creating CN=MicrosoftDNS,CN=System,DC=mydomain,DC=com
Creating DomainDnsZones and ForestDnsZones partitions
Populating DomainDnsZones and ForestDnsZones partitions
Setting up sam.ldb rootDSE marking as synchronized
Fixing provision GUIDs
A Kerberos configuration suitable for Samba 4 has been generated at /var/lib/samba/private/krb5.conf
Setting up fake yp server settings
Once the above files are installed, your Samba4 server will be ready to use
Server Role: active directory domain controller
Hostname: dc1
NetBIOS Domain: MYDOMAIN
DNS Domain: mydomain.com
DOMAIN SID: S-1-5-21-859147655-2648909413-54802912
Expiry for user 'administrator' disabled.
kinit: Cannot find KDC for realm "MYDOMAIN.COM" while getting initial credentials
Traceback (most recent call last):
File "/usr/lib/inithooks/bin/domain-controller.py", line 123, in <module>
main()
File "/usr/lib/inithooks/bin/domain-controller.py", line 118, in main
system('echo {ADMIN_PASSWORD} | kinit {ADMIN_USER}@{REALM}'.format(ADMIN_PASSWORD=admin_password, ADMIN_USER=ADMIN_USER, REALM=realm.upper()))
File "/usr/lib/python2.7/dist-packages/executil.py", line 56, in system
raise ExecError(command, exitcode)
executil.ExecError: non-zero exitcode (1) for command: echo %MYPASSWORD% | kinit administrator@MYDOMAIN.COM
root@dc1 ~#
If I don't allow the appliance to run it's security update, the domain-controler.py script runs just fine.
Any help you can provide me would be greatly appreciated!
Taylor Hammerling
I should note that the output in the formatted box above comes from the domain-controler.py script.