[RADIATOR] ADSI Authentication problem

adrian adrian at dataspain.com
Fri Aug 6 12:54:08 CDT 2010


 * Hi:

I'm configuring radiator to use ADSI Authentication as indicated below:
*
RewriteUsername    s/^([^@]+).*/$1/
<Handler Request-Type = Accounting-Request>
<AuthBy SQL>
    # Adjust DBSource, DBUsername, DBAuth to suit your DB
    DBSource    dbi:ODBC:MyDatasource
    DBUsername        myusername
    DBAuth          mypassword
     
      AccountingTable ACCOUNTING
      AcctColumnDef   USERNAME,User-Name
      AcctColumnDef   TIME_STAMP,Timestamp,integer
      AcctColumnDef   ACCTSTATUSTYPE,Acct-Status-Type,integer
      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,integer
      AcctColumnDef   ACCTTERMINATECAUSE,Ascend-Disconnect-Cause,integer
      AcctColumnDef   FRAMEDIPADDRESS,Framed-Address
      AcctColumnDef   NASIDENTIFIER,NAS-Identifier
      AcctColumnDef   NASPORT,NAS-Port,integer
     
     
</AuthBy>
</Handler>
<Handler>
<AuthBy ADSI>
          BindString LDAP://cn=%0,ou=QA,dc=YouRoam,dc=com
        
</AuthBy>
</Handler>


*The problem is that I obtain the following error messages when Radiator 
try to authenticate the user.  Can any one tell me what's wrong. *

Fri Aug  6 19:08:01 2010: DEBUG: Handling request with Handler ''
Fri Aug  6 19:08:01 2010: DEBUG:  Deleting session for 
qausernewserv3810 at YouRoam
.com, 192.168.124.254, 3772
Fri Aug  6 19:08:01 2010: DEBUG: Handling with ADSI
Fri Aug  6 19:08:01 2010: DEBUG: BindString converted to 
LDAP://cn=qausernewserv
3810,ou=QA,dc=YouRoam,dc=com
Fri Aug  6 19:08:01 2010: DEBUG: AuthUser converted to qausernewserv3810
Fri Aug  6 19:08:01 2010: DEBUG: Connecting to namespace: LDAP:
Fri Aug  6 19:08:01 2010: DEBUG: Running OpenDSObject on 
LDAP://cn=qausernewserv
3810,ou=QA,dc=YouRoam,dc=com
Fri Aug  6 19:08:01 2010: DEBUG: Could not get user object: 
Win32::OLE(0.1709) e
rror 0x8007052e: "Logon failure: unknown user name or bad
password"
    in METHOD/PROPERTYGET "OpenDSObject"
Fri Aug  6 19:08:01 2010: DEBUG: AuthBy ADSI result: REJECT, Could not 
find user

Fri Aug  6 19:08:01 2010: INFO: Access rejected for qausernewserv3810: 
Could not
 find user
Fri Aug  6 19:08:01 2010: DEBUG: Packet dump:


More information about the radiator mailing list