Bug 4968 - Bug in Dynamic DNS upgrade
Bug in Dynamic DNS upgrade
Product: Samba 3.0
Classification: Unclassified
Component: net utility
Other Linux
: P3 normal
: none
Assigned To: Gerald (Jerry) Carter
Samba QA Contact
Depends on:
  Show dependency treegraph
Reported: 2007-09-12 08:55 UTC by Martin Zielinski
Modified: 2007-09-13 11:13 UTC (History)
1 user (show)

See Also:

Makes DNS update work with heimdal 0.7.2 (1.23 KB, patch)
2007-09-12 08:57 UTC, Martin Zielinski
no flags Details
Alternative approach for MIT and Heimdal (1.52 KB, patch)
2007-09-12 11:47 UTC, Guenther Deschner
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Zielinski 2007-09-12 08:55:04 UTC
Creating a DNS entry on a W2k3 AD Server fails with heimdal.

The reason is, that gss_import_name() from heimdal will always fail.
The gss_OID provided by "dnsgss.c - dns_negotiate_sec_ctx()" is not known by heimdal.

2ndly 	"krb5_parse_name( krb_ctx, targetname, &host_principal );" 
does quite the same as "gss_import_name( &minor, &input_name,
				 &nt_host_oid_desc, &targ_name );" shall do.
Comment 1 Martin Zielinski 2007-09-12 08:57:28 UTC
Created attachment 2921 [details]
Makes DNS update work with heimdal 0.7.2
Comment 2 Guenther Deschner 2007-09-12 11:47:16 UTC
Created attachment 2922 [details]
Alternative approach for MIT and Heimdal

Martin, can you please test if this patch works for you?
Comment 3 Guenther Deschner 2007-09-13 11:13:26 UTC
Martin, I talked with jerry and added my fix (see -r25134). Please reopen if that does not solve the issue for you.

Thanks for the report!