diff options
author | Andrew Bartlett <abartlet@samba.org> | 2001-12-31 11:14:38 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2001-12-31 11:14:38 +0000 |
commit | 8536aa5ef3147b5ebf29ff114797a039d02213bf (patch) | |
tree | 599d93e9b62f896afb68c69a0eb9be2333b751cb /source3/libads | |
parent | 871f1791c6b32d52bb71cfe9d6529ba62156857c (diff) | |
download | samba-8536aa5ef3147b5ebf29ff114797a039d02213bf.tar.gz samba-8536aa5ef3147b5ebf29ff114797a039d02213bf.tar.xz samba-8536aa5ef3147b5ebf29ff114797a039d02213bf.zip |
Allow this to build without LDAP, as per the example below it.
Andrew Bartlett
(This used to be commit f60e4450018fc06c9f8ce18e62c29fd968d55daa)
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/krb5_setpw.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |