user-name with MAC@ format is not accepted

classic Classic list List threaded Threaded
4 messages Options
| Threaded
Open this post in threaded view
|

user-name with MAC@ format is not accepted

Hassan, Hazem (Nokia - EG/Cairo)

Hi ,

For the matter of getting FreeRadius ready to test , I tried to use some test users (hazem1 , Graham and MAC@) .. hazem1 and Graham went normal but when I edited the user files (adding new user with the given MAC= 64:20:9F:19:5F:53 and adding some AVPs) , it returns the below errors when run "radiusd -X"

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.............................................
tls: Using cached TLS configuration from previous invocation
   # Linked to sub-module rlm_eap_peap
   peap {
        tls = "tls-common"
        default_eap_type = "mschapv2"
        copy_request_to_tunnel = no
        use_tunneled_reply = no
        proxy_tunneled_request_as_eap = yes
        virtual_server = "inner-tunnel"
        soh = no
        require_client_cert = no
   }
tls: Using cached TLS configuration from previous invocation
   # Linked to sub-module rlm_eap_mschapv2
   mschapv2 {
        with_ntdomain_hack = no
        send_error = no
   }
  # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration
  # Instantiating module "files" from file /etc/raddb/mods-enabled/files
reading pairlist file /etc/raddb/mods-config/files/authorize
/etc/raddb/mods-config/files/authorize[97]: Entry does not begin with a user name
Failed reading /etc/raddb/mods-config/files/authorize
/etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"

Any idea?

Thanks,
Hazem

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

usrs.txt (11K) Download Attachment
| Threaded
Open this post in threaded view
|

RE: Suspected SPAM - user-name with MAC@ format is not accepted

Hassan, Hazem (Nokia - EG/Cairo)
Trying to fix the issue , now the error changed as follows:



  # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration

  # Instantiating module "files" from file /etc/raddb/mods-enabled/files

reading pairlist file /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-config/files/authorize[96]: Parse error (check) for entry Alc-Subsc-Prof-Str: Invalid attribute name

Failed reading /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"







Although the dictionary has the correct naming (see attached below)



[cid:image001.jpg@01D70283.68ADA220]







-----Original Message-----
From: Freeradius-Users <freeradius-users-bounces+hazem.hassan=[hidden email]> On Behalf Of Hassan, Hazem (Nokia - EG/Cairo)
Sent: Sunday, February 14, 2021 2:08 AM
To: FreeRadius users mailing list <[hidden email]>
Subject: Suspected SPAM - user-name with MAC@ format is not accepted





Hi ,



For the matter of getting FreeRadius ready to test , I tried to use some test users (hazem1 , Graham and MAC@) .. hazem1 and Graham went normal but when I edited the user files (adding new user with the given MAC= 64:20:9F:19:5F:53 and adding some AVPs) , it returns the below errors when run "radiusd -X"



>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.............................................

tls: Using cached TLS configuration from previous invocation

   # Linked to sub-module rlm_eap_peap

   peap {

        tls = "tls-common"

        default_eap_type = "mschapv2"

        copy_request_to_tunnel = no

        use_tunneled_reply = no

        proxy_tunneled_request_as_eap = yes

        virtual_server = "inner-tunnel"

        soh = no

        require_client_cert = no

   }

tls: Using cached TLS configuration from previous invocation

   # Linked to sub-module rlm_eap_mschapv2

   mschapv2 {

        with_ntdomain_hack = no

        send_error = no

   }

  # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration

  # Instantiating module "files" from file /etc/raddb/mods-enabled/files reading pairlist file /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-config/files/authorize[97]: Entry does not begin with a user name Failed reading /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"



Any idea?



Thanks,

Hazem
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

RE: Suspected SPAM - RE: Suspected SPAM - user-name with MAC@ format is not accepted

Hassan, Hazem (Nokia - EG/Cairo)
Any idea Alan?


-----Original Message-----
From: Freeradius-Users <freeradius-users-bounces+hazem.hassan=[hidden email]> On Behalf Of Hassan, Hazem (Nokia - EG/Cairo)
Sent: Sunday, February 14, 2021 3:43 AM
To: FreeRadius users mailing list <[hidden email]>
Subject: Suspected SPAM - RE: Suspected SPAM - user-name with MAC@ format is not accepted

Trying to fix the issue , now the error changed as follows:



  # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration

  # Instantiating module "files" from file /etc/raddb/mods-enabled/files

reading pairlist file /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-config/files/authorize[96]: Parse error (check) for entry Alc-Subsc-Prof-Str: Invalid attribute name

Failed reading /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"







Although the dictionary has the correct naming (see attached below)



