aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2009-05-06 21:36:52 +0000
committerRenato Botelho <garga@FreeBSD.org>2009-05-06 21:36:52 +0000
commitd30040b744fcd427f0ffa190ff9a92740c6aeeb7 (patch)
tree99b2fe5b49e4e6533cce9b6b5db71d6395b4356b /ftp
parent077296f2fa2634e64a4ba8a22a3a2fe75c5334d3 (diff)
downloadports-d30040b744fcd427f0ffa190ff9a92740c6aeeb7.tar.gz
ports-d30040b744fcd427f0ffa190ff9a92740c6aeeb7.zip
Notes
Diffstat (limited to 'ftp')
-rw-r--r--ftp/pure-ftpd/files/patch-src__log_ldap.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/ftp/pure-ftpd/files/patch-src__log_ldap.c b/ftp/pure-ftpd/files/patch-src__log_ldap.c
new file mode 100644
index 000000000000..b42864ba77e0
--- /dev/null
+++ b/ftp/pure-ftpd/files/patch-src__log_ldap.c
@@ -0,0 +1,12 @@
+--- src/log_ldap.c.orig Thu Apr 30 07:51:04 2009
++++ src/log_ldap.c Wed May 6 22:43:33 2009
+@@ -282,7 +282,8 @@
+ pw_ldap_getpwnam_freefields(&pwret);
+ pwret.pw_name = (char *) name;
+ pw_enabled = pw_ldap_getvalue(ld, res, LDAP_FTPSTATUS);
+- if ((pw_enabled != NULL) && (strcasecmp(pw_enabled, "TRUE") != 0)) {
++ if (pw_enabled != NULL && strcasecmp(pw_enabled, "enabled") != 0 &&
++ strcasecmp(pw_enabled, "TRUE") != 0) {
+ goto error;
+ }
+ #ifdef QUOTAS