diff options
author | Günther Deschner <gd@samba.org> | 2007-08-06 13:48:57 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:29:21 -0500 |
commit | bed0ea06936ba76deafd839c25a6abf438d63189 (patch) | |
tree | 260fbc719f6747e64db8b1b157a832844fedc3d2 | |
parent | b805bcc1b0857959ddf5b4933169bd359db46ba0 (diff) | |
download | samba-bed0ea06936ba76deafd839c25a6abf438d63189.tar.gz samba-bed0ea06936ba76deafd839c25a6abf438d63189.tar.bz2 samba-bed0ea06936ba76deafd839c25a6abf438d63189.zip |
r24251: Neverending fun:
Heimdal doesn't accept all OIDs and gss_import_name() fails with
GSS_S_BAD_NAMETYPE using this one. Use the GSS_KRB5_NT_PRINCIPAL_NAME OID
instead (which works with at least MIT 1.6.1 and Heimdal 1.0.1).
Guenther
(This used to be commit f783b32b65ee50e3730ae2d039ca04c9fc5a201a)
-rw-r--r-- | source3/libads/sasl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c index bcd8833f30..fb4fb2132d 100644 --- a/source3/libads/sasl.c +++ b/source3/libads/sasl.c @@ -650,7 +650,7 @@ static ADS_STATUS ads_generate_service_principal(ADS_STRUCT *ads, #ifdef HAVE_GSSAPI gss_buffer_desc input_name; gss_OID_desc nt_principal = - {10, CONST_DISCARD(char *, "\052\206\110\206\367\022\001\002\002\002")}; + {10, CONST_DISCARD(char *, "\x2a\x86\x48\x86\xf7\x12\x01\x02\x02\x01")}; uint32 minor_status; int gss_rc; #endif |