Univention Bugzilla – Attachment 9089 Details for
Bug 40457
Error handling in 98univention-samba4-dns.inst
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
40457.patch (text/plain), 1.75 KB, created by
Florian Best
on 2017-08-03 16:13:10 CEST
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Florian Best
Created:
2017-08-03 16:13:10 CEST
Size:
1.75 KB
patch
obsolete
>diff --git a/services/univention-samba4/98univention-samba4-dns.inst b/services/univention-samba4/98univention-samba4-dns.inst >index 053754a..6b5750f 100644 >--- a/services/univention-samba4/98univention-samba4-dns.inst >+++ b/services/univention-samba4/98univention-samba4-dns.inst >@@ -61,10 +61,10 @@ if [ "$samba4_role" != "RODC" ]; then > /usr/share/univention-samba4/scripts/create_spn_account.sh \ > --samaccountname "dns-$hostname" \ > --serviceprincipalname "DNS/$hostname.$domainname" \ >- --privatekeytab dns.keytab >+ --privatekeytab dns.keytab || die > fi > >-update_nss_group_cache >+update_nss_group_cache || die > > # Reset NTACLs after the connector has synced the accounts > if [ $JS_LAST_EXECUTED_VERSION -lt 1 ]; then >@@ -129,17 +129,17 @@ if [ $JS_LAST_EXECUTED_VERSION -le 1 ]; then > > if [ "$s4connectorservicedcs" = "$hostname" ]; then > >- /usr/share/univention-samba4/scripts/setup-dns-in-ucsldap.sh "$@" --dc --gc --pdc "$site" >+ /usr/share/univention-samba4/scripts/setup-dns-in-ucsldap.sh "$@" --dc --gc --pdc "$site" || die > > else > >- /usr/share/univention-samba4/scripts/setup-dns-in-ucsldap.sh "$@" --dc "$site" >+ /usr/share/univention-samba4/scripts/setup-dns-in-ucsldap.sh "$@" --dc "$site" || die > > fi > > elif [ "$samba4_role" = "RODC" ]; then > >- /usr/share/univention-samba4/scripts/setup-dns-in-ucsldap.sh "$@" --rodc "$site" >+ /usr/share/univention-samba4/scripts/setup-dns-in-ucsldap.sh "$@" --rodc "$site" || die > > fi > >@@ -148,7 +148,7 @@ fi > # On a selective replicated DC the local system is not registered in global > # SRV records. But the local settings are required, so execute samba_dnsupdate > if is_ucr_true samba4/join/dnsupdate; then >- samba_dnsupdate --local >+ samba_dnsupdate --local || die > fi > > joinscript_save_current_version
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 40457
: 9089