aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgarga <garga@FreeBSD.org>2009-05-07 05:36:52 +0800
committergarga <garga@FreeBSD.org>2009-05-07 05:36:52 +0800
commit3b284d85be88dc4539ed0870108810729a3215af (patch)
tree8df1aeca6c13831440e1c10ed67c593bfb01d90b
parent9a2086a4becdf53238b17a91cc7dbabf9b60dff7 (diff)
downloadfreebsd-ports-gnome-3b284d85be88dc4539ed0870108810729a3215af.tar.gz
freebsd-ports-gnome-3b284d85be88dc4539ed0870108810729a3215af.tar.zst
freebsd-ports-gnome-3b284d85be88dc4539ed0870108810729a3215af.zip
- Fix working with LDAP
Notified by: Krzysztof Stryjek <wtp@bsdserwis.com> Obtained from: pure-ftpd maillist
-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
olumn1'>| | | | | | - Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav) * - Update to 2.2miwi2008-02-135-75/+23 | | | | | PR: 120476 Submitted by: KATO Tsuguru <tkato432@yahoo.com> * - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1 | | | | | - Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}. * - Remove support for a.out format and PORTOBJFORMAT variable from individualpav2007-01-301-6/+4 | | | | | | ports With hat: portmgr * - Add SHA256pav2005-11-251-0/+1 | * SIZEify.trevor2004-01-291-0/+1 | * De-pkg-comment.knu2003-02-212-1/+1 | * o Rollback PORTCOMMENT modifications while this feature's implementationlioux2002-11-112-2/+1 | | | | | | | | is better studied o Turn PORTCOMMENT variable in Makefile back into pkg-comment files Approved by: kris (portmgr hat), portmgr, re (silence)