Ian Main
2009-Feb-19 23:56 UTC
[Ovirt-devel] [PATCH node] Don't specify realm in kinit on node
Let kerberos use the default realm instead of hardcoding silly ovirt priv realm. Signed-off-by: Ian Main <imain at redhat.com> --- kinit/ovirt-kinit | 2 +- scripts/ovirt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kinit/ovirt-kinit b/kinit/ovirt-kinit index 143b356..572d303 100644 --- a/kinit/ovirt-kinit +++ b/kinit/ovirt-kinit @@ -1,6 +1,6 @@ #!/bin/sh -/usr/kerberos/bin/kinit -k -t /etc/libvirt/krb5.tab qpidd/`hostname`@PRIV.OVIRT.ORG +/usr/kerberos/bin/kinit -k -t /etc/libvirt/krb5.tab qpidd/`hostname` EXITVALUE=$? if [ $EXITVALUE != 0 ]; then diff --git a/scripts/ovirt b/scripts/ovirt index 1f8d940..4c336ae 100755 --- a/scripts/ovirt +++ b/scripts/ovirt @@ -64,7 +64,7 @@ start() { libvirt_qpid_conf=/etc/sysconfig/libvirt-qpid if [ -f $libvirt_qpid_conf ]; then echo "LIBVIRT_QPID_ARGS=\"--broker $SRV_HOST --port $SRV_PORT --gssapi\"" >> $libvirt_qpid_conf - echo "/usr/kerberos/bin/kinit -k -t /etc/libvirt/krb5.tab qpidd/`hostname`@PRIV.OVIRT.ORG" >> $libvirt_qpid_conf + echo "/usr/kerberos/bin/kinit -k -t /etc/libvirt/krb5.tab qpidd/`hostname`" >> $libvirt_qpid_conf fi else log "skipping libvirt-qpid configuration, could not find $libvirt_qpid_conf" -- 1.6.0.4
Ian Main
2009-Feb-20 00:04 UTC
[Ovirt-devel] Re: [PATCH node] Don't specify realm in kinit on node
Obvious bugfix, I pushed it. Ian On Thu, 19 Feb 2009 15:56:43 -0800 Ian Main <imain at redhat.com> wrote:> Let kerberos use the default realm instead of hardcoding silly ovirt > priv realm. > > Signed-off-by: Ian Main <imain at redhat.com> > --- > kinit/ovirt-kinit | 2 +- > scripts/ovirt | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --git a/kinit/ovirt-kinit b/kinit/ovirt-kinit > index 143b356..572d303 100644 > --- a/kinit/ovirt-kinit > +++ b/kinit/ovirt-kinit > @@ -1,6 +1,6 @@ > #!/bin/sh > > -/usr/kerberos/bin/kinit -k -t /etc/libvirt/krb5.tab qpidd/`hostname`@PRIV.OVIRT.ORG > +/usr/kerberos/bin/kinit -k -t /etc/libvirt/krb5.tab qpidd/`hostname` > > EXITVALUE=$? > if [ $EXITVALUE != 0 ]; then > diff --git a/scripts/ovirt b/scripts/ovirt > index 1f8d940..4c336ae 100755 > --- a/scripts/ovirt > +++ b/scripts/ovirt > @@ -64,7 +64,7 @@ start() { > libvirt_qpid_conf=/etc/sysconfig/libvirt-qpid > if [ -f $libvirt_qpid_conf ]; then > echo "LIBVIRT_QPID_ARGS=\"--broker $SRV_HOST --port $SRV_PORT --gssapi\"" >> $libvirt_qpid_conf > - echo "/usr/kerberos/bin/kinit -k -t /etc/libvirt/krb5.tab qpidd/`hostname`@PRIV.OVIRT.ORG" >> $libvirt_qpid_conf > + echo "/usr/kerberos/bin/kinit -k -t /etc/libvirt/krb5.tab qpidd/`hostname`" >> $libvirt_qpid_conf > fi > else > log "skipping libvirt-qpid configuration, could not find $libvirt_qpid_conf" > -- > 1.6.0.4 >