Hi Radiator,

I have a problem with the DefaultSimultaneousUse value not
being overridden with the SimultaneousUse attribute.

I build a dbm file based on my platypus database
every 'n' minutes.

This user has the following profile (extracted by
builddbm -l xxxxx) :

xxxxx        Password = "yyyyyyyyy"
        Service-Type = "Framed-User",
        Framed-Protocol = "PPP",
        Framed-Routing = "Broadcast-Listen",
        Framed-IP-Address = "203.24.135.251",
        Framed-IP-Netmask = "255.255.255.255",
        Idle-Timeout = "270400",
        Simultaneous-Use = "2",
        Session-Timeout = "1814400"


The realm definition is :

<Realm>
        AcctLogFileName %L/detail
        WtmpFileName %L/wtmp
        PasswordLogFileName %L/password.log
        RejectHasReason
        SessionDatabase SDB1

        <AuthBy DBFILE>
                DefaultSimultaneousUse 1
                Filename %D/users
                AddToReply Session-Timeout=21600, Idle-Timeout=900
        </AuthBy>
</Realm>

And here's the reply I get when they have one MP connection
active and the second MP connection is failing. .....
(from radpwtst).

Code:       Access-Request
Identifier: 247
Authentic:  1234567890123456
Attributes:
        User-Name = "xxxxx"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.1
        NAS-Port = 1234
        NAS-Port-Type = Async
        User-Password = "<deleted>"
sending Access-Request...
Rejected
Code:       Access-Reject
Identifier: 247
Authentic:  <deleted>
Attributes:
        Reply-Message = "Request Denied"
        Reply-Message = "DefaultSimultaneousUse of 1  exceeded"

I also get these messages in the logfile :
Thu Nov 11 11:07:39 1999: INFO: Access rejected for xxxxx:
DefaultSimultaneousUse of 1  exceeded
Thu Nov 11 11:08:09 1999: INFO: Access rejected for xxxxx:
DefaultSimultaneousUse of 1  exceeded
Thu Nov 11 11:08:39 1999: INFO: Access rejected for xxxxx:
DefaultSimultaneousUse of 1  exceeded
Thu Nov 11 11:09:09 1999: INFO: Access rejected for xxxxx:
DefaultSimultaneousUse of 1  exceeded
Thu Nov 11 11:09:39 1999: INFO: Access rejected for xxxxx:
DefaultSimultaneousUse of 1  exceeded
Thu Nov 11 11:10:09 1999: INFO: Access rejected for xxxxx:
DefaultSimultaneousUse of 1  exceeded

Radiator-2.14.1
FreeBSD-3.1

Any ideas why this is failing ?

Could it have something to do with the buliddbm procedure
putting the "2" in quotes (in the Simultaneous-Use = "2" attribute)
and radiator interpreting the "2" as a filename and not an integer
because its in quotes .... (Ok, its wild shot in the dark .....) ?

Cheers
Richard


===
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