git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
871f179
)
Allow this to build without LDAP, as per the example below it.
author
Andrew Bartlett
<abartlet@samba.org>
Mon, 31 Dec 2001 11:14:38 +0000
(11:14 +0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Mon, 31 Dec 2001 11:14:38 +0000
(11:14 +0000)
Andrew Bartlett
(This used to be commit
f60e4450018fc06c9f8ce18e62c29fd968d55daa
)
source3/libads/krb5_setpw.c
patch
|
blob
|
history
diff --git
a/source3/libads/krb5_setpw.c
b/source3/libads/krb5_setpw.c
index e15c22091d2d345f5dc16920a0feb91489db0bc7..3973b424f61bd711a74a4f1206c303faf1fa9fe5 100644
(file)
--- 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);