Hello Fabrice,
No luck tried both with value "equals" as well as "matches regexp". The
same error comes "Email *****.****@****.**.** not allowed to sponsor
guest access". Strangely when this happens i can see no logs
corresponding to the failure.
Sumit
[SINP_LDAP rule SINP_LDAP_USERS]
description=
match=all
action0=mark_as_sponsor=1
condition0=uid,equals,sumit.basu
#condition0=uid,matches regexp,sumit.basu
On 1/16/2015 9:35 PM, Fabrice DURAND wrote:
Hi,
change in the rule SINP_LDAP_USERS mail to username and change the value
to match.
And make a try.
Regards
Fabrice
Le 2015-01-16 01:05, Sumit Basu a écrit :
Hi,
I have been trying to configure sponsored guest access on Packetfence
4.5.1 without success. I have added an internal user source using my
LDAP server and added a condition whereby if mail equals my address of
our local-domain then the action would be to mark as sponsor. When
trying to "Register through a sponsor" i get the "Email
*****.****@****.**.** not allowed to sponsor guest access". Strangely
when this happens i can see no logs corresponding to the failure which
is unlike the "Register by Email/SMS" options.
I am not able to figure out the issue. The configuration is as below:
[SINP_LDAP]
description=LDAP Server
scope=sub
basedn=ou=People,dc=sinp
usernameattribute=uid
connection_timeout=5
encryption=none
port=389
type=LDAP
host=172.16.0.3
[SINP_LDAP rule SINP_LDAP_USERS]
description=
match=all
action0=mark_as_sponsor=1
condition0=mail,equals,****.****@****.**.**
Regards
Sumit Basu
CS, SINP
Kolkata India
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users
------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users