From 8536aa5ef3147b5ebf29ff114797a039d02213bf Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 31 Dec 2001 11:14:38 +0000 Subject: Allow this to build without LDAP, as per the example below it. Andrew Bartlett (This used to be commit f60e4450018fc06c9f8ce18e62c29fd968d55daa) --- source3/libads/krb5_setpw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/libads') diff --git a/source3/libads/krb5_setpw.c b/source3/libads/krb5_setpw.c index e15c22091d..3973b424f6 100644 --- a/source3/libads/krb5_setpw.c +++ b/source3/libads/krb5_setpw.c @@ -390,7 +390,7 @@ ADS_STATUS krb5_set_password(const char *kdc_host, const char *princ, const char krb5_free_principal(context, principal); krb5_free_context(context); DEBUG(1,("send of chpw failed (%s)\n", strerror(errno))); - return ADS_ERROR(LDAP_ENCODING_ERROR); + return ADS_ERROR_SYSTEM(errno); } free(chpw_req.data); -- cgit