[cid:image001.jpg@01D70283.68ADA220]







-----Original Message-----
From: Freeradius-Users <freeradius-users-bounces+hazem.hassan=[hidden email]> On Behalf Of Hassan, Hazem (Nokia - EG/Cairo)
Sent: Sunday, February 14, 2021 2:08 AM
To: FreeRadius users mailing list <[hidden email]>
Subject: Suspected SPAM - user-name with MAC@ format is not accepted





Hi ,



For the matter of getting FreeRadius ready to test , I tried to use some test users (hazem1 , Graham and MAC@) .. hazem1 and Graham went normal but when I edited the user files (adding new user with the given MAC= 64:20:9F:19:5F:53 and adding some AVPs) , it returns the below errors when run "radiusd -X"



>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.............................................

tls: Using cached TLS configuration from previous invocation

   # Linked to sub-module rlm_eap_peap

   peap {

        tls = "tls-common"

        default_eap_type = "mschapv2"

        copy_request_to_tunnel = no

        use_tunneled_reply = no

        proxy_tunneled_request_as_eap = yes

        virtual_server = "inner-tunnel"

        soh = no

        require_client_cert = no

   }

tls: Using cached TLS configuration from previous invocation

   # Linked to sub-module rlm_eap_mschapv2

   mschapv2 {

        with_ntdomain_hack = no

        send_error = no

   }

  # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration

  # Instantiating module "files" from file /etc/raddb/mods-enabled/files reading pairlist file /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-config/files/authorize[97]: Entry does not begin with a user name Failed reading /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"



Any idea?



Thanks,

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

-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
| Threaded
Open this post in threaded view
|

RE: Suspected SPAM - RE: Suspected SPAM - user-name with MAC@ format is not accepted

Hassan, Hazem (Nokia - EG/Cairo)
Ignore , I got it fixed.


-----Original Message-----
From: Hassan, Hazem (Nokia - EG/Cairo)
Sent: Sunday, February 14, 2021 3:33 PM
To: FreeRadius users mailing list <[hidden email]>
Subject: RE: Suspected SPAM - RE: Suspected SPAM - user-name with MAC@ format is not accepted

Any idea Alan?


-----Original Message-----
From: Freeradius-Users <freeradius-users-bounces+hazem.hassan=[hidden email]> On Behalf Of Hassan, Hazem (Nokia - EG/Cairo)
Sent: Sunday, February 14, 2021 3:43 AM
To: FreeRadius users mailing list <[hidden email]>
Subject: Suspected SPAM - RE: Suspected SPAM - user-name with MAC@ format is not accepted

Trying to fix the issue , now the error changed as follows:



  # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration

  # Instantiating module "files" from file /etc/raddb/mods-enabled/files

reading pairlist file /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-config/files/authorize[96]: Parse error (check) for entry Alc-Subsc-Prof-Str: Invalid attribute name

Failed reading /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"







Although the dictionary has the correct naming (see attached below)



[cid:image001.jpg@01D70283.68ADA220]







-----Original Message-----
From: Freeradius-Users <freeradius-users-bounces+hazem.hassan=[hidden email]> On Behalf Of Hassan, Hazem (Nokia - EG/Cairo)
Sent: Sunday, February 14, 2021 2:08 AM
To: FreeRadius users mailing list <[hidden email]>
Subject: Suspected SPAM - user-name with MAC@ format is not accepted





Hi ,



For the matter of getting FreeRadius ready to test , I tried to use some test users (hazem1 , Graham and MAC@) .. hazem1 and Graham went normal but when I edited the user files (adding new user with the given MAC= 64:20:9F:19:5F:53 and adding some AVPs) , it returns the below errors when run "radiusd -X"



>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>.............................................

tls: Using cached TLS configuration from previous invocation

   # Linked to sub-module rlm_eap_peap

   peap {

        tls = "tls-common"

        default_eap_type = "mschapv2"

        copy_request_to_tunnel = no

        use_tunneled_reply = no

        proxy_tunneled_request_as_eap = yes

        virtual_server = "inner-tunnel"

        soh = no

        require_client_cert = no

   }

tls: Using cached TLS configuration from previous invocation

   # Linked to sub-module rlm_eap_mschapv2

   mschapv2 {

        with_ntdomain_hack = no

        send_error = no

   }

  # Instantiating module "expiration" from file /etc/raddb/mods-enabled/expiration

  # Instantiating module "files" from file /etc/raddb/mods-enabled/files reading pairlist file /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-config/files/authorize[97]: Entry does not begin with a user name Failed reading /etc/raddb/mods-config/files/authorize

/etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"



Any idea?



Thanks,

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

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