I have a new installation of Netscape dir Server 4.1 and am installing
Radiator on NT. I have the LDAP.CFG setup as shown below, and am trying to
test the authentication. I receive the error shown, and the program aborts.


I've looked at AuthLDAP2.pm and am unsure of exactly what its trying to do
at line 148. I am also concerned that the debug shows the NAS having an IP
address of 203.63.154.1. Where does this come from?

Thank you
Steve Smith



*********************************
ldap.cfg*************************
*********************************

Foreground
LogStdout
LogDir          .
DbDir           .
Trace           4


<Client localhost>
        Secret 12345678
        DupInterval 0
        DefaultRealm    otz.net
</Client>

<Client 209.165.173.7>
        Secret 12345678
        DupInterval 0
        DefaultRealm    otz.net
</Client>

<Realm otz.net>
        <AuthBy LDAP2>
                # Tell Radiator how to talk to the LDAP server
                Host            209.165.173.3
                AuthDN          cn=Directory Manager
                BaseDN          o=otz.net
                AuthPassword    12345678
                UsernameAttr    uid
                PasswordAttr    userPassword
                

                # These are the classic things to add to each users 
                # reply to allow a PPP dialup session. It may be 
                # different for your NAS. This will add some 
                # reply items to everyone's reply
                AddToReply Framed-Protocol = PPP,\
                        Framed-IP-Netmask = 255.255.255.255,\
                        Framed-Routing = None,\
                        Framed-MTU = 1500,\
                        Framed-Compression = Van-Jacobson-TCP-IP
        </AuthBy>
        # Log accounting to the detail file in LogDir
        AcctLogFileName ./detail

        # Netscape Dir Server expects only usernames this will re-write
username
        RewriteUsername s/^([^@]+).*/$1/
</Realm>


*******************************
debug**************************
*******************************


C:\Radiator-2.14.1>perl radiusd -config_file goodies/ldap.cfg

Thu Feb  3 07:34:31 2000: INFO: Server started
Thu Feb  3 07:34:34 2000: DEBUG: Packet dump:
*** Received from 127.0.0.1 port 1689 ....
Code:       Access-Request
Identifier: 154
Authentic:  1234567890123456
Attributes:
        User-Name = "ssmith"
        Service-Type = Framed-User
        NAS-IP-Address = 203.63.154.1
        NAS-Port = 1234
        NAS-Port-Type = Async
        User-Password =
"<200><185>l<173><175>\<4><246><188>8<9><160><216>}x<153>"

Thu Feb  3 07:34:34 2000: DEBUG: Handling request with Handler
'Realm=otz.net'
Thu Feb  3 07:34:34 2000: DEBUG: Rewrote user name to ssmith
Thu Feb  3 07:34:34 2000: DEBUG: Deleting session for ssmith, 203.63.154.1,
1234
Thu Feb  3 07:34:34 2000: DEBUG: Handling with Radius::AuthLDAP2
Thu Feb  3 07:34:34 2000: DEBUG: Connecting to 209.165.173.3, port 389
Can't locate object method "new" via package "Net::LDAP" at
Radius/AuthLDAP2.pm line 148.

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