freeradius, ldap error - HELP ME!

peppeska ggippone at yahoo.it
Wed Mar 21 18:36:16 CET 2007


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

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

And... (same roll of drumps)

rad_recv: Access-Request packet from host 127.0.0.1:1028, id=40, length=136
        Service-Type = Framed-User
        Framed-Protocol = PPP
        User-Name = "peppeska"
        MS-CHAP-Challenge = 0x2b05b4344fc7309510ee443fac5c90bf
        MS-CHAP2-Response =
0x05006a01dac8d579188fab13d4f5b10524c2000000000000000074aba52270d19850e5169d1e6410fe36c608d63ff061a401
        NAS-IP-Address = 127.0.0.1
        NAS-Port = 0
  Processing the authorize section of radiusd.conf
modcall: entering group authorize for request 1
  modcall[authorize]: module "preprocess" returns ok for request 1
  rlm_mschap: Found MS-CHAP attributes.  Setting 'Auth-Type  = mschap'
  modcall[authorize]: module "mschap" returns ok for request 1
    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 1
  rlm_eap: No EAP-Message, not doing EAP
  modcall[authorize]: module "eap" returns noop for request 1
    users: Matched entry DEFAULT at line 173
    users: Matched entry DEFAULT at line 185
  modcall[authorize]: module "files" returns ok for request 1
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: 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 1
modcall: leaving group authorize (returns ok) for request 1
  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 1
  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 1
modcall: leaving group MS-CHAP (returns ok) for request 1
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 1
  modcall[post-auth]: module "ldap" returns noop for request 1
modcall: leaving group post-auth (returns noop) for request 1
Sending Access-Accept of id 40 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 =
0x05533d46384134363830383437333231383543443335394538363933394636453234323633323333373143
        MS-MPPE-Recv-Key = 0xeb3b2b7a46dfff70bdee5eb89a755804
        MS-MPPE-Send-Key = 0xe0d003c9754115e0063f7f832015f1c6
        MS-MPPE-Encryption-Policy = 0x00000002
        MS-MPPE-Encryption-Types = 0x00000004
Finished request 1
Going to the next request
- --- Walking the entire request list ---
Waking up in 6 seconds...
- --- Walking the entire request list ---
Cleaning up request 1 ID 40 with timestamp 4601688f
Nothing to do.  Sleeping until we see a request.

Well! it work! or not?

because.. this is the pppoe-server log

debian:~# plog
Mar 21 18:33:54 debian pppd[4306]: sent [LCP TermAck id=0x2]
Mar 21 18:33:54 debian pppd[4306]: rcvd [LCP TermAck id=0x2]
Mar 21 18:33:54 debian pppd[4306]: Connection terminated.
Mar 21 18:33:54 debian pppd[4306]: Waiting for 1 child processes...
Mar 21 18:33:54 debian pppd[4306]:   script /usr/sbin/pppoe -n -I eth1
- -e 5:32:c8:93:a2:15:29 -T 60 -S '', pid 4307
Mar 21 18:33:55 debian pppd[4306]: Script /usr/sbin/pppoe -n -I eth1 -e
5:32:c8:93:a2:15:29 -T 60 -S '' finished (pid 4307), status = 0x1
Mar 21 18:33:55 debian pppd[4306]: Exit.
debian:~#


boh!!!!!! I realy don't now why...


> 


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

iD8DBQFGAW0PkA6hcnFZI/YRAsv4AJ9wRB4Vl/2clx6Knw8P0zbTrZI1YQCfXmgF
skR/gztg4MHbO4l/vq+xiRI=
=Gb65
-----END PGP SIGNATURE-----



More information about the Freeradius-Users mailing list