Networking

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Fwd: Regular expression - Trying to rewrite User-Name

    1 answers - 2528 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    thanks for all you input so far, and i am still looking, trying to use the
    hint and huntgroup file for a work around so success yet. By the way i
    should mention the code worked perfectly well with redhat 9.
    [00-0423-236767-676752-6752-52]
    the first and the last octet works, its just {2} - {5} that acting up.
    additional information my auth-log file
    Packet-Type = Access-Request
    Thu May 11 18:33:02 2006
    NAS-IP-Address = 1.5.1.32
    User-Name = "00042367672f"
    User-Password = "00042367672f"
    Calling-Station-Id = "00042367672F"
    Called-Station-Id = "000B8602DD80"
    NAS-Port = 0
    NAS-Port-Type = Wireless-802.11
    Vendor-14823-Attr-5 = 0x4e5355
    Vendor-14823-Attr-6 = 0x302e302e30
    Client-IP-Address = 1.5.1.3
    Debug output
    [root@nos-wings done]# radiusd -d /etc/ciscoraddb/ -X
    Starting - reading configuration files
    reread_config: reading radiusd.conf
    Config: including file: /etc/ciscoraddb/clients.conf
    Config: including file: /etc/ciscoraddb/snmp.conf
    Config: including file: /etc/ciscoraddb/sql.conf
    main: prefix = "/usr"
    main: localstatedir = "/var"
    main: logdir = "/var/log/ciscoradius"
    main: libdir = "/usr/lib"
    main: radacctdir = "/var/log/ciscoradius/radacct"
    main: hostname_lookups = no
    main: max_request_time = 30
    main: cleanup_delay = 5
    main: max_requests = 1024
    main: delete_blocked_requests = 0
    main: port = 1814
    main: allow_core_dumps = no
    main: log_stripped_names = no
    main: log_file = "/var/log/ciscoradius/radius.log"
    main: log_auth = yes
    main: log_auth_badpass = yes
    main: log_auth_goodpass = no
    main: pidfile = "/"
    main: bind_address = 137.52.128.40 IP address [137.52.128.40]
    main: user = "nobody"
    main: group = "nobody"
    main: usercollide = no
    main: lower_user = "no"
    main: lower_pass = "no"
    main: nospace_user = "no"
    main: nospace_pass = "no"
    main: checkrad = "/usr/sbin/checkrad"
    main: proxy_requests = no
    security: max_attributes = 200
    security: reject_delay = 0
    security: status_server = no
    main: debug_level = 0
    read_config_files: reading dictionary
    read_config_files: reading naslist
    Using deprecated naslist file. Support for this will go away soon.
    read_config_files: reading clients
    read_config_files: reading realms
    There appears to be another RADIUS server running on the authentication port
    1814
    -
    List info/subscribe/unsubscribe? See
  • No.1 | | 2200 bytes | |

    It is difficult to see what your machine is doing since you are giving
    us bits and pieces of the problem and out of order.

    Damian Porter wrote:
    thanks for all you input so far, and i am still looking, trying to use
    the hint and huntgroup file for a work around so success yet. By the way
    i should mention the code worked perfectly well with redhat 9.

    [00-0423-236767-676752-6752-52]

    What is that number? Is that the resulting username after your regex?

    the first and the last octet works, its just {2} - {5} that acting up.

    additional information my auth-log file

    Packet-Type = Access-Request
    Thu May 11 18:33:02 2006
    NAS-IP-Address = 1.5.1.32 <http://1.5.1.32>
    User-Name = "00042367672f"
    User-Password = "00042367672f"
    Calling-Station-Id = "00042367672F"
    Called-Station-Id = "000B8602DD80"
    NAS-Port = 0
    NAS-Port-Type = Wireless-802.11
    Vendor-14823-Attr-5 = 0x4e5355
    Vendor-14823-Attr-6 = 0x302e302e30
    Client-IP-Address = 1.5.1.3 <http://1.5.1.3>

    Is that a different username than the munged one above? Can you make
    sure to provide details from the same username, so it is easier to
    follow and see what exactly is wrong?

    Debug output

    There appears to be another RADIUS server running on the authentication
    port 1814

    of two things is happening. Either there is a radius server already
    running and it has been running all the time and any changes you are
    making are not being seen. you forgot to stop the radius daemon
    before trying to run it in debug mode.

    Try this:

    killall -9 radiusd

    radiusd -X

    Now, leave that running and send it an access request. Send us
    everything from where you typed radiusd -X to the *end* of the request
    (presumably a reject statement).

    radiusd -X should not release back to a prompt, it should sit there
    waiting for a request. If you get a prompt back, then there is either
    still something running on that port or something else caused it to
    error out.

    *After* you send a request and it gets rejected, Control-C will get your
    prompt back and terminate the radiusd -X.

Re: Fwd: Regular expression - Trying to rewrite User-Name


max 4000 letters.
Your nickname that display:
In order to stop the spam: 2 + 1 =
QUESTION ON "Networking"

EMSDN.COM