[tpop3d-discuss] unknown directive

Chris Lightfoot chris at ex-parrot.com
Tue, 9 Sep 2003 10:15:40 +0100


On Tue, Sep 09, 2003 at 04:58:08PM +0800, Haris Hudji wrote:
> When I use option 'auth-pam-mail-user' as explained in man page, the program
> display 'warning: unknown directive'. After tracing the source I found this:
> 
> man page                       cfgdirectives.c
> --------                       ---------------
> tls-no-bug-workarounds         -
> -                              "tls-bug-workarounds"
> auth-pam-mail-user             -
> -                              "auth-ldap-use-tls"

Well spotted. These are now fixed in CVS; for those using
1.5.2, this patch should work:

Index: cfgdirectives.c
===================================================================
RCS file: /home/chris/vcvs/repos/tpop3d/cfgdirectives.c,v
retrieving revision 1.24
diff -u -r1.24 cfgdirectives.c
--- cfgdirectives.c     25 Aug 2003 23:54:27 -0000      1.24
+++ cfgdirectives.c     9 Sep 2003 09:15:04 -0000
@@ -55,7 +55,7 @@
 #endif
 
 #ifdef USE_TLS
-    "tls-bug-workarounds",
+    "tls-no-bug-workarounds",
 #endif
 
 #ifdef AUTH_PAM
@@ -63,6 +63,7 @@
     "auth-pam-enable",
     "auth-pam-facility",
     "auth-pam-mailbox",
+    "auth-pam-mail-user",
     "auth-pam-mail-group",
 #endif
 
Index: tpop3d.conf.5
===================================================================
RCS file: /home/chris/vcvs/repos/tpop3d/tpop3d.conf.5,v
retrieving revision 1.42
diff -u -r1.42 tpop3d.conf.5
--- tpop3d.conf.5       25 Aug 2003 23:54:27 -0000      1.42
+++ tpop3d.conf.5       9 Sep 2003 09:15:04 -0000
@@ -511,6 +511,9 @@
 \fBauth-ldap-url\fP: \fILDAP URL\fP
 LDAP URL indicating server against which to make authentication requests.
 .TP
+\fBauth-ldap-tls\fP: (\fByes\fP | \fBtrue\fP)
+Use an encrypted connection to contact the LDAP server.
+.TP
 \fBauth-ldap-searchdn\fP: \fILDAP server username\fP
 DN to use when binding to LDAP server to search for a user.
 .TP


-- 
``Man, not God, made Man's laws. And God's, too.''
  (anonymous, graffito seen on the East London Line)