Many apologies, but I screwed up the patch slightly, missing a close parens
for the if. Here's the corrected one:

=====
--- log_ldap.c.orig     2007-07-19 02:54:34.741694960 -0400
+++ log_ldap.c  2007-07-19 02:57:01.022330368 -0400
@@ -272,7 +272,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, "enabled") != 0)) {
+    if ((pw_enabled != NULL) && (strcasecmp(pw_enabled, "enabled") != 0)
+        || (strcasecmp(pw_enabled, "TRUE") != 0)) {
    goto error;
    }
#ifdef QUOTAS
=====

Reply via email to