diff options
author | Andrew Bartlett <abartlet@samba.org> | 2005-10-21 01:25:55 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:45:06 -0500 |
commit | 16bbafb7e862016e4c6281c32cc5b25adeae3cfc (patch) | |
tree | 3cdc7e0ca64b541ba61d7659b5b2867a39384175 /source4/auth | |
parent | f203903f1cc00ce443632ac5e9f725276b6c22a2 (diff) | |
download | samba-16bbafb7e862016e4c6281c32cc5b25adeae3cfc.tar.gz samba-16bbafb7e862016e4c6281c32cc5b25adeae3cfc.tar.bz2 samba-16bbafb7e862016e4c6281c32cc5b25adeae3cfc.zip |
r11239: Use ${REALM} for the realm in rootdse.ldif
Add the kpasswd server to our KDC, implementing the 'original' and
Microsoft versions of the protocol.
This works with the Heimdal kpasswd client, but not with MIT, I think
due to ordering issues. It may not be worth the pain to have this
code go via GENSEC, as it is very, very tied to krb5.
This gets us one step closer to joins from Apple, Samba3 and other
similar implementations.
Andrew Bartlett
(This used to be commit ab5dbbe10a162286aa6694c7e08de43b48e34cdb)
Diffstat (limited to 'source4/auth')
-rw-r--r-- | source4/auth/gensec/gensec_krb5.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/auth/gensec/gensec_krb5.c b/source4/auth/gensec/gensec_krb5.c index 5297a1d964..64de8211dd 100644 --- a/source4/auth/gensec/gensec_krb5.c +++ b/source4/auth/gensec/gensec_krb5.c @@ -566,12 +566,11 @@ static NTSTATUS gensec_krb5_wrap(struct gensec_security *gensec_security, krb5_auth_context auth_context = gensec_krb5_state->auth_context; krb5_error_code ret; krb5_data input, output; - krb5_replay_data replay; input.length = in->length; input.data = in->data; if (gensec_have_feature(gensec_security, GENSEC_FEATURE_SEAL)) { - ret = krb5_mk_priv(context, auth_context, &input, &output, &replay); + ret = krb5_mk_priv(context, auth_context, &input, &output, NULL); if (ret) { DEBUG(1, ("krb5_mk_priv failed: %s\n", smb_get_krb5_error_message(gensec_krb5_state->smb_krb5_context->krb5_context, |