Hi Fabrice,

Sorry I don't know why I never get your questions. Would you mind to paste it 
here? I'm very sorry for the hassle.


 ---

Helen Chen
Network Team, Technology Department
T: 55733100-1920
M: (86)136.9868.1669

From: Durand fabrice [mailto:[email protected]]
Sent: Wednesday, March 22, 2017 9:35 AM
To: [email protected]
Subject: Re: [PacketFence-users] help with you do not have permission to 
register a device with this username


Hello Helen,

i ask you  some questions multiples times about your issue but you never 
answered, so first answer the questions.

Also you need mac filter.

Fabrice



Le 2017-03-21 à 04:34, Helen Chen a écrit :
Hi,

I disabled mac filter on WLC2500 and finally have my endpoint gained ip address 
from PF and redirected to the registration page. Can we do user authentication? 
I added AD in the source. However, it shown "You do not have permission to 
register a device with this username" after I input my domain credentials. 
Please see the pf.log , profile. Conf and authentication.conf below.

PF Log:
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:unknown] Instantiate profile RSP 
(pf::Portal::ProfileFactory::_from_profile)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Instantiate 
profile RSP (pf::Portal::ProfileFactory::_from_profile)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Instantiate 
profile RSP (pf::Portal::ProfileFactory::_from_profile)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Authenticating 
user using sources : RSPEmployee,AdminIT 
(captiveportal::PacketFence::DynamicRouting::Module::Authentication::Login::authenticate)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] [RSPEmployee] 
Authentication successful for helen_chen 
(pf::Authentication::Source::LDAPSource::authenticate)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Authentication 
successful for 'helen_chen' in source RSPEmployee (AD) 
(pf::authentication::authenticate)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] User 
helen_chen has authenticated on the portal. (Class::MOP::Class:::after)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Found source 
RSPEmployee in session. (Class::MOP::Class:::around)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Found source 
RSPEmployee in session. (Class::MOP::Class:::around)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Successfully 
authenticated helen_chen 
(captiveportal::PacketFence::DynamicRouting::Module::Authentication::Login::authenticate)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Found source 
RSPEmployee in session. (Class::MOP::Class:::around)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Found source 
RSPEmployee in session. (Class::MOP::Class:::around)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Found source 
RSPEmployee in session. (Class::MOP::Class:::around)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] User 
helen_chen has authenticated on the portal. (Class::MOP::Class:::after)
Mar 21 03:54:53 httpd.portal(3466) WARN: [mac:7c:01:91:25:f9:eb] Calling match 
with empty/invalid rule class. Defaulting to 'authentication' 
(pf::authentication::match)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Using sources 
RSPEmployee for matching (pf::authentication::match)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Found source 
RSPEmployee in session. (Class::MOP::Class:::around)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] User 
helen_chen has authenticated on the portal. (Class::MOP::Class:::after)
Mar 21 03:54:53 httpd.portal(3466) WARN: [mac:7c:01:91:25:f9:eb] Calling match 
with empty/invalid rule class. Defaulting to 'authentication' 
(pf::authentication::match)
Mar 21 03:54:53 httpd.portal(3466) INFO: [mac:7c:01:91:25:f9:eb] Using sources 
RSPEmployee for matching (pf::authentication::match)
Mar 21 03:54:53 httpd.portal(3466) WARN: [mac:7c:01:91:25:f9:eb] Use of 
uninitialized value in concatenation (.) or string at 
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm
 line 139.
(captiveportal::PacketFence::DynamicRouting::Module::Authentication::execute_actions)
Mar 21 03:54:53 httpd.portal(3466) WARN: [mac:7c:01:91:25:f9:eb] Use of 
uninitialized value in concatenation (.) or string at 
/usr/local/pf/html/captive-portal/lib/captiveportal/PacketFence/DynamicRouting/Module/Authentication.pm
 line 139.
(captiveportal::PacketFence::DynamicRouting::Module::Authentication::execute_actions)
Mar 21 03:54:53 httpd.portal(3466) WARN: [mac:7c:01:91:25:f9:eb] Cannot find 
unregdate () or role() for user. 
(captiveportal::PacketFence::DynamicRouting::Module::Authentication::execute_actions)
Mar 21 03:54:53 httpd.portal(3466) WARN: [mac:7c:01:91:25:f9:eb] Execute 
actions of module 
default_policy+default_registration_policy+default_login_policy did not 
succeed. (captiveportal::PacketFence::DynamicRouting::Module::done)
Mar 21 03:54:53 httpd.portal(3444) INFO: [mac:unknown] Instantiate profile RSP 
(pf::Portal::ProfileFactory::_from_profile)
Mar 21 03:54:53 httpd.portal(3444) INFO: [mac:7c:01:91:25:f9:eb] Instantiate 
profile RSP (pf::Portal::ProfileFactory::_from_profile)
Mar 21 03:54:53 httpd.portal(3444) INFO: [mac:7c:01:91:25:f9:eb] Instantiate 
profile RSP (pf::Portal::ProfileFactory::_from_profile)

Authentication role:
[Employee]
description=Employee
password=XXXX
scope=sub
binddn=CN=wirelessauth,OU=System Function Account,OU=Special 
Account,DC=xxxxx0,DC=xxxxx,DC=com
basedn=dc=xxxx0,dc=xxxx,dc=com
email_attribute=mail
usernameattribute=sAMAccountName
connection_timeout=5
stripped_user_name=no
encryption=none
dynamic_routing_module=AuthModule
port=389
type=AD
host=x.x.x.x

[Employee rule Employee]
description=RSPEmployees
class=authentication
match=all
action0=set_role=Employee
action1=set_access_duration=5D
condition0=memberOf,equals,CN=wirelessauth,OU=System Function 
Account,OU=Special Account,DC=xxxxxxxx,DC=xxxxxxxx,DC=com

[AdminIT]
description=AdminIT
password=xxxxx
scope=sub
binddn=CN=wirelessauth,OU=System Function Account,OU= Special 
Account,DC=xxxxxxxx,DC=xxxxxxxx,DC=com
basedn=OU=IT,OU=Special Account,DC=xxxxx0,DC=xxxxxx,DC=com
email_attribute=mail
usernameattribute=sAMAccountName
connection_timeout=5
stripped_user_name=no
encryption=none
dynamic_routing_module=AuthModule
port=389
type=AD
host=x.x.x.x

[AdminIT rule AdminLogin]
description=
class=administration
match=all
action0=mark_as_sponsor=1

[Visitors]
description=Visitors
dynamic_routing_module=AuthModule
[email protected]<mailto:[email protected]>
email_activation_timeout=30m
type=SponsorEmail
create_local_account=yes
allow_localdomain=yes

[Visitors rule Visitors]
description=Visitors
class=authentication
match=all
action0=set_role=guest
action1=set_access_duration=1D

Profile.conf
[RSP]
dot1x_recompute_role_from_portal=0
filter=connection_type:Wireless-802.11-NoEAP,connection_type:Wireless-802.11-EAP
description=RSP_Global
sources=Employee,AdminIT,Visitors
#
# Copyright (C) 2005-2017 Inverse inc.
#
# See the enclosed file COPYING for license information (GPL).
# If you did not receive this file, see
# http://www.fsf.org/licensing/licenses/gpl.html

Would you please help with this?

Thank you,


 ---


Helen





------------------------------------------------------------------------------

Check out the vibrant tech community on one of the world's most

engaging tech sites, Slashdot.org! http://sdm.link/slashdot




_______________________________________________

PacketFence-users mailing list

[email protected]<mailto:[email protected]>

https://lists.sourceforge.net/lists/listinfo/packetfence-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to