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 | f60e4450018fc06c9f8ce18e62c29fd968d55daa (patch) | |
tree | af47aa879a37cb3850a3eecbb5121be097bfc93c | |
parent | c946c6bbc8192f5f0f3706d1b4a6cca0a994f36b (diff) | |
download | samba-f60e4450018fc06c9f8ce18e62c29fd968d55daa.tar.gz samba-f60e4450018fc06c9f8ce18e62c29fd968d55daa.tar.xz samba-f60e4450018fc06c9f8ce18e62c29fd968d55daa.zip |
Allow this to build without LDAP, as per the example below it.
Andrew Bartlett
-rw-r--r-- | source/libads/krb5_setpw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libads/krb5_setpw.c b/source/libads/krb5_setpw.c index e15c22091d2..3973b424f61 100644 --- a/source/libads/krb5_setpw.c +++ b/source/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); |