INN commit: trunk/nnrpd (perm.c)

INN Commit Russ_Allbery at isc.org
Wed Dec 31 21:40:29 UTC 2008


    Date: Wednesday, December 31, 2008 @ 13:40:28
  Author: iulius
Revision: 8271

Advertise AUTHINFO SASL consider that a client can authentify
if SASL is available (even though there is no auth:, res:,
perl_auth: or python_auth: parameters).

Modified:
  trunk/nnrpd/perm.c

--------+
 perm.c |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

Modified: perm.c
===================================================================
--- perm.c	2008-12-31 19:05:45 UTC (rev 8270)
+++ perm.c	2008-12-31 21:40:28 UTC (rev 8271)
@@ -1383,11 +1383,15 @@
     access_realms   = NULL;
     success_auth    = NULL;
 
+#ifdef HAVE_SASL
+    PERMcanauthenticate = true;
+#else
     PERMcanauthenticate = false;
-    PERMgroupmadeinvalid = false;
+#endif
 #ifdef HAVE_SSL
     PERMcanauthenticatewithoutSSL = false;
 #endif
+    PERMgroupmadeinvalid = false;
     PERMcanpostgreeting = false;
     PERMcanread	    = PERMcanpost   = false;
     PERMreadlist    = PERMpostlist  = false;




More information about the inn-committers mailing list