Hi all,

Mike has identified the problem as a NUL character being added to the password
coming from the SQLServer.  The problem appears to be occuring in the DBD:Sybase
module.  I modified some example ct-lib code that came with FreeTDS and it pulled

strings from the SQLServer fine - no NUL terminator.  I also got DBD:FreeTDS
working with Radiator - unfortunately it doesn't seem to want to work with
AuthByRodopi.  Anyone else had this problem with DBD:Sybase?  It does it in both
DBD:Sybase version .14 and .21 and it doesn't matter whether I use ct-lib from
FreeTDS or ct-lib from sybase - the NUL character still shows up.  Help!!!

Thanks,
Chris



Mike McCauley wrote:

> Hello Chris,
>
> In order to get a handle on this, we would need to see your Radiator log file
> at trace level 4, showing what Radiator is doing with the request, and why it
> is rejecting it.
>
> Your config file (no secrets) would also be helpful.
>
> Cheers.
>
> On Feb 22,  6:17pm, Chris Hanes wrote:
> > Subject: (RADIATOR) DBD::Sybase/FreeTDS/MSSQL7 Problems
> > Hi all,
> > I've got a Redhat 6.1 Linux box configured with FreeTDS .50, DBD Sybase
> > .21, Radiator 2.15 attempting to AuthSQL and AuthRodopi to a MS
> > SQLServer 7.0.  After much hassle, I  have the network connectivity to
> > the SQLServer.  However, I can't get AuthSQL or AuthRodopi working.
> > Radiator is looking up passwords correctly on the SQLServer and yet it
> > still fails the auth request.  Here's part of my password log file for
> > an AuthSQL realm.
> >
> > Tue Feb 22 17:56:42 2000:951260202:rcochran:yellow:yellow:FAIL
> > Tue Feb 22 18:11:04 2000:951261064:jladd:nannie:nannie:FAIL
> > Tue Feb 22 18:11:11 2000:951261071:cahcah:cahcah:cahcah:FAIL
> > Tue Feb 22 18:11:14 2000:951261074:cahcah:cahcah2:cahcah:FAIL
> >
> > Any help would be GREATLY appreciated.
> >
> > Thanks,
> > Chris Hanes
> >
> >
> > ===
> > Archive at http://www.thesite.com.au/~radiator/
> > To unsubscribe, email '[EMAIL PROTECTED]' with
> > 'unsubscribe radiator' in the body of the message.
> >-- End of excerpt from Chris Hanes
>
> --
> Mike McCauley                               [EMAIL PROTECTED]
> Open System Consultants Pty. Ltd            Unix, Perl, Motif, C++, WWW
> 24 Bateman St Hampton, VIC 3188 Australia   http://www.open.com.au
> Phone +61 3 9598-0985                       Fax   +61 3 9598-0955
>
> Radiator: the most portable, flexible and configurable RADIUS server
> anywhere. SQL, proxy, DBM, files, LDAP, NIS+, password, NT, Emerald,
> Platypus, Freeside, TACACS+, PAM, external, etc etc on Unix, Win95/8,
> NT, Rhapsody
> ===
> Archive at http://www.thesite.com.au/~radiator/
> To unsubscribe, email '[EMAIL PROTECTED]' with
> 'unsubscribe radiator' in the body of the message.


===
Archive at http://www.thesite.com.au/~radiator/
To unsubscribe, email '[EMAIL PROTECTED]' with
'unsubscribe radiator' in the body of the message.

Reply via email to