summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-03-05 01:34:37 +0000
committerJeremy Allison <jra@samba.org>2003-03-05 01:34:37 +0000
commit7a9987481e70676918488b05e5dda44754e825e1 (patch)
tree211a0981e13191cfa6b771ea8803720b72a07a34 /source3/libads
parent1cdafbf17ebbcb1840cdb1bde3b49600406ed904 (diff)
downloadsamba-7a9987481e70676918488b05e5dda44754e825e1.tar.gz
samba-7a9987481e70676918488b05e5dda44754e825e1.tar.bz2
samba-7a9987481e70676918488b05e5dda44754e825e1.zip
More const fixes.
Jeremy. (This used to be commit 7b945e10a6c636c0b0aabc841803bf44405cb2ae)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/krb5_setpw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/krb5_setpw.c b/source3/libads/krb5_setpw.c
index 9d8fb8d24c..ac7377cd2f 100644
--- a/source3/libads/krb5_setpw.c
+++ b/source3/libads/krb5_setpw.c
@@ -180,7 +180,7 @@ static krb5_error_code build_kpasswd_request(uint16 pversion,
static krb5_error_code krb5_setpw_result_code_string(krb5_context context,
int result_code,
- char **code_string)
+ const char **code_string)
{
switch (result_code) {
case KRB5_KPASSWD_MALFORMED:
@@ -318,7 +318,7 @@ static krb5_error_code parse_setpw_reply(krb5_context context,
if(res_code == KRB5_KPASSWD_SUCCESS)
return 0;
else {
- char *errstr;
+ const char *errstr;
krb5_setpw_result_code_string(context, res_code, &errstr);
DEBUG(1, ("Error changing password: %s\n", errstr));