Well I rewrote it - changed nothing
Also I read in the doc that Strip-User-Name = Yes is the default

Mark Fawcus wrote:

> I don't know if it is relevant, but your second hint has 'strip-user-name',
> rather than 'Strip-User-Name'
> ======
> -Mark-
> ======
>
> >From: Joe Maimon <[EMAIL PROTECTED]>
> >Reply-To: [EMAIL PROTECTED]
> >To: [EMAIL PROTECTED]
> >Subject: Strip-User-Name leaves delimiter behind
> >Date: Sun, 09 Dec 2001 15:00:58 -0500
> >
> >Hi all,
> >
> >My apologies, new to lists and very new to radius.
> >Freeradius - 0.3
> >
> >Here is my hints:
> >
> >DEFAULT Prefix = "chl.com" , Strip-User-Name = Yes
> >         Hint = CHL
> >
> >DEFAULT Prefix = "chl", strip-user-name = yes
> >         Hint = CHL
> >
> >DEFAULT Suffix = "chl.com", Strip-User-Name = yes
> >         Hint = CHL
> >
> >DEFAULT Suffix = chl, Strip-User-Name = no
> >         Hint = CHL
> >
> >This is my users:
> >
> >DEFAULT Hint == "CHL"
> >         Service-Type = Framed-User,
> >         Framed-Protocol = PPP,
> >         Framed-IP-Address = 255.255.255.254,
> >         Framed-IP-Netmask = 255.255.255.255,
> >         Idle-Timeout = 600,
> >         Session-Timeout = 28800,
> >         Port-Limit = 1,
> >         Fall-Through = Yes
> >
> >
> >joe@    Auth-Type := "Local" , Password := "test"
> >
> >/usr/local/sbin/radiusd -xx -s -y
> >
> >   radtest [EMAIL PROTECTED] test localhost 1 testing123
> >   radtest joe@chl test localhost 1 testing123
> >   radtest chl/joe test localhost 1 testing123
> >
> >Server output attached:
> >
> >Starting - reading configuration files ...
> >reread_config:  reading radiusd.conf
> >Config:   including file: /usr/local/etc/raddb/proxy.conf
> >Config:   including file: /usr/local/etc/raddb/clients.conf
> >Config:   including file: /usr/local/etc/raddb/snmp.conf
> >Config:   including file: /usr/local/etc/raddb/sql.conf
> >  main: prefix = "/usr/local"
> >  main: localstatedir = "/usr/local/var"
> >  main: logdir = "/usr/local/var/log/radius"
> >  main: libdir = "/usr/local/lib"
> >  main: radacctdir = "/usr/local/var/log/radius/radacct"
> >  main: hostname_lookups = no
> >read_config_files:  reading dictionary
> >read_config_files:  reading clients
> >read_config_files:  reading realms
> >read_config_files:  reading naslist
> >  main: max_request_time = 30
> >  main: cleanup_delay = 5
> >  main: max_requests = 1024
> >  main: delete_blocked_requests = 0
> >  main: port = 0
> >  main: allow_core_dumps = no
> >  main: log_stripped_names = no
> >  main: log_auth = yes
> >  main: log_auth_badpass = no
> >  main: log_auth_goodpass = no
> >  main: pidfile = "/usr/local/var/run/radiusd.pid"
> >  main: user = "root"
> >  main: group = "root"
> >  main: usercollide = no
> >  main: lower_user = "no"
> >  main: lower_pass = "no"
> >  main: nospace_user = "no"
> >  main: nospace_pass = "no"
> >  main: proxy_requests = yes
> >  proxy: retry_delay = 5
> >  proxy: retry_count = 3
> >  proxy: synchronous = no
> >  proxy: dead_time = 120
> >  main: debug_level = 0
> >read_config_files:  entering modules setup
> >Module: Library search path is /usr/local/lib
> >Module: Loaded System
> >  unix: cache = no
> >  unix: passwd = "/etc/passwd"
> >  unix: shadow = "(null)"
> >  unix: group = "/etc/group"
> >  unix: radwtmp = "/usr/local/var/log/radius/radwtmp"
> >  unix: usegroup = no
> >Module: Instantiated unix (unix)
> >Module: Loaded preprocess
> >  preprocess: huntgroups = "/usr/local/etc/raddb/huntgroups"
> >  preprocess: hints = "/usr/local/etc/raddb/hints"
> >  preprocess: with_ascend_hack = no
> >  preprocess: ascend_channels_per_line = 23
> >  preprocess: with_ntdomain_hack = no
> >  preprocess: with_specialix_jetstream_hack = no
> >  preprocess: with_cisco_vsa_hack = no
> >Module: Instantiated preprocess (preprocess)
> >Module: Loaded realm
> >  realm: format = "suffix"
> >  realm: delimiter = "@"
> >Module: Instantiated realm (suffix)
> >Module: Loaded files
> >  files: usersfile = "/usr/local/etc/raddb/users"
> >  files: acctusersfile = "/usr/local/etc/raddb/acct_users"
> >  files: compat = "no"
> >Module: Instantiated files (files)
> >Module: Loaded detail
> >  detail: detailfile =
> >"/usr/local/var/log/radius/radacct/%{Client-IP-Address}/detail"
> >  detail: detailperm = 384
> >  detail: dirperm = 493
> >Module: Instantiated detail (detail)
> >Module: Loaded radutmp
> >  radutmp: filename = "/usr/local/var/log/radius/radutmp"
> >  radutmp: perm = 384
> >  radutmp: callerid = yes
> >Module: Instantiated radutmp (radutmp)
> >Listening on IP address *, ports 1812/udp and 1813/udp, with proxy on
> >1814/udp.
> >Ready to process requests.
> >rad_recv: Access-Request packet from host 127.0.0.1:1380, id=42,
> >length=60
> >  User-Name = "[EMAIL PROTECTED]"
> >  Password = "\237\254\002\363\332\277\343[\356\206"s\260\253)\352"
> >  NAS-IP-Address = 255.255.255.255
> >  NAS-Port-Id = "1"
> >modcall: entering group authorize
> >   hints: Matched DEFAULT at 69
> >   modcall[authorize]: module "preprocess" returns ok
> >   modcall[authorize]: module "suffix" returns ok
> >     users: Matched DEFAULT at 1
> >     users: Matched joe@ at 12
> >   modcall[authorize]: module "files" returns ok
> >modcall: group authorize returns ok
> >   rad_check_password:  Found Auth-Type Local
> >auth: type Local
> >auth: user supplied Password matches local Password
> >Login OK: [joe@] (from nas local port 0)
> >Sending Access-Accept of id 42 to 127.0.0.1:1380
> >  Service-Type = Framed-User
> >  Framed-Protocol = PPP
> >  Framed-IP-Address = 255.255.255.254
> >  Framed-IP-Netmask = 255.255.255.255
> >  Idle-Timeout = 600
> >  Session-Timeout = 28800
> >  Port-Limit = 1
> >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 42 with timestamp 3c13cfc7
> >Nothing to do.  Sleeping until we see a request.
> >rad_recv: Access-Request packet from host 127.0.0.1:1380, id=46,
> >length=56
> >  User-Name = "joe@chl"
> >  Password = "\373\225\210Zar\204\234\356\267\303\257\314\201\2238"
> >  NAS-IP-Address = 255.255.255.255
> >  NAS-Port-Id = "1"
> >modcall: entering group authorize
> >   hints: Matched DEFAULT at 72
> >   modcall[authorize]: module "preprocess" returns ok
> >   modcall[authorize]: module "suffix" returns ok
> >     users: Matched DEFAULT at 1
> >   modcall[authorize]: module "files" returns ok
> >modcall: group authorize returns ok
> >auth: No Auth-Type configuration for the request, rejecting the user
> >auth: Failed to validate the user.
> >Login incorrect: [joe@chl] (from nas local port 0)
> >Sending Access-Reject of id 46 to 127.0.0.1:1380
> >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 46 with timestamp 3c13cfcf
> >Nothing to do.  Sleeping until we see a request.
> >rad_recv: Access-Request packet from host 127.0.0.1:1380, id=50,
> >length=56
> >  User-Name = "chl/joe"
> >  Password = "\010\374\331\322\027\262\360\341\021w\322\201\2208\371\333"
> >
> >  NAS-IP-Address = 255.255.255.255
> >  NAS-Port-Id = "1"
> >modcall: entering group authorize
> >   hints: Matched DEFAULT at 66
> >   modcall[authorize]: module "preprocess" returns ok
> >   modcall[authorize]: module "suffix" returns ok
> >     users: Matched DEFAULT at 1
> >   modcall[authorize]: module "files" returns ok
> >modcall: group authorize returns ok
> >auth: No Auth-Type configuration for the request, rejecting the user
> >auth: Failed to validate the user.
> >Login incorrect: [/joe] (from nas local port 0)
> >Sending Access-Reject of id 50 to 127.0.0.1:1380
> >Finished request 2
> >Going to the next request
> >--- Walking the entire request list ---
> >Waking up in 6 seconds...
> >MASTER: exit on signal (2)
> >
> >
> >
> >-
> >List info/subscribe/unsubscribe? See
> >http://www.freeradius.org/list/users.html
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to