Hi Hugh.
I am sending you the full configuration file

Waiting your response 


Jovanny Saravia
System Administrator    Firstcom Colombia
Voice: 57-1-6211873     Fax: 57-1-6210310
[EMAIL PROTECTED] UIN: 7393608    
Calle 100 No. 8A-55     World Trade Center
Torre C Oficina 811     Bogota - Colombia 

On Wed, 10 Nov 1999, Hugh Irvine wrote:

> 
> Hello Jovanny -
> 
> On Wed, 10 Nov 1999, Jovanny Saravia wrote:
> > >%_Hi guys !
> > I am a new radiator user. I am evaluating this software (version 2.14.1).
> > 
> > I am having some little troubles.
> > 
> > I could make authentication by FILE,NT and SQL via telnet.
> > Via modem (ppp) I just can authenticate via FILE, But i can't when i try
> > with NT and SQL :(
> > 
> > I am sending the log files when I am trying to authenticate by NT via
> > telnet and modem. 
> > 
> > Via telnet : LOGINOK.TXT
> > Via modem:   FAILED.TXT
> > 
> > And the file RADIUS.CFG with the content of realms for NT and FILE.
> > 
> 
> I think I need to see your complete configuration file (no secrets) as what I
> am seeing in your debug traces doesn't seem to match the configuration extracts
> you sent in your message. In your LOGINOK.TXT, I don't see the DefaultReply
> attributes in the Access-Accept reply packet, and in the FAILED.TXT I don't see
> why the same username of "saravia" would be rejected.
> 
> thanks
> 
> Hugh
> 
> --
> 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.
> 
Foreground

LogStdout

 Trace  4

PidFile /tmp/radiusd.pid

AuthPort        1812

AcctPort        1813

LogDir          /var/log/radiator

DictionaryFile %D/dictionary
#DictionaryFile %D/dictionary.cisco
#DictionaryFile %D/dictionary.ascend

SnmpgetProg     /usr/local/bin/snmpget

<ClientListSQL>
        DBSource        dbi:mysql:database=radiator;host=dbserver
        DBUsername      radiator
        DBAuth          evaluation
</ClientListSQL>

<Client DEFAULT>
        Secret  test
        DupInterval 0

#       DefaultRealm open.com.au
</Client>

<Realm nt>
    RewriteUsername     s/^([^@]+).*/$1/
    <AuthBy NT>
        Domain FIRSTCOM_BTA
        DomainController ntserver
        DefaultReply Service-Type=Framed-User,Framed-Protocol=PPP
    </AuthBy>
</Realm>

<Realm fcc>
    RewriteUsername     s/^([^@]+).*/$1/
    RejectHasReason
    <AuthBy NT>
        Domain FIRSTCOM_BTA
        DomainController firstinter
        UseAddressHint
        AddToReply Reply-Message=Bienvenido a Radiator 
        DefaultReply Service-Type=Framed-User,Framed-Protocol=PPP
    </AuthBy>
</Realm>

<Realm sql>
    RewriteUsername     s/^([^@]+).*/$1/
    <AuthBy SQL>
        # Adjust DBSource, DBUsername, DBAuth to suit your DB
        DBSource        dbi:mysql:database=radiator;host=dbserver
        DBUsername      radiator
        DBAuth          evaluation
        # You may want to tailor these for your ACCOUNTING table
        AccountingTable ACCOUNTING
        AuthSelect      select ENCRYPTEDPASSWORD from SUBSCRIBERS where USERNAME= '%n'
        EncryptedPassword
        #AuthColumnDef  0, Encrypted-Password, check
        AcctColumnDef   USERNAME,User-Name
        AcctColumnDef   TIME_STAMP,Timestamp,integer
        AcctColumnDef   ACCTSTATUSTYPE,Acct-Status-Type
        AcctColumnDef   ACCTDELAYTIME,Acct-Delay-Time,integer
        AcctColumnDef   ACCTINPUTOCTETS,Acct-Input-Octets,integer
        AcctColumnDef   ACCTOUTPUTOCTETS,Acct-Output-Octets,integer
        AcctColumnDef   ACCTSESSIONID,Acct-Session-Id
        AcctColumnDef   ACCTSESSIONTIME,Acct-Session-Time,integer
        AcctColumnDef   ACCTTERMINATECAUSE,Acct-Terminate-Cause
        AcctColumnDef   NASIDENTIFIER,NAS-Identifier
        AcctColumnDef   NASPORT,NAS-Port,integer
        AcctColumnDef   FRAMEDIPADDRESS,Framed-IP-Address
    </AuthBy>
</Realm>

<Realm>
        MaxSessions     2
        AcctLogFileName %L/detail
        WtmpFileName %L/wtmp
        PasswordLogFileName %L/password.log
        RejectHasReason
        <AuthBy FILE>
                UseAddressHint
                AddToReply Reply-Message=Bienvenido a Firstcom Colombia
                DefaultReply Service-Type=Framed-User,Framed-Protocol=PPP
                DefaultSimultaneousUse 2
        </AuthBy>
</Realm>

<SessionDatabase SQL>
        DBSource        dbi:mysql:database=radiator;host=dbserver
        DBUsername      radiator
        DBAuth          evaluation
        Identifier      SDB
</SessionDatabase>

Reply via email to