--- nsupdate-gss.orig 2006-01-23 14:50:07.000000000 +1000 +++ nsupdate-gss 2006-01-23 15:01:32.000000000 +1000 @@ -139,8 +139,15 @@ GSS_C_SEQUENCE_FLAG | GSS_C_CONF_FLAG | GSS_C_INTEG_FLAG | GSS_C_DELEG_FLAG; + my $cname = GSSAPI::Name->new; + $status = $cname->import($cname, "host", + GSSAPI::OID::gss_nt_hostbased_service()); + if (! $status) { + print "import name host/: $status\n"; + return undef; + } - $status = GSSAPI::Cred::acquire_cred(undef, 120, undef, GSS_C_INITIATE, + $status = GSSAPI::Cred::acquire_cred($cname, 120, undef, GSS_C_INITIATE, my $cred, my $oidset, my $time); if (! $status) {