[ARGUS] sasl a solution (ugly, but a solution :-))

Peter Van Epp vanepp at sfu.ca
Thu Aug 12 13:58:31 EDT 2004


On Thu, Aug 12, 2004 at 12:17:24PM -0500, eric wrote:
> On Thu, 2004-08-12 at 08:37:28 -0700, Peter Van Epp proclaimed...
> 
> > 	As well an install (after I remembered to modify the hosts.allow file
> > to let the Mac connect) of vanilla fixes.1 on Mac OS X reads fine from a 
> > socket too. That only leaves trying FreeBSD 4.10 against a Linux box of 
> > some variety (probably SUSE).
> 
> So which patch should we use then? :)

	You need the cyrus-sasl (which should be 1.5.28) from ports and the
following sasl patches for argus (if you change the sasl1 to sasl2 it should
also work for cyrus-sasl2 out of ports):

(server only):

ArgusAuth.c.dif
ArgusOutput.h.dif

(both):

argus_util.h.dif
configure.dif
saslinit.h.dif

and this copy of  argus_auth.c.dif (which doesn't have the hard coding for the 
password). Once thats in place you need to (on the server machine):

test3# saslpasswd -c -a argus argus
Password: 
Again (for verification): 

so it knows the user id and password, and then enter the same user id and 
password in the ra.conf files as:

RA_USER_AUTH="argus/argus" 
RA_AUTH_PASS="password"

and you should be away (at least on FreeBSD, the Mac version still isn't 
working when sasl is enabled).

Peter Van Epp / Operations and Technical Support 
Simon Fraser University, Burnaby, B.C. Canada




*** common/argus_auth.c.orig	Tue Aug 10 13:37:07 2004
--- common/argus_auth.c	Tue Aug 10 13:37:32 2004
***************
*** 79,85 ****
--- 79,89 ----
  
  #include <ctype.h>
  #include <assert.h>
+ #if defined(__FreeBSD__) 
+ #include "/usr/local/include/sasl1/sasl.h"     
+ #else
  #include <sasl.h>
+ #endif
  
  #endif /* ARGUS_SASL */
  



More information about the argus mailing list