freeradius, ldap error - HELP ME!

peppeska ggippone at yahoo.it
Wed Mar 21 19:28:12 CET 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alan DeKok ha scritto:
> peppeska wrote:
>> Ok!!!
>> Now I have this configuration
>>
>> INCLUDE /etc/radiusclient/dictionary.microsoft
>> INCLUDE /etc/radiusclient/dictionary.ascend
>> INCLUDE /etc/radiusclient/dictionary.compat
>> INCLUDE /etc/radiusclient/dictionary.merit
>> $INCLUDE /usr/share/freeradius/dictionary
> 
>   No.  radiusclient can't use the FreeRADIUS dictionaries.
> 
ooooooooook

now I don't have the freeradius dictionary...

now the freradius:

Ready to process requests.
rad_recv: Access-Request packet from host 127.0.0.1:1028, id=50, length=136
        Service-Type = Framed-User
        Framed-Protocol = PPP
        User-Name = "peppeska"
        MS-CHAP-Challenge = 0x3733ba43d6d8debb5b0302f590250afd
        MS-CHAP2-Response =
0x0f00997701aa0d8775038e203d7c0487880f0000000000000000e6ba63b22268fbe23624491c47a9744354f94591fc730a90
        NAS-IP-Address = 127.0.0.1
        NAS-Port = 0
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 0
  modcall[authorize]: module "preprocess" returns ok for request 0
  rlm_mschap: Found MS-CHAP attributes.  Setting 'Auth-Type  = mschap'
  modcall[authorize]: module "mschap" returns ok for request 0
    rlm_realm: No '@' in User-Name = "peppeska", looking up realm NULL
    rlm_realm: No such realm "NULL"
  modcall[authorize]: module "suffix" returns noop for request 0
  rlm_eap: No EAP-Message, not doing EAP
  modcall[authorize]: module "eap" returns noop for request 0
    users: Matched entry DEFAULT at line 173
    users: Matched entry DEFAULT at line 185
  modcall[authorize]: module "files" returns ok for request 0
rlm_ldap: - authorize
rlm_ldap: performing user authorization for peppeska
radius_xlat:  '(cn=peppeska)'
radius_xlat:  'dc=example'
rlm_ldap: ldap_get_conn: Checking Id: 0
rlm_ldap: ldap_get_conn: Got Id: 0
rlm_ldap: attempting LDAP reconnection
rlm_ldap: (re)connect to localhost:389, authentication 0
rlm_ldap: bind as cn=admin,dc=example/root to localhost:389
rlm_ldap: waiting for bind result ...
rlm_ldap: Bind was successful
rlm_ldap: performing search in dc=example, with filter (cn=peppeska)
rlm_ldap: Added password billuzzo in check items
rlm_ldap: looking for check items in directory...
rlm_ldap: looking for reply items in directory...
rlm_ldap: user peppeska authorized to use remote access
rlm_ldap: ldap_release_conn: Release Id: 0
  modcall[authorize]: module "ldap" returns ok for request 0
modcall: leaving group authorize (returns ok) for request 0
  rad_check_password:  Found Auth-Type MS-CHAP
auth: type "MS-CHAP"
  Processing the authenticate section of radiusd.conf
modcall: entering group MS-CHAP for request 0
  rlm_mschap: Told to do MS-CHAPv2 for peppeska with NT-Password
rlm_mschap: adding MS-CHAPv2 MPPE keys
  modcall[authenticate]: module "mschap" returns ok for request 0
modcall: leaving group MS-CHAP (returns ok) for request 0
Login OK: [peppeska/<no User-Password attribute>] (from client localhost
port 0)
  Processing the post-auth section of radiusd.conf
modcall: entering group post-auth for request 0
  modcall[post-auth]: module "ldap" returns noop for request 0
modcall: leaving group post-auth (returns noop) for request 0
Sending Access-Accept of id 50 to 127.0.0.1 port 1028
        Framed-IP-Address = 255.255.255.254
        Framed-MTU = 576
        Service-Type = Framed-User
        Framed-Protocol = PPP
        Framed-Compression = Van-Jacobson-TCP-IP
        MS-CHAP2-Success =
0x0f533d33344135313830413334423831353141383738414532454632414341303830394341423344393945
        MS-MPPE-Recv-Key = 0x923e2c93c2156b71231ea782495f5b99
        MS-MPPE-Send-Key = 0x44fe16f0095f4b51b33c59a5387f512c
        MS-MPPE-Encryption-Policy = 0x00000002
        MS-MPPE-Encryption-Types = 0x00000004
Finished request 0
Going to the next request
- --- Walking the entire request list ---
Waking up in 6 seconds...
- --- Walking the entire request list ---
Cleaning up request 0 ID 50 with timestamp 4601790a
Nothing to do.  Sleeping until we see a request.

but plog:

root at applejack:/home/peppeska# plog
Mar 21 19:21:18 applejack pppd[18527]: Plugin rp-pppoe.so loaded.
Mar 21 19:21:18 applejack pppd[18529]: pppd 2.4.4 started by root, uid 0
Mar 21 19:21:19 applejack pppd[18529]: PPP session is 6
Mar 21 19:21:19 applejack pppd[18529]: Using interface ppp0
Mar 21 19:21:19 applejack pppd[18529]: Connect: ppp0 <--> tap1
Mar 21 19:21:41 applejack pppd[18529]: MS-CHAP authentication failed:
Mar 21 19:21:41 applejack pppd[18529]: CHAP authentication failed
Mar 21 19:21:41 applejack pppd[18529]: Connection terminated.
root at applejack:/home/peppeska# poff

UFFA!!! I promitt that I send a "Cassata Siciliana" to who resolv my
problem...

> 


- --
  <<<<---------------------------------------------------------->>>>
  |Giuseppe Moscato aka peppeska - Linux User - no html messages---|

  |donpeppiniello at tiscali.it - http://peppeska.altervista.org------|

  |Fingerprint = 90DC 05A8 2D65 BC04 BD1B  4C07 C389 434B 3201 319D|
  <<<<---------------------------------------------------------->>>>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGAXkskA6hcnFZI/YRAjp5AJ4ze65NRu3Ru1N/AuShXl+jgwPWpgCeMyko
i82K1WaCNttfrjX8WszJbpg=
=Y7KG
-----END PGP SIGNATURE-----



More information about the Freeradius-Users mailing list