i.krbconf revision fe598cdcd847f8359013532d5c691bb6190378c0
12856N/A# The contents of this file are subject to the terms of the 12856N/A# Common Development and Distribution License (the "License"). 12856N/A# You may not use this file except in compliance with the License. 12856N/A# See the License for the specific language governing permissions 12856N/A# and limitations under the License. 14313N/A# When distributing Covered Code, include this CDDL HEADER in each 14313N/A# If applicable, add the following below this CDDL HEADER, with the 12856N/A# fields enclosed by brackets "[]" replaced with your own identifying 14313N/A# information: Portions Copyright [yyyy] [name of copyright owner] 14313N/A# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 14313N/A# Use is subject to license terms. sed -e
"/^[ ]*___slave_kdcs___/d" \
# If the existing krb5.conf file is not configured and using # the old template (resulting in mis-configuration) then # comment-out the misconfigured entries. egrep -s
"^[ ]*default_realm = ___default_realm___" $dest sed -e
"s/^\([ ]*default_realm = ___default_realm___\)/#\1/" \
-e
"s/^\([ ]*___default_realm___ = {\)/#\1/" \
-e
"s/^\([ ]*kdc = ___master_kdc___\)/#\1/" \
-e
"s/^\([ ]*kdc = ___slave_kdc.___\)/#\1/g" \
-e
'/^[ ]*admin_server = ___master_kdc___/{ s/^\([ ]*admin_server = ___master_kdc___\)\n\([ ]*\}\)$/#\1\ -e
"s/^\([ ]*___domainname___ = ___default_realm___\)/#\1/" \