summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2003-02-19 20:37:34 +0000
committerJim McDonough <jmcd@samba.org>2003-02-19 20:37:34 +0000
commitde88e704ceb74e4811f14845556d65449f9d592b (patch)
tree2d4e0810de9c6b19fb395d0dc1042e5d792eefc7 /source3
parentf15ed71fbba9d3762f4e8a1382b65d6291a2a065 (diff)
downloadsamba-de88e704ceb74e4811f14845556d65449f9d592b.tar.gz
samba-de88e704ceb74e4811f14845556d65449f9d592b.tar.bz2
samba-de88e704ceb74e4811f14845556d65449f9d592b.zip
libads/krb5_setpw.c
(This used to be commit 4c52d7bd933f61bdba3d4159a204fe16db3d4f0f)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/krb5_setpw.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libads/krb5_setpw.c b/source3/libads/krb5_setpw.c
index c3ec754e39..9d8fb8d24c 100644
--- a/source3/libads/krb5_setpw.c
+++ b/source3/libads/krb5_setpw.c
@@ -327,7 +327,8 @@ static krb5_error_code parse_setpw_reply(krb5_context context,
return KRB5KDC_ERR_BADOPTION;
break;
case KRB5_KPASSWD_INITIAL_FLAG_NEEDED:
- return KV5M_ALT_METHOD;
+ return KRB5KDC_ERR_BADOPTION;
+ /* return KV5M_ALT_METHOD; MIT-only define */
break;
case KRB5_KPASSWD_ETYPE_NOSUPP:
return KRB5KDC_ERR_ETYPE_NOSUPP;