summaryrefslogtreecommitdiffstats
path: root/source/libads/krb5_setpw.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-10-29 22:38:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:05 -0500
commit7565019286cf44f43c8066c005b1cd5c1556435f (patch)
tree292495b3e8902e91163eeea3d0e92d7af5656711 /source/libads/krb5_setpw.c
parenteefb911d0c66bdee586a86446e16723013f84101 (diff)
downloadsamba-7565019286cf44f43c8066c005b1cd5c1556435f.tar.gz
samba-7565019286cf44f43c8066c005b1cd5c1556435f.tar.xz
samba-7565019286cf44f43c8066c005b1cd5c1556435f.zip
r3377: Merge in first part of modified patch from Nalin Dahyabhai <nalin@redhat.com>
for bug #1717.The rest of the code needed to call this patch has not yet been checked in (that's my next task). This has not yet been tested - I'll do this once the rest of the patch is integrated. Jeremy.
Diffstat (limited to 'source/libads/krb5_setpw.c')
-rw-r--r--source/libads/krb5_setpw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libads/krb5_setpw.c b/source/libads/krb5_setpw.c
index 84595212e6c..385c1f02aa9 100644
--- a/source/libads/krb5_setpw.c
+++ b/source/libads/krb5_setpw.c
@@ -667,7 +667,7 @@ ADS_STATUS kerberos_set_password(const char *kpasswd_server,
{
int ret;
- if ((ret = kerberos_kinit_password(auth_principal, auth_password, time_offset, NULL))) {
+ if ((ret = kerberos_kinit_password(auth_principal, auth_password, time_offset, NULL, NULL))) {
DEBUG(1,("Failed kinit for principal %s (%s)\n", auth_principal, error_message(ret)));
return ADS_ERROR_KRB5(ret);
